MarlinTrk
02.08
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
MarlinTrk
MarlinTrkDiagnostics.h
Go to the documentation of this file.
1
#ifndef MarlinTrkDiagnostics_h
2
#define MarlinTrkDiagnostics_h
3
5
//#define MARLINTRK_DIAGNOSTICS_ON
6
7
#ifdef MARLINTRK_DIAGNOSTICS_ON
8
9
#include "lcio.h"
10
#include "
EVENT/SimTrackerHit.h
"
11
#include "
EVENT/TrackerHit.h
"
12
13
14
namespace
MarlinTrk{
15
16
17
// LCIO Extension creating a pointer to the simhit for trackerhits
18
struct
MCTruth4HitExtStruct{
19
MCTruth4HitExtStruct() : simhit(0) {}
20
EVENT::SimTrackerHit
* simhit;
21
} ;
22
struct
MCTruth4HitExt : lcio::LCOwnedExtension<MCTruth4HitExt, MCTruth4HitExtStruct> {} ;
23
24
// fills a vector of MCParticle pointers with the MCParticles assosiated with the provided tracker hit using MCTruth4HitExtStruct
25
void
getMCParticlesForTrackerHit(
EVENT::TrackerHit
* trkhit,
std::vector<EVENT::MCParticle*>
& mcps) ;
26
27
}
28
29
#endif
30
31
#endif
EVENT::TrackerHit
EVENT::SimTrackerHit
SimTrackerHit.h
TrackerHit.h
std::vector
STL class.
Generated on Sun Sep 26 2021 03:45:50 for MarlinTrk by
1.8.5