17 #include "TClonesArray.h" 18 #include "TLorentzVector.h" 20 #include "FairDetector.h" 41 PndStt(
const char *name, Bool_t active);
77 virtual void Print()
const;
92 virtual void CopyClones(TClonesArray *cl1, TClonesArray *cl2, Int_t offset);
110 TVector3 fPosInLocal;
111 TVector3 fPosOutLocal;
118 Bool_t fIsInitialized;
121 TClonesArray *fSttCollection;
126 TObjArray *fPassNodes;
138 PndSttPoint *AddHit(Int_t trackID, Int_t detID, Int_t tubeID, TVector3 pos, TVector3 posInLocal, TVector3 posOutLocal, TVector3 momIn, TVector3 momOut, Double_t time,
139 Double_t length, Double_t eLoss, Double_t mass);
141 std::string GetStringPart(std::string &aSrc, Int_t part,
char aDelim);
142 bool Split(std::string &aDest, std::string &aSrc,
char aDelim);
148 void ResetParameters();
155 float GetSquaredDistanceFromWire();
163 inline void PndStt::ResetParameters()
165 fTrackID = fVolumeID = 0;
166 fPosInLocal.SetXYZ(0.0, 0.0, 0.0);
167 fPosOutLocal.SetXYZ(0.0, 0.0, 0.0);
168 fMomIn.SetXYZ(0.0, 0.0, 0.0);
169 fMomOut.SetXYZ(0.0, 0.0, 0.0);
170 fTime = fLength = fELoss = 0;
172 fpostot.SetXYZ(0.0, 0.0, 0.0);
173 fpostotin.SetXYZ(0.0, 0.0, 0.0);
174 fpostotout.SetXYZ(0.0, 0.0, 0.0);
virtual TClonesArray * GetCollection(Int_t iColl) const
virtual void EndOfEvent()
void SetDefaultSensorNames()
std::vector< std::string > fListOfSensitives
virtual void Print() const
bool CheckIfSensitive(std::string name)
virtual void CopyClones(TClonesArray *cl1, TClonesArray *cl2, Int_t offset)
virtual Bool_t ProcessHits(FairVolume *vol=0)
virtual void ConstructGeometry()
virtual void Initialize()