23 #include "TLorentzVector.h" 24 #include "FairDetector.h" 43 PndFtof(
const char *name, Bool_t active);
83 virtual void Print()
const;
98 virtual void CopyClones(TClonesArray *cl1, TClonesArray *cl2, Int_t offset);
107 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,
108 Double_t eLoss, Double_t charge, Double_t mass, Int_t pdgCode, Double_t dist, Double_t PLin, Double_t PLout);
111 std::vector<std::string> fListOfSensitives;
112 bool CheckIfSensitive(std::string name);
118 TLorentzVector fPosIn;
119 TLorentzVector fMomIn;
120 TLorentzVector fPosOut;
121 TLorentzVector fMomOut;
123 Double_t fPLout, fPLin;
130 Int_t SiId, CId, alId, beId, CpipeId;
133 Double_t fmass, fdist;
135 TClonesArray *fFtofCollection;
138 void ResetParameters();
143 inline void PndFtof::ResetParameters()
145 fTrackID = fVolumeID = 0;
147 fPosIn.SetXYZM(0.0, 0.0, 0.0, 0.0);
148 fPosOut.SetXYZM(0.0, 0.0, 0.0, 0.0);
149 fMomIn.SetPxPyPzE(0.0, 0.0, 0.0, 0.0);
150 fMomOut.SetPxPyPzE(0.0, 0.0, 0.0, 0.0);
152 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