17#include "FairDetector.h"
19#include "TClonesArray.h"
21#include "TLorentzVector.h"
22#include "TVirtualMC.h"
35 BmnSiMD(
const char* name, Bool_t active);
77 virtual void Print(Option_t*)
const;
93 virtual void CopyClones(TClonesArray* cl1, TClonesArray* cl2, Int_t offset);
101 TVector3 posIn, TVector3 posOut,
102 TVector3 momIn, TVector3 momOut,
103 Double_t tof, Double_t length, Double_t eLoss,
104 Bool_t isPrimary, Double_t charge, Int_t pdgId,
105 Double_t timeIn, Double_t timeOut, Double_t lengthtrack);
124 TClonesArray* fSiMDCollection;
127 Double32_t fLengthtrack;
130 void ResetParameters();
139inline void BmnSiMD::ResetParameters()
141 fTrackID = fVolumeID = 0;
142 fPosIn.SetXYZ(0.0, 0.0, 0.0);
143 fPosOut.SetXYZ(0.0, 0.0, 0.0);
144 fMomIn.SetXYZ(0.0, 0.0, 0.0);
145 fMomOut.SetXYZ(0.0, 0.0, 0.0);
146 fTime = fLength = fELoss = 0;
147 fTimeIn = fTimeOut = 0;
virtual void CopyClones(TClonesArray *cl1, TClonesArray *cl2, Int_t offset)
BmnSiMDPoint * AddHit(Int_t trackID, Int_t detID, Int_t copyNo, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t tof, Double_t length, Double_t eLoss, Bool_t isPrimary, Double_t charge, Int_t pdgId, Double_t timeIn, Double_t timeOut, Double_t lengthtrack)
virtual void Print(Option_t *) const
virtual Bool_t CheckIfSensitive(std::string name)
virtual void ConstructAsciiGeometry()
virtual TClonesArray * GetCollection(Int_t iColl) const
virtual void Initialize()
virtual void EndOfEvent()
virtual void ConstructGeometry()
virtual void BeginEvent()
virtual Bool_t ProcessHits(FairVolume *vol=0)