Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:30:49

0001 #ifndef SimMuon_Neutron_RootSimHit_h
0002 #define SimMuon_Neutron_RootSimHit_h
0003 
0004 #include "SimDataFormats/TrackingHit/interface/PSimHit.h"
0005 #include <TObject.h>
0006 
0007 class RootSimHit : public TObject {
0008 public:
0009   RootSimHit() {}
0010   RootSimHit(const PSimHit& hit);
0011   PSimHit get() const;
0012 
0013 private:
0014   // properties
0015   //  Local3DPoint    theEntryPoint;    // position at entry
0016   //  Local3DPoint   theExitPoint;     // exitPos
0017   float theEntryX;
0018   float theEntryY;
0019   float theEntryZ;
0020   float theExitX;
0021   float theExitY;
0022   float theExitZ;
0023   float thePabs;        // momentum
0024   float theEnergyLoss;  // Energy loss
0025   float theThetaAtEntry;
0026   float thePhiAtEntry;
0027 
0028   float theTof;  // Time Of Flight
0029   short theParticleType;
0030   unsigned short theProcessType;  // ID of the process which created the track
0031                                   // which created the PSimHit
0032 
0033   // association
0034   unsigned int theDetUnitId;
0035   unsigned int theTrackId;
0036   ClassDef(RootSimHit, 1)
0037 };
0038 
0039 #endif