6 #ifndef BSEMCDETECTOR_HH 7 #define BSEMCDETECTOR_HH 13 #include "RtypesCore.h" 14 #include "TLorentzVector.h" 18 #include "FairDetector.h" 30 class TMemberInspector;
49 fOutBranchName(other.fOutBranchName), fFolderName(other.fFolderName), fPndEmcCollection(other.fPndEmcCollection), fTransformMatrix(other.fTransformMatrix)
85 virtual Bool_t
ProcessHits(FairVolume *t_vol =
nullptr) ;
109 virtual void Print()
const;
121 virtual void Reset() ;
130 virtual void CopyClones(TClonesArray *t_origin, TClonesArray *t_target, Int_t t_offset) ;
165 AddHit(Int_t t_trackID, Int_t t_detID, Int_t t_evtID, TVector3 t_pos, TVector3 t_mom, Double_t t_tof, Double_t t_length, Double_t t_eLoss, Bool_t t_enterning, Bool_t t_exiting);
180 TString fOutBranchName{
""};
181 TString fFolderName{
""};
182 TClonesArray *fPndEmcCollection{
nullptr};
186 Int_t fCopyNumber{-1};
188 TLorentzVector fPos{};
189 TLorentzVector fMom{};
190 Double32_t fTime{-1};
191 Double32_t fLength{-1};
192 Double32_t fELoss{-1};
193 TGeoMatrix *fTransformMatrix{
nullptr};
194 Int_t fNumberOfPoints{0};
195 Bool_t fPersistency{kFALSE};
virtual Bool_t ProcessHits(FairVolume *t_vol=nullptr)
const TString & GetBranchOutName() const
PndSensorNameIdMap * fIdMap
virtual TClonesArray * GetCollection(Int_t t_iColl) const
virtual void ConstructGeometry()
void SetPersistency(Bool_t t_storePoints)
void SetTransformMatrix(TGeoMatrix *t_transform)
virtual Int_t GetDetectorId()
void SetIdMap(PndSensorNameIdMap *t_map)
Class to access the naming information of the MVD.
virtual void SetSpecialPhysicsCuts()
Base class for NameIdMaps used by the EmcGeoHandling singleton to retrieve a detector id from a name ...
BSEmcMCPoint * AddHit(Int_t t_trackID, Int_t t_detID, Int_t t_evtID, TVector3 t_pos, TVector3 t_mom, Double_t t_tof, Double_t t_length, Double_t t_eLoss, Bool_t t_enterning, Bool_t t_exiting)
virtual void Print() const
virtual void Initialize()
represents a mc hit in an emc crystal
void SetSensitiveNames(const std::vector< std::string > &t_sensNames)
virtual void SetDefaultSensitiveNames()
virtual void EndOfEvent()
virtual void ConstructASCIIGeometry()
virtual void CopyClones(TClonesArray *t_origin, TClonesArray *t_target, Int_t t_offset)
PndSensorNameIdMap * GetIdMap()
Specialization of the FairDetector for a common BSEmcDetector.
const std::vector< std::string > & GetListOfSensitives()
const TString & GetFolderName() const
BSEmcDetector(BSEmcDetector &other)
Bool_t CheckIfSensitive(std::string t_name)
void SetBranchOutName(const TString &t_branchout)
void SetFolderName(const TString &t_folder)
std::vector< std::string > fListOfSensitives
const TGeoMatrix * GetTransformMatrix() const