20 #include "TClonesArray.h" 21 #include "TLorentzVector.h" 23 #include "FairDetector.h" 45 PndFts(
const char *name, Bool_t active);
79 virtual void Print()
const;
96 virtual void CopyClones(TClonesArray *cl1, TClonesArray *cl2, Int_t offset);
110 TLorentzVector fPosIn;
111 TLorentzVector fPosOut;
112 TLorentzVector fPosInLocal;
113 TLorentzVector fPosOutLocal;
114 TLorentzVector fMomIn;
115 TLorentzVector fMomOut;
120 Bool_t fIsInitialized;
123 TClonesArray *fFtsCollection;
124 TLorentzVector fpostot;
125 TLorentzVector fpostotin;
126 TLorentzVector fpostotout;
128 TObjArray *fPassNodes;
139 PndFtsPoint *AddHit(Int_t trackID, Int_t detID, Int_t tubeID, Int_t chamberID, Int_t layerID, TVector3 pos, TVector3 posInLocal, TVector3 posOutLocal, TVector3 momIn,
140 TVector3 momOut, Double_t time, Double_t length, Double_t eLoss, Double_t mass);
142 std::string GetStringPart(std::string &aSrc, Int_t part,
char aDelim);
143 bool Split(std::string &aDest, std::string &aSrc,
char aDelim);
149 void ResetParameters();
156 float GetSquaredDistanceFromWire();
164 inline void PndFts::ResetParameters()
166 fTrackID = fVolumeID = 0;
167 fPos.SetXYZM(0.0, 0.0, 0.0, 0.0);
168 fPosInLocal.SetXYZM(0.0, 0.0, 0.0, 0.0);
169 fPosOutLocal.SetXYZM(0.0, 0.0, 0.0, 0.0);
170 fMomIn.SetXYZM(0.0, 0.0, 0.0, 0.0);
171 fMomOut.SetXYZM(0.0, 0.0, 0.0, 0.0);
172 fTime = fLength = fELoss = 0;
174 fpostot.SetXYZM(0.0, 0.0, 0.0, 0.0);
175 fpostotin.SetXYZM(0.0, 0.0, 0.0, 0.0);
176 fpostotout.SetXYZM(0.0, 0.0, 0.0, 0.0);
177 fPosIn.SetXYZM(0.0, 0.0, 0.0, 0.0);
178 fPosOut.SetXYZM(0.0, 0.0, 0.0, 0.0);
180 fIsInitialized = kFALSE;
virtual void EndOfEvent()
virtual void Print() const
virtual void CopyClones(TClonesArray *cl1, TClonesArray *cl2, Int_t offset)
virtual Bool_t ProcessHits(FairVolume *vol=0)
virtual void ConstructGeometry()
virtual TClonesArray * GetCollection(Int_t iColl) const