20 #include "TClonesArray.h" 21 #include "TLorentzVector.h" 23 #include "FairDetector.h" 44 PndFts2(
const char *name, Bool_t active);
78 virtual void Print()
const;
95 virtual void CopyClones(TClonesArray *cl1, TClonesArray *cl2, Int_t offset);
109 TLorentzVector fPosIn;
110 TLorentzVector fPosOut;
111 TLorentzVector fPosInLocal;
112 TLorentzVector fPosOutLocal;
113 TLorentzVector fMomIn;
114 TLorentzVector fMomOut;
119 Bool_t fIsInitialized;
122 TClonesArray *fFtsCollection;
123 TLorentzVector fpostot;
124 TLorentzVector fpostotin;
125 TLorentzVector fpostotout;
127 TObjArray *fPassNodes;
136 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,
137 TVector3 momOut, Double_t time, Double_t length, Double_t eLoss, Double_t mass);
139 std::string GetStringPart(std::string &aSrc, Int_t part,
char aDelim);
140 bool Split(std::string &aDest, std::string &aSrc,
char aDelim);
146 void ResetParameters();
153 float GetSquaredDistanceFromWire();
161 inline void PndFts2::ResetParameters()
163 fTrackID = fVolumeID = 0;
164 fPos.SetXYZM(0.0, 0.0, 0.0, 0.0);
165 fPosInLocal.SetXYZM(0.0, 0.0, 0.0, 0.0);
166 fPosOutLocal.SetXYZM(0.0, 0.0, 0.0, 0.0);
167 fMomIn.SetXYZM(0.0, 0.0, 0.0, 0.0);
168 fMomOut.SetXYZM(0.0, 0.0, 0.0, 0.0);
169 fTime = fLength = fELoss = 0;
171 fpostot.SetXYZM(0.0, 0.0, 0.0, 0.0);
172 fpostotin.SetXYZM(0.0, 0.0, 0.0, 0.0);
173 fpostotout.SetXYZM(0.0, 0.0, 0.0, 0.0);
174 fPosIn.SetXYZM(0.0, 0.0, 0.0, 0.0);
175 fPosOut.SetXYZM(0.0, 0.0, 0.0, 0.0);
177 fIsInitialized = kFALSE;
virtual void EndOfEvent()
virtual void Print() const
virtual void CopyClones(TClonesArray *cl1, TClonesArray *cl2, Int_t offset)
virtual void ConstructGeometry()
virtual TClonesArray * GetCollection(Int_t iColl) const
virtual Bool_t ProcessHits(FairVolume *vol=0)