11 #include "TLorentzVector.h" 12 #include "FairDetector.h" 31 PndFtof(
const char *name, Bool_t active);
71 virtual void Print()
const;
86 virtual void CopyClones(TClonesArray *cl1, TClonesArray *cl2, Int_t offset);
95 PndFtofPoint *
AddHit(Int_t trackID, Int_t evtID, Int_t detID, TString detName, TVector3 posin, TVector3 momin, TVector3 posout, TVector3 momout, Double_t tof, Double_t length,
96 Double_t eLoss, Double_t charge, Double_t mass, Int_t pdgCode, Double_t dist, Double_t PLin, Double_t PLout);
99 std::vector<std::string> fListOfSensitives;
100 bool CheckIfSensitive(std::string name);
106 TLorentzVector fPosIn;
107 TLorentzVector fMomIn;
108 TLorentzVector fPosOut;
109 TLorentzVector fMomOut;
111 Double_t fPLout, fPLin;
118 Int_t SiId, CId, alId, beId, CpipeId;
121 Double_t fmass, fdist;
123 TClonesArray *fFtofCollection;
126 void ResetParameters();
131 inline void PndFtof::ResetParameters()
133 fTrackID = fVolumeID = 0;
135 fPosIn.SetXYZM(0.0, 0.0, 0.0, 0.0);
136 fPosOut.SetXYZM(0.0, 0.0, 0.0, 0.0);
137 fMomIn.SetPxPyPzE(0.0, 0.0, 0.0, 0.0);
138 fMomOut.SetPxPyPzE(0.0, 0.0, 0.0, 0.0);
140 fTime = fLength = fELoss = 0;
void ConstructASCIIGeometry()
virtual void CopyClones(TClonesArray *cl1, TClonesArray *cl2, Int_t offset)
virtual void BeginEvent()
virtual void ConstructGeometry()
virtual void Initialize()
virtual Bool_t ProcessHits(FairVolume *vol=0)
virtual void Print() const
virtual void EndOfEvent()
PndFtofPoint * AddHit(Int_t trackID, Int_t evtID, Int_t detID, TString detName, TVector3 posin, TVector3 momin, TVector3 posout, TVector3 momout, Double_t tof, Double_t length, Double_t eLoss, Double_t charge, Double_t mass, Int_t pdgCode, Double_t dist, Double_t PLin, Double_t PLout)
virtual TClonesArray * GetCollection(Int_t iColl) const