14 #include "FairDetector.h" 18 #include "TLorentzVector.h" 37 PndSciT(
const char *name, Bool_t active);
77 virtual void Print()
const;
92 virtual void CopyClones(TClonesArray *cl1, TClonesArray *cl2, Int_t offset);
103 PndSciTPoint *
AddHit(Int_t eventID, Int_t trackID, Int_t sensorID, TString detName, TVector3 posin, TVector3 momin, TVector3 posout, TVector3 momout, Double_t tof,
104 Double_t length, Double_t eLoss);
107 std::vector<std::string> fListOfSensitives;
108 bool CheckIfSensitive(std::string name);
115 TLorentzVector fPosIn;
116 TLorentzVector fMomIn;
117 TLorentzVector fPosOut;
118 TLorentzVector fMomOut;
128 TClonesArray *fSciTCollection;
131 void ResetParameters();
136 inline void PndSciT::ResetParameters()
138 fTrackID = fSensorID = fEventID = -1;
139 fPosIn.SetXYZM(0.0, 0.0, 0.0, 0.0);
140 fPosOut.SetXYZM(0.0, 0.0, 0.0, 0.0);
141 fMomIn.SetPxPyPzE(0.0, 0.0, 0.0, 0.0);
142 fMomOut.SetPxPyPzE(0.0, 0.0, 0.0, 0.0);
144 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)