CMS 3D CMS Logo

RootSimHit.h
Go to the documentation of this file.
1 #ifndef SimMuon_Neutron_RootSimHit_h
2 #define SimMuon_Neutron_RootSimHit_h
3 
5 #include <TObject.h>
6 
7 class RootSimHit : public TObject {
8 public:
9  RootSimHit() {}
10  RootSimHit(const PSimHit& hit);
11  PSimHit get() const;
12 
13 private:
14  // properties
15  // Local3DPoint theEntryPoint; // position at entry
16  // Local3DPoint theExitPoint; // exitPos
17  float theEntryX;
18  float theEntryY;
19  float theEntryZ;
20  float theExitX;
21  float theExitY;
22  float theExitZ;
23  float thePabs; // momentum
24  float theEnergyLoss; // Energy loss
27 
28  float theTof; // Time Of Flight
30  unsigned short theProcessType; // ID of the process which created the track
31  // which created the PSimHit
32 
33  // association
34  unsigned int theDetUnitId;
35  unsigned int theTrackId;
36  ClassDef(RootSimHit, 1)
37 };
38 
39 #endif
RootSimHit::theExitX
float theExitX
Definition: RootSimHit.h:20
RootSimHit::theParticleType
short theParticleType
Definition: RootSimHit.h:29
RootSimHit::theDetUnitId
unsigned int theDetUnitId
Definition: RootSimHit.h:34
RootSimHit::thePabs
float thePabs
Definition: RootSimHit.h:23
PSimHit.h
RootSimHit::RootSimHit
RootSimHit()
Definition: RootSimHit.h:9
RootSimHit::theEntryY
float theEntryY
Definition: RootSimHit.h:18
RootSimHit::theExitZ
float theExitZ
Definition: RootSimHit.h:22
RootSimHit::theTrackId
unsigned int theTrackId
Definition: RootSimHit.h:35
RootSimHit::theThetaAtEntry
float theThetaAtEntry
Definition: RootSimHit.h:25
RootSimHit
Definition: RootSimHit.h:7
RootSimHit::theEnergyLoss
float theEnergyLoss
Definition: RootSimHit.h:24
RootSimHit::get
PSimHit get() const
Definition: RootSimHit.cc:21
RootSimHit::theEntryX
float theEntryX
Definition: RootSimHit.h:17
RootSimHit::theTof
float theTof
Definition: RootSimHit.h:28
RootSimHit::theEntryZ
float theEntryZ
Definition: RootSimHit.h:19
RootSimHit::thePhiAtEntry
float thePhiAtEntry
Definition: RootSimHit.h:26
PSimHit
Definition: PSimHit.h:15
RootSimHit::theExitY
float theExitY
Definition: RootSimHit.h:21
hit
Definition: SiStripHitEffFromCalibTree.cc:88
RootSimHit::theProcessType
unsigned short theProcessType
Definition: RootSimHit.h:30