CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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()
Definition: RootSimHit.h:9
float theEntryZ
Definition: RootSimHit.h:19
float theEntryY
Definition: RootSimHit.h:18
float thePhiAtEntry
Definition: RootSimHit.h:26
float theEnergyLoss
Definition: RootSimHit.h:24
float theExitX
Definition: RootSimHit.h:20
float theTof
Definition: RootSimHit.h:28
float theThetaAtEntry
Definition: RootSimHit.h:25
float theEntryX
Definition: RootSimHit.h:17
short theParticleType
Definition: RootSimHit.h:29
unsigned int theDetUnitId
Definition: RootSimHit.h:34
float theExitZ
Definition: RootSimHit.h:22
float theExitY
Definition: RootSimHit.h:21
unsigned short theProcessType
Definition: RootSimHit.h:30
unsigned int theTrackId
Definition: RootSimHit.h:35
float thePabs
Definition: RootSimHit.h:23