|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
DCH.h. More...
#include <BmnDch.h>
Public Member Functions | |
| BmnDch (const char *name, Bool_t active) | |
| BmnDch () | |
| virtual | ~BmnDch () |
| 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 | ConstructAsciiGeometry () |
| virtual void | ConstructGDMLGeometry (TGeoMatrix *) |
| void | ExpandNodeForGdml (TGeoNode *node) |
| virtual Bool_t | CheckIfSensitive (std::string name) |
| BmnDch (const char *name, Bool_t active) | |
| BmnDch () | |
| virtual | ~BmnDch () |
| 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 | ConstructAsciiGeometry () |
| virtual void | ConstructGDMLGeometry (TGeoMatrix *) |
| void | ExpandNodeForGdml (TGeoNode *node) |
| virtual Bool_t | CheckIfSensitive (std::string name) |
Public Attributes | |
| map< TString, TGeoMedium * > | fFixedMedia |
Private Member Functions | |
| int | DistAndPoints (TVector3 p3, TVector3 p4, TVector3 &pa, TVector3 &pb) |
| Hit collection. | |
| TVector3 | GlobalToLocal (TVector3 &global) |
| TVector3 | LocalToGlobal (TVector3 &local) |
| BmnDchPoint * | AddHit (Int_t trackID, Int_t detID, TVector3 pos, Double_t radius, TVector3 mom, Double_t time, Double_t length, Double_t eLoss, Int_t isPrimary, Double_t charge, Int_t fPdgId, TVector3 trackPos) |
| void | ResetParameters () |
| BmnDch (const BmnDch &)=delete | |
| BmnDch | operator= (const BmnDch &)=delete |
| int | DistAndPoints (TVector3 p3, TVector3 p4, TVector3 &pa, TVector3 &pb) |
| Hit collection. | |
| TVector3 | GlobalToLocal (TVector3 &global) |
| TVector3 | LocalToGlobal (TVector3 &local) |
| BmnDchPoint * | AddHit (Int_t trackID, Int_t detID, TVector3 pos, Double_t radius, TVector3 mom, Double_t time, Double_t length, Double_t eLoss, Int_t isPrimary, Double_t charge, Int_t fPdgId, TVector3 trackPos) |
| void | ResetParameters () |
| BmnDch (const BmnDch &)=delete | |
| BmnDch | operator= (const BmnDch &)=delete |
Private Attributes | |
| Int_t | fTrackID |
| Int_t | fVolumeID |
| track index | |
| Int_t | fPlaneNumber |
| volume id | |
| TVector3 | fPos |
| plane number | |
| TVector3 | fPosLocal |
| position | |
| TLorentzVector | fMom |
| position local to gas chamber | |
| Double32_t | fTime |
| momentum | |
| Double32_t | fLength |
| time | |
| Double32_t | fELoss |
| length | |
| Int_t | fIsPrimary |
| energy loss | |
| Double_t | fCharge |
| is track primary? | |
| Double_t | fRadius |
| track charge | |
| Int_t | fPdgId |
| hit radius | |
| Int_t | fwheel |
| pdg id of particle | |
| TVector3 | fPosIn |
| TVector3 | fPosOut |
| entry position in global frame | |
| TVector3 | fPosInTmp |
| exit position in global frame | |
| Int_t | fTrackIDTmp |
| entry position in global frame | |
| Int_t | fwheelTmp |
| track index | |
| Int_t | fPosIndex |
| TClonesArray * | fPointCollection |
Defines the active detector DCH. Constructs the geometry and registers MCPoints.
| BmnDch::BmnDch | ( | const char * | name, |
| Bool_t | active ) |
Definition at line 41 of file BmnDch.cxx.
References fPointCollection, fPosIndex, and ResetParameters().
Referenced by BmnDch(), and operator=().
| BmnDch::BmnDch | ( | ) |
Definition at line 31 of file BmnDch.cxx.
References fPointCollection, fPosIndex, and ResetParameters().
|
virtual |
Definition at line 51 of file BmnDch.cxx.
References fPointCollection.
|
privatedelete |
| BmnDch::BmnDch | ( | const char * | name, |
| Bool_t | active ) |
| BmnDch::BmnDch | ( | ) |
|
virtual |
|
privatedelete |
|
private |
Definition at line 546 of file BmnDch.cxx.
References fPointCollection, and TObjArray::GetEntriesFast().
Referenced by ProcessHits().
|
private |
References fPdgId.
|
virtual |
Definition at line 531 of file BmnDch.cxx.
References TString::Contains().
|
virtual |
|
virtual |
Definition at line 242 of file BmnDch.cxx.
References TObjArray::AddLast(), BmnDchGeoPar::GetGeoPassiveNodes(), BmnDchGeoPar::GetGeoSensitiveNodes(), and TListIter::Next().
Referenced by ConstructGeometry().
|
virtual |
|
virtual |
Definition at line 380 of file BmnDch.cxx.
References ExpandNodeForGdml(), TGDMLParse::GDMLReadFile(), TGeoMedium::GetId(), TNamed::GetName(), and m.
Referenced by ConstructGeometry().
|
virtual |
|
virtual |
Definition at line 223 of file BmnDch.cxx.
References ConstructAsciiGeometry(), ConstructGDMLGeometry(), TString::Data(), and TString::EndsWith().
|
virtual |
|
virtual |
Definition at line 204 of file BmnDch.cxx.
References TObjArray::At(), fPosIndex, TObjArray::GetEntriesFast(), and i.
|
virtual |
Definition at line 60 of file BmnDch.cxx.
Referenced by ProcessHits().
|
virtual |
Definition at line 163 of file BmnDch.cxx.
References fPointCollection, fPosIndex, and Print().
|
virtual |
| void BmnDch::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 421 of file BmnDch.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 BmnDch::ExpandNodeForGdml | ( | TGeoNode * | node | ) |
References fFixedMedia.
|
virtual |
Definition at line 178 of file BmnDch.cxx.
References fPointCollection.
|
virtual |
Definition at line 70 of file BmnDch.cxx.
References TVector3::GetXYZ().
Definition at line 81 of file BmnDch.cxx.
References TVector3::GetXYZ().
Referenced by ProcessHits().
|
virtual |
Definition at line 186 of file BmnDch.cxx.
References fPointCollection, and i.
Referenced by EndOfEvent().
|
virtual |
|
virtual |
Definition at line 92 of file BmnDch.cxx.
References AddHit(), TMath::ATan2(), TParticlePDG::Charge(), DistAndPoints(), fCharge, fELoss, fIsPrimary, fLength, fMom, fPdgId, fPlaneNumber, fPos, fPosIn, fPosOut, fTime, fTrackID, fVolumeID, TParticle::GetPDG(), TParticle::GetPdgCode(), TParticle::IsPrimary(), kDCH, LocalToGlobal(), ResetParameters(), BmnDchPoint::SetPhi(), BmnDchPoint::SetPlaneNumber(), TLorentzVector::X(), TVector3::X(), TLorentzVector::Y(), TVector3::Y(), and TLorentzVector::Z().
|
virtual |
|
virtual |
Definition at line 172 of file BmnDch.cxx.
References fPointCollection.
|
virtual |
|
virtual |
Definition at line 197 of file BmnDch.cxx.
References fPointCollection, and ResetParameters().
|
virtual |
|
inlineprivate |
|
private |
|
private |
Definition at line 92 of file BmnDch.h.
Referenced by CheckIfSensitive(), and ProcessHits().
|
private |
Definition at line 90 of file BmnDch.h.
Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().
| map< TString, TGeoMedium * > BmnDch::fFixedMedia |
Definition at line 67 of file BmnDch.h.
Referenced by ExpandNodeForGdml().
|
private |
Definition at line 91 of file BmnDch.h.
Referenced by CheckIfSensitive(), and ProcessHits().
|
private |
Definition at line 89 of file BmnDch.h.
Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 87 of file BmnDch.h.
Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 94 of file BmnDch.h.
Referenced by AddHit(), CheckIfSensitive(), and ProcessHits().
|
private |
Definition at line 84 of file BmnDch.h.
Referenced by CheckIfSensitive(), and ProcessHits().
|
private |
Definition at line 104 of file BmnDch.h.
Referenced by BmnDch(), BmnDch(), ~BmnDch(), AddHit(), CheckIfSensitive(), EndOfEvent(), GetCollection(), Print(), Register(), and Reset().
|
private |
Definition at line 85 of file BmnDch.h.
Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 96 of file BmnDch.h.
Referenced by CheckIfSensitive(), and ProcessHits().
|
private |
Definition at line 103 of file BmnDch.h.
Referenced by BmnDch(), BmnDch(), CheckIfSensitive(), CopyClones(), EndOfEvent(), and ResetParameters().
|
private |
Definition at line 99 of file BmnDch.h.
Referenced by CheckIfSensitive(), and ResetParameters().
|
private |
Definition at line 86 of file BmnDch.h.
Referenced by CheckIfSensitive().
|
private |
Definition at line 97 of file BmnDch.h.
Referenced by CheckIfSensitive(), and ProcessHits().
|
private |
Definition at line 93 of file BmnDch.h.
Referenced by CheckIfSensitive().
|
private |
Definition at line 88 of file BmnDch.h.
Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 82 of file BmnDch.h.
Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 100 of file BmnDch.h.
Referenced by CheckIfSensitive(), and ResetParameters().
|
private |
Definition at line 83 of file BmnDch.h.
Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 95 of file BmnDch.h.
Referenced by CheckIfSensitive(), and ResetParameters().
|
private |
Definition at line 101 of file BmnDch.h.
Referenced by CheckIfSensitive(), and ResetParameters().