8 #include "TClonesArray.h" 9 #include "TLorentzVector.h" 11 #include "FairDetector.h" 33 PndFts(
const char *name, Bool_t active);
67 virtual void Print()
const;
84 virtual void CopyClones(TClonesArray *cl1, TClonesArray *cl2, Int_t offset);
98 TLorentzVector fPosIn;
99 TLorentzVector fPosOut;
100 TLorentzVector fPosInLocal;
101 TLorentzVector fPosOutLocal;
102 TLorentzVector fMomIn;
103 TLorentzVector fMomOut;
108 Bool_t fIsInitialized;
111 TClonesArray *fFtsCollection;
112 TLorentzVector fpostot;
113 TLorentzVector fpostotin;
114 TLorentzVector fpostotout;
116 TObjArray *fPassNodes;
127 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,
128 TVector3 momOut, Double_t time, Double_t length, Double_t eLoss, Double_t mass);
130 std::string GetStringPart(std::string &aSrc, Int_t part,
char aDelim);
131 bool Split(std::string &aDest, std::string &aSrc,
char aDelim);
137 void ResetParameters();
144 float GetSquaredDistanceFromWire();
152 inline void PndFts::ResetParameters()
154 fTrackID = fVolumeID = 0;
155 fPos.SetXYZM(0.0, 0.0, 0.0, 0.0);
156 fPosInLocal.SetXYZM(0.0, 0.0, 0.0, 0.0);
157 fPosOutLocal.SetXYZM(0.0, 0.0, 0.0, 0.0);
158 fMomIn.SetXYZM(0.0, 0.0, 0.0, 0.0);
159 fMomOut.SetXYZM(0.0, 0.0, 0.0, 0.0);
160 fTime = fLength = fELoss = 0;
162 fpostot.SetXYZM(0.0, 0.0, 0.0, 0.0);
163 fpostotin.SetXYZM(0.0, 0.0, 0.0, 0.0);
164 fpostotout.SetXYZM(0.0, 0.0, 0.0, 0.0);
165 fPosIn.SetXYZM(0.0, 0.0, 0.0, 0.0);
166 fPosOut.SetXYZM(0.0, 0.0, 0.0, 0.0);
168 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