26 #include "FairDetector.h" 30 #include "TLorentzVector.h" 49 PndSciT(
const char *name, Bool_t active);
89 virtual void Print()
const;
104 virtual void CopyClones(TClonesArray *cl1, TClonesArray *cl2, Int_t offset);
115 PndSciTPoint *
AddHit(Int_t eventID, Int_t trackID, Int_t sensorID, TString detName, TVector3 posin, TVector3 momin, TVector3 posout, TVector3 momout, Double_t tof,
116 Double_t length, Double_t eLoss);
119 std::vector<std::string> fListOfSensitives;
120 bool CheckIfSensitive(std::string name);
127 TLorentzVector fPosIn;
128 TLorentzVector fMomIn;
129 TLorentzVector fPosOut;
130 TLorentzVector fMomOut;
140 TClonesArray *fSciTCollection;
143 void ResetParameters();
148 inline void PndSciT::ResetParameters()
150 fTrackID = fSensorID = fEventID = -1;
151 fPosIn.SetXYZM(0.0, 0.0, 0.0, 0.0);
152 fPosOut.SetXYZM(0.0, 0.0, 0.0, 0.0);
153 fMomIn.SetPxPyPzE(0.0, 0.0, 0.0, 0.0);
154 fMomOut.SetPxPyPzE(0.0, 0.0, 0.0, 0.0);
156 fTime = fLength = fELoss = 0;
void SetThreshold(Double_t val)
virtual void Initialize()
virtual void CopyClones(TClonesArray *cl1, TClonesArray *cl2, Int_t offset)
virtual TClonesArray * GetCollection(Int_t iColl) const
Class to access the naming information of the MVD.
virtual void Print() const
virtual void BeginEvent()
virtual void ConstructGeometry()
virtual void EndOfEvent()
virtual Bool_t ProcessHits(FairVolume *vol=0)
PndSciTPoint * AddHit(Int_t eventID, Int_t trackID, Int_t sensorID, TString detName, TVector3 posin, TVector3 momin, TVector3 posout, TVector3 momout, Double_t tof, Double_t length, Double_t eLoss)