5#include "FairDetector.h"
8class BmnBd :
public FairDetector
18 BmnBd(
const char* name, Bool_t active);
60 virtual void Print(Option_t*)
const;
75 virtual void CopyClones(TClonesArray* cl1, TClonesArray* cl2, Int_t offset);
83 TVector3 posIn, TVector3 posOut,
84 TVector3 momIn, TVector3 momOut,
85 Double_t tof, Double_t length, Double_t eLoss,
86 Bool_t isPrimary, Double_t charge, Int_t pdgId, Double_t lightYield,
87 Double_t timeIn, Double_t timeOut, Double_t lengthtrack);
106 TClonesArray* fBdCollection;
109 Double32_t fLengthtrack;
113 void ResetParameters();
122inline void BmnBd::ResetParameters()
124 fTrackID = fVolumeID = 0;
125 fPosIn.SetXYZ(0.0, 0.0, 0.0);
126 fPosOut.SetXYZ(0.0, 0.0, 0.0);
127 fMomIn.SetXYZ(0.0, 0.0, 0.0);
128 fMomOut.SetXYZ(0.0, 0.0, 0.0);
129 fTime = fLength = fELoss = 0;
130 fTimeIn = fTimeOut = 0;
virtual void BeginEvent()
virtual void CopyClones(TClonesArray *cl1, TClonesArray *cl2, Int_t offset)
BmnBdPoint * AddHit(Int_t trackID, Int_t detID, Int_t copyNo, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t tof, Double_t length, Double_t eLoss, Bool_t isPrimary, Double_t charge, Int_t pdgId, Double_t lightYield, Double_t timeIn, Double_t timeOut, Double_t lengthtrack)
virtual TClonesArray * GetCollection(Int_t iColl) const
virtual void Print(Option_t *) const
virtual void Initialize()
virtual void ConstructAsciiGeometry()
virtual Bool_t CheckIfSensitive(std::string name)
virtual void EndOfEvent()
virtual Bool_t ProcessHits(FairVolume *vol=0)
virtual void ConstructGeometry()