CbmRoot
Simple/LxMC.h
Go to the documentation of this file.
1 #ifndef LXMC_INCLUDED
2 #define LXMC_INCLUDED
3 
4 #pragma GCC diagnostic ignored "-Weffc++"
5 
6 #include "CbmStsTrack.h"
7 #include "LxSettings.h"
8 #include "Rtypes.h"
9 #include <list>
10 #include <vector>
11 
12 struct LxPoint;
13 struct LxStsMCPoint;
14 struct LxMCTrack;
15 
16 struct LxMCPoint {
17  scaltype p, q, x, y, z, px, py, pz;
19  std::list<LxPoint*> lxPoints;
20  Int_t
21  trackId; // Original track id -- an index (offset) in the array of MC tracks.
23 
24  //LxMCPoint() : p(0), q(0), x(0), y(0), z(0), px(0), py(0), pz(0), stationNumber(0), layerNumber(0), trackId(0), track(0) {}
25 };
26 
27 struct LxMCTrack {
28  scaltype p, q, x, y, z, px, py, pz;
29  Int_t mother_ID;
30  Int_t pdg;
31  std::vector<LxMCPoint*> Points;
32 #ifdef MAKE_STS_MC_RESEARCHES
33  std::list<LxStsMCPoint*> stsPoints[8];
34 #endif //MAKE_STS_MC_RESEARCHES
35  UInt_t fUniqueID;
40 
41  //LxMCTrack() : p(0), q(0), x(0), y(0), z(0), px(0), py(0), pz(0), mother_ID(0), pdg(0), fUniqueID(0), externalTrack(0),
42  //stationsWithHits(0), layersWithHits(0) {}
43 };
44 
45 #endif //LXMC_INCLUDED
LxMCPoint
Definition: Simple/LxMC.h:16
LxMCTrack::stationsWithHits
Int_t stationsWithHits
Definition: Simple/LxMC.h:37
LxStsMCPoint
Definition: Simple/Lx.h:67
LxSettings.h
LxMCTrack::fUniqueID
UInt_t fUniqueID
Definition: Simple/LxMC.h:35
LxMCTrack::q
scaltype q
Definition: Simple/LxMC.h:28
LxMCPoint::p
scaltype p
Definition: Simple/LxMC.h:17
scaltype
#define scaltype
Definition: CbmGlobalTrackingDefs.h:17
LxMCTrack::pdg
Int_t pdg
Definition: Simple/LxMC.h:30
LxMCTrack::layersWithHits
Int_t layersWithHits
Definition: Simple/LxMC.h:38
LxMCPoint::x
scaltype x
Definition: Simple/LxMC.h:17
LxMCTrack::p
scaltype p
Definition: Simple/LxMC.h:28
LxMCPoint::z
scaltype z
Definition: Simple/LxMC.h:17
LxMCPoint::py
scaltype py
Definition: Simple/LxMC.h:17
LxMCTrack::Points
std::vector< LxMCPoint * > Points
Definition: Simple/LxMC.h:31
LxMCPoint::layerNumber
Int_t layerNumber
Definition: Simple/LxMC.h:18
LXLAYERS
#define LXLAYERS
Definition: Simple/LxSettings.h:8
LxMCPoint::px
scaltype px
Definition: Simple/LxMC.h:17
LxMCTrack::y
scaltype y
Definition: Simple/LxMC.h:28
LxMCPoint::trackId
Int_t trackId
Definition: Simple/LxMC.h:21
LxPoint
Definition: LxCA.h:52
LxMCPoint::lxPoints
std::list< LxPoint * > lxPoints
Definition: Simple/LxMC.h:19
LxMCTrack::externalTrack
CbmStsTrack * externalTrack
Definition: Simple/LxMC.h:36
CbmStsTrack.h
Data class for STS tracks.
LxMCPoint::stationNumber
Int_t stationNumber
Definition: Simple/LxMC.h:18
LxMCPoint::track
LxMCTrack * track
Definition: Simple/LxMC.h:22
LxMCTrack::px
scaltype px
Definition: Simple/LxMC.h:28
LxMCTrack::z
scaltype z
Definition: Simple/LxMC.h:28
LxMCTrack::x
scaltype x
Definition: Simple/LxMC.h:28
LxMCTrack::hitsOnStations
bool hitsOnStations[LXSTATIONS][LXLAYERS]
Definition: Simple/LxMC.h:39
LxMCTrack::pz
scaltype pz
Definition: Simple/LxMC.h:28
LxMCPoint::pz
scaltype pz
Definition: Simple/LxMC.h:17
LxMCPoint::q
scaltype q
Definition: Simple/LxMC.h:17
LxMCTrack
Definition: Simple/LxMC.h:27
CbmStsTrack
Definition: CbmStsTrack.h:37
LxMCTrack::stsPoints
std::list< LxStsMCPoint * > stsPoints[8]
Definition: Simple/LxMC.h:33
LXSTATIONS
#define LXSTATIONS
Definition: Simple/LxSettings.h:9
LxMCPoint::y
scaltype y
Definition: Simple/LxMC.h:17
LxMCTrack::mother_ID
Int_t mother_ID
Definition: Simple/LxMC.h:29
LxMCTrack::py
scaltype py
Definition: Simple/LxMC.h:28