8 #include "TClonesArray.h" 9 #include "TLorentzVector.h" 11 #include "FairDetector.h" 32 PndFts2(
const char *name, Bool_t active);
66 virtual void Print()
const;
83 virtual void CopyClones(TClonesArray *cl1, TClonesArray *cl2, Int_t offset);
97 TLorentzVector fPosIn;
98 TLorentzVector fPosOut;
99 TLorentzVector fPosInLocal;
100 TLorentzVector fPosOutLocal;
101 TLorentzVector fMomIn;
102 TLorentzVector fMomOut;
107 Bool_t fIsInitialized;
110 TClonesArray *fFtsCollection;
111 TLorentzVector fpostot;
112 TLorentzVector fpostotin;
113 TLorentzVector fpostotout;
115 TObjArray *fPassNodes;
124 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,
125 TVector3 momOut, Double_t time, Double_t length, Double_t eLoss, Double_t mass);
127 std::string GetStringPart(std::string &aSrc, Int_t part,
char aDelim);
128 bool Split(std::string &aDest, std::string &aSrc,
char aDelim);
134 void ResetParameters();
141 float GetSquaredDistanceFromWire();
149 inline void PndFts2::ResetParameters()
151 fTrackID = fVolumeID = 0;
152 fPos.SetXYZM(0.0, 0.0, 0.0, 0.0);
153 fPosInLocal.SetXYZM(0.0, 0.0, 0.0, 0.0);
154 fPosOutLocal.SetXYZM(0.0, 0.0, 0.0, 0.0);
155 fMomIn.SetXYZM(0.0, 0.0, 0.0, 0.0);
156 fMomOut.SetXYZM(0.0, 0.0, 0.0, 0.0);
157 fTime = fLength = fELoss = 0;
159 fpostot.SetXYZM(0.0, 0.0, 0.0, 0.0);
160 fpostotin.SetXYZM(0.0, 0.0, 0.0, 0.0);
161 fpostotout.SetXYZM(0.0, 0.0, 0.0, 0.0);
162 fPosIn.SetXYZM(0.0, 0.0, 0.0, 0.0);
163 fPosOut.SetXYZM(0.0, 0.0, 0.0, 0.0);
165 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)