14 #ifndef PNDSDSDETECTOR_H 15 #define PNDSDSDETECTOR_H 18 #include "TLorentzVector.h" 20 #include "FairDetector.h" 125 virtual void Print()
const;
137 virtual void Reset();
146 virtual void CopyClones(TClonesArray *cl1, TClonesArray *cl2, Int_t offset);
160 fDetId =
static_cast<int>(id);
169 fVerboseLevel = level;
208 AddHit(Int_t trackID, Int_t detID, Int_t sensorID, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t time, Double_t length, Double_t eLoss);
223 fPosIn.SetXYZM(0.0, 0.0, 0.0, 0.0);
224 fPosOut.SetXYZM(0.0, 0.0, 0.0, 0.0);
225 fMomIn.SetXYZM(0.0, 0.0, 0.0, 0.0);
226 fMomOut.SetXYZM(0.0, 0.0, 0.0, 0.0);
virtual void SetBranchNames()=0
TClonesArray * fPndSdsCollection
virtual void EndOfEvent()
TLorentzVector fPosOut
entry position in global frame
Int_t fVolumeID
track index
void SetExclusiveSensorType(const TString sens)
TLorentzVector fMomOut
momentum
virtual Bool_t ProcessHits(FairVolume *vol=0)
TLorentzVector fPosIn
Det id.
Int_t fPosIndex
Gives Access to the Path info of a hit.
PndSdsDetector(PndSdsDetector &other)
std::vector< std::string > fListOfSensitives
To be set by daughter classes.
virtual void ConstructGeometry()
Class to access the naming information of the MVD.
virtual void ConstructASCIIGeometry()
PndSdsMCPoint * AddHit(Int_t trackID, Int_t detID, Int_t sensorID, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t time, Double_t length, Double_t eLoss)
void SetRadDamOption(bool val)
void SetPersistance(Bool_t p=kTRUE)
void SetDetectorID(DetectorId id)
PndGeoHandling * fGeoH
energy loss
ClassDef(PndSdsDetector, 6)
virtual ~PndSdsDetector()
PndSdsDetector & operator=(PndSdsDetector &other)
virtual void SetDefaultSensorNames()=0
virtual void SetSpecialPhysicsCuts()
virtual void CopyClones(TClonesArray *cl1, TClonesArray *cl2, Int_t offset)
void SetVerboseLevel(Int_t level)
TString fOutBranchName
enables the detection of neutral particles
TLorentzVector fMomIn
exit position in global frame
bool CheckIfSensitive(std::string name)
virtual TClonesArray * GetCollection(Int_t iColl) const
TString fFolderName
To be set by daughter classes.
DetectorId fDetectorID
To be set by daughter classes.
bool fUseRadDamOption
Hit collection.
virtual void Initialize()
virtual void Print() const