29 #include "TClonesArray.h" 30 #include "TLorentzVector.h" 32 #include "FairDetector.h" 53 PndStt(
const char *name, Bool_t active);
89 virtual void Print()
const;
104 virtual void CopyClones(TClonesArray *cl1, TClonesArray *cl2, Int_t offset);
122 TVector3 fPosInLocal;
123 TVector3 fPosOutLocal;
130 Bool_t fIsInitialized;
133 TClonesArray *fSttCollection;
138 TObjArray *fPassNodes;
150 PndSttPoint *AddHit(Int_t trackID, Int_t detID, Int_t tubeID, TVector3 pos, TVector3 posInLocal, TVector3 posOutLocal, TVector3 momIn, TVector3 momOut, Double_t time,
151 Double_t length, Double_t eLoss, Double_t mass);
153 std::string GetStringPart(std::string &aSrc, Int_t part,
char aDelim);
154 bool Split(std::string &aDest, std::string &aSrc,
char aDelim);
160 void ResetParameters();
167 float GetSquaredDistanceFromWire();
175 inline void PndStt::ResetParameters()
177 fTrackID = fVolumeID = 0;
178 fPosInLocal.SetXYZ(0.0, 0.0, 0.0);
179 fPosOutLocal.SetXYZ(0.0, 0.0, 0.0);
180 fMomIn.SetXYZ(0.0, 0.0, 0.0);
181 fMomOut.SetXYZ(0.0, 0.0, 0.0);
182 fTime = fLength = fELoss = 0;
184 fpostot.SetXYZ(0.0, 0.0, 0.0);
185 fpostotin.SetXYZ(0.0, 0.0, 0.0);
186 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()