|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <BmnVSP.h>
Public Member Functions | |
| BmnVSP (const char *name, Bool_t active) | |
| BmnVSP () | |
| virtual | ~BmnVSP () |
| 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) |
| BmnVSP (const char *name, Bool_t active) | |
| BmnVSP () | |
| virtual | ~BmnVSP () |
| 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 | |
| BmnVSPPoint * | 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) |
| void | ResetParameters () |
| BmnVSP (const BmnVSP &)=delete | |
| BmnVSP | operator= (const BmnVSP &)=delete |
| BmnVSPPoint * | 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) |
| void | ResetParameters () |
| BmnVSP (const BmnVSP &)=delete | |
| BmnVSP | operator= (const BmnVSP &)=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. | |
| BmnVSP::BmnVSP | ( | const char * | name, |
| Bool_t | active ) |
Definition at line 30 of file BmnVSP.cxx.
References fPointCollection, fPosIndex, and ResetParameters().
Referenced by BmnVSP(), and operator=().
| BmnVSP::BmnVSP | ( | ) |
Definition at line 21 of file BmnVSP.cxx.
References fPointCollection, fPosIndex, and ResetParameters().
|
virtual |
Definition at line 39 of file BmnVSP.cxx.
References fPointCollection.
|
privatedelete |
| BmnVSP::BmnVSP | ( | const char * | name, |
| Bool_t | active ) |
| BmnVSP::BmnVSP | ( | ) |
|
virtual |
|
privatedelete |
|
private |
Definition at line 398 of file BmnVSP.cxx.
References fPointCollection, and TObjArray::GetEntriesFast().
Referenced by ProcessHits().
|
private |
|
virtual |
Definition at line 387 of file BmnVSP.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 231 of file BmnVSP.cxx.
References ExpandNodeForGdml(), TGDMLParse::GDMLReadFile(), TGeoMedium::GetId(), TNamed::GetName(), and m.
Referenced by ConstructGeometry().
|
virtual |
|
virtual |
Definition at line 209 of file BmnVSP.cxx.
References ConstructGDMLGeometry(), TString::Data(), and TString::EndsWith().
|
virtual |
|
virtual |
Definition at line 191 of file BmnVSP.cxx.
References TObjArray::At(), fPosIndex, TObjArray::GetEntriesFast(), and i.
|
virtual |
|
virtual |
Definition at line 153 of file BmnVSP.cxx.
References fPointCollection, fPosIndex, and Print().
|
virtual |
| void BmnVSP::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 276 of file BmnVSP.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 BmnVSP::ExpandNodeForGdml | ( | TGeoNode * | node | ) |
|
virtual |
Definition at line 166 of file BmnVSP.cxx.
References fPointCollection.
|
virtual |
|
virtual |
Definition at line 173 of file BmnVSP.cxx.
References fPointCollection, and i.
Referenced by EndOfEvent().
|
virtual |
|
virtual |
Definition at line 49 of file BmnVSP.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(), kVSP, TVector3::Mag(), ResetParameters(), TVector3::SetMag(), BmnVSPPoint::SetModule(), BmnVSPPoint::SetStation(), TLorentzVector::X(), TLorentzVector::Y(), and TLorentzVector::Z().
|
virtual |
|
virtual |
Definition at line 161 of file BmnVSP.cxx.
References fPointCollection.
|
virtual |
|
virtual |
Definition at line 185 of file BmnVSP.cxx.
References fPointCollection, and ResetParameters().
|
virtual |
|
inlineprivate |
|
private |
|
private |
Definition at line 75 of file BmnVSP.h.
Referenced by CheckIfSensitive(), and ProcessHits().
|
private |
Definition at line 73 of file BmnVSP.h.
Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 81 of file BmnVSP.h.
Referenced by CheckIfSensitive(), and ExpandNodeForGdml().
|
private |
Definition at line 74 of file BmnVSP.h.
Referenced by CheckIfSensitive(), and ProcessHits().
|
private |
Definition at line 72 of file BmnVSP.h.
Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 69 of file BmnVSP.h.
Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 70 of file BmnVSP.h.
Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 76 of file BmnVSP.h.
Referenced by CheckIfSensitive(), and ProcessHits().
|
private |
Definition at line 79 of file BmnVSP.h.
Referenced by BmnVSP(), BmnVSP(), ~BmnVSP(), AddHit(), CheckIfSensitive(), EndOfEvent(), GetCollection(), Print(), Register(), and Reset().
|
private |
Definition at line 67 of file BmnVSP.h.
Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 78 of file BmnVSP.h.
Referenced by BmnVSP(), BmnVSP(), CheckIfSensitive(), CopyClones(), EndOfEvent(), and ResetParameters().
|
private |
Definition at line 68 of file BmnVSP.h.
Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 71 of file BmnVSP.h.
Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 65 of file BmnVSP.h.
Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 66 of file BmnVSP.h.
Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().