|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <BmnCSC.h>
Public Member Functions | |
| BmnCSC (const char *name, Bool_t active) | |
| BmnCSC () | |
| virtual | ~BmnCSC () |
| virtual Bool_t | ProcessHits (FairVolume *vol=0) |
| virtual void | EndOfEvent () |
| virtual void | Register () |
| virtual TClonesArray * | GetCollection (Int_t iColl) const |
| virtual void | Print (Option_t *) const |
| virtual void | Reset () |
| virtual void | CopyClones (TClonesArray *cl1, TClonesArray *cl2, Int_t offset) |
| virtual void | ConstructGeometry () |
| virtual void | ConstructGDMLGeometry (TGeoMatrix *) |
| void | ExpandNodeForGdml (TGeoNode *node) |
| virtual Bool_t | CheckIfSensitive (std::string name) |
| BmnCSC (const char *name, Bool_t active) | |
| BmnCSC () | |
| virtual | ~BmnCSC () |
| virtual Bool_t | ProcessHits (FairVolume *vol=0) |
| virtual void | EndOfEvent () |
| virtual void | Register () |
| virtual TClonesArray * | GetCollection (Int_t iColl) const |
| virtual void | Print (Option_t *) const |
| virtual void | Reset () |
| virtual void | CopyClones (TClonesArray *cl1, TClonesArray *cl2, Int_t offset) |
| virtual void | ConstructGeometry () |
| virtual void | ConstructGDMLGeometry (TGeoMatrix *) |
| void | ExpandNodeForGdml (TGeoNode *node) |
| virtual Bool_t | CheckIfSensitive (std::string name) |
Private Member Functions | |
| BmnCSCPoint * | AddHit (Int_t trackID, Int_t detID, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t time, Double_t length, Double_t eLoss, Int_t isPrimary, Double_t charge, Int_t pdgId, Int_t stationNum, Int_t moduleNum) |
| void | ResetParameters () |
| BmnCSC (const BmnCSC &)=delete | |
| BmnCSC | operator= (const BmnCSC &)=delete |
| BmnCSCPoint * | AddHit (Int_t trackID, Int_t detID, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t time, Double_t length, Double_t eLoss, Int_t isPrimary, Double_t charge, Int_t pdgId, Int_t stationNum, Int_t moduleNum) |
| void | ResetParameters () |
| BmnCSC (const BmnCSC &)=delete | |
| BmnCSC | operator= (const BmnCSC &)=delete |
Private Attributes | |
| Int_t | fTrackID |
| Int_t | fVolumeID |
| track index | |
| TVector3 | fPosIn |
| volume id | |
| TVector3 | fPosOut |
| position (in) | |
| TVector3 | fMomIn |
| position (out) | |
| TVector3 | fMomOut |
| momentum (in) | |
| Double32_t | fTime |
| momentum (out) | |
| Double32_t | fLength |
| time | |
| Double32_t | fELoss |
| length | |
| Int_t | fIsPrimary |
| energy loss | |
| Double_t | fCharge |
| is track primary? | |
| Int_t | fPdgId |
| track charge | |
| Int_t | fPosIndex |
| pdg id of particle | |
| TClonesArray * | fPointCollection |
| std::map< TString, TGeoMedium * > | fFixedMedia |
| Hit collection. | |
| BmnCSC::BmnCSC | ( | const char * | name, |
| Bool_t | active ) |
Definition at line 30 of file BmnCSC.cxx.
References fPointCollection, fPosIndex, and ResetParameters().
Referenced by BmnCSC(), and operator=().
| BmnCSC::BmnCSC | ( | ) |
Definition at line 21 of file BmnCSC.cxx.
References fPointCollection, fPosIndex, and ResetParameters().
|
virtual |
Definition at line 39 of file BmnCSC.cxx.
References fPointCollection.
|
privatedelete |
| BmnCSC::BmnCSC | ( | const char * | name, |
| Bool_t | active ) |
| BmnCSC::BmnCSC | ( | ) |
|
virtual |
|
privatedelete |
|
private |
Definition at line 384 of file BmnCSC.cxx.
References TObjArray::At(), fPointCollection, TObjArray::GetEntriesFast(), BmnCSCPoint::SetModule(), and BmnCSCPoint::SetStation().
Referenced by ProcessHits().
|
private |
|
virtual |
Definition at line 373 of file BmnCSC.cxx.
References TString::Contains().
|
virtual |
References fCharge, fELoss, fFixedMedia, fIsPrimary, fLength, fMomIn, fMomOut, fPdgId, fPointCollection, fPosIn, fPosIndex, fPosOut, fTime, fTrackID, and fVolumeID.
|
virtual |
Definition at line 217 of file BmnCSC.cxx.
References ExpandNodeForGdml(), TGDMLParse::GDMLReadFile(), TGeoMedium::GetId(), TNamed::GetName(), and m.
Referenced by ConstructGeometry().
|
virtual |
|
virtual |
Definition at line 195 of file BmnCSC.cxx.
References ConstructGDMLGeometry(), TString::Data(), and TString::EndsWith().
|
virtual |
|
virtual |
Definition at line 177 of file BmnCSC.cxx.
References TObjArray::At(), fPosIndex, TObjArray::GetEntriesFast(), and i.
|
virtual |
|
virtual |
Definition at line 139 of file BmnCSC.cxx.
References fPointCollection, fPosIndex, and Print().
|
virtual |
| void BmnCSC::ExpandNodeForGdml | ( | TGeoNode * | node | ) |
This should not happen. This means that somebody uses material in GDML that is not in the media.geo file. Most probably this is the sign to the user to check materials' names in the CATIA model.
Recursevly go down the tree of nodes
Definition at line 262 of file BmnCSC.cxx.
References TObjArray::At(), ExpandNodeForGdml(), fFixedMedia, TObjArray::GetEntriesFast(), TGeoMedium::GetId(), TGeoMaterial::GetIndex(), TGeoMedium::GetMaterial(), TGeoVolume::GetMaterial(), TGeoVolume::GetMedium(), TNamed::GetName(), TGeoVolume::GetNdaughters(), TGeoVolume::GetNodes(), TGeoNode::GetVolume(), i, TGeoVolume::IsAssembly(), m, and TGeoVolume::SetMedium().
Referenced by ConstructGDMLGeometry(), and ExpandNodeForGdml().
| void BmnCSC::ExpandNodeForGdml | ( | TGeoNode * | node | ) |
|
virtual |
Definition at line 152 of file BmnCSC.cxx.
References fPointCollection.
|
virtual |
|
virtual |
Definition at line 159 of file BmnCSC.cxx.
References fPointCollection, and i.
Referenced by EndOfEvent().
|
virtual |
|
virtual |
Definition at line 49 of file BmnCSC.cxx.
References AddHit(), TString::Atoi(), TParticlePDG::Charge(), TString::Contains(), fCharge, fELoss, fIsPrimary, fLength, fMomIn, fMomOut, fPdgId, fPosIn, fPosOut, fTime, fTrackID, fVolumeID, TNamed::GetName(), TParticle::GetPDG(), TParticle::GetPdgCode(), TParticle::IsPrimary(), kCSC, TVector3::Mag(), ResetParameters(), TVector3::SetMag(), TLorentzVector::X(), TLorentzVector::Y(), and TLorentzVector::Z().
|
virtual |
|
virtual |
Definition at line 147 of file BmnCSC.cxx.
References fPointCollection.
|
virtual |
|
virtual |
Definition at line 171 of file BmnCSC.cxx.
References fPointCollection, and ResetParameters().
|
virtual |
|
inlineprivate |
|
private |
|
private |
Definition at line 77 of file BmnCSC.h.
Referenced by CheckIfSensitive(), and ProcessHits().
|
private |
Definition at line 75 of file BmnCSC.h.
Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 83 of file BmnCSC.h.
Referenced by CheckIfSensitive(), and ExpandNodeForGdml().
|
private |
Definition at line 76 of file BmnCSC.h.
Referenced by CheckIfSensitive(), and ProcessHits().
|
private |
Definition at line 74 of file BmnCSC.h.
Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 71 of file BmnCSC.h.
Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 72 of file BmnCSC.h.
Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 78 of file BmnCSC.h.
Referenced by CheckIfSensitive(), and ProcessHits().
|
private |
Definition at line 81 of file BmnCSC.h.
Referenced by BmnCSC(), BmnCSC(), ~BmnCSC(), AddHit(), CheckIfSensitive(), EndOfEvent(), GetCollection(), Print(), Register(), and Reset().
|
private |
Definition at line 69 of file BmnCSC.h.
Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 80 of file BmnCSC.h.
Referenced by BmnCSC(), BmnCSC(), CheckIfSensitive(), CopyClones(), EndOfEvent(), and ResetParameters().
|
private |
Definition at line 70 of file BmnCSC.h.
Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 73 of file BmnCSC.h.
Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 67 of file BmnCSC.h.
Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 68 of file BmnCSC.h.
Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().