BmnRoot 26.10.0-210-gc52d34b0
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnSiProf Class Reference

#include <BmnSiProf.h>

Inheritance diagram for BmnSiProf:
Collaboration diagram for BmnSiProf:

Public Member Functions

 BmnSiProf (const char *name, Bool_t active)
 BmnSiProf ()
virtual ~BmnSiProf ()
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

BmnSiProfPoint * 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 ()
 BmnSiProf (const BmnSiProf &)=delete
BmnSiProf operator= (const BmnSiProf &)=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.

Detailed Description

Definition at line 13 of file BmnSiProf.h.

Constructor & Destructor Documentation

◆ BmnSiProf() [1/3]

BmnSiProf::BmnSiProf ( const char * name,
Bool_t active )

Definition at line 31 of file BmnSiProf.cxx.

References fPointCollection, fPosIndex, and ResetParameters().

Referenced by BmnSiProf(), and operator=().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ BmnSiProf() [2/3]

BmnSiProf::BmnSiProf ( )

Definition at line 22 of file BmnSiProf.cxx.

References fPointCollection, fPosIndex, and ResetParameters().

Here is the call graph for this function:

◆ ~BmnSiProf()

BmnSiProf::~BmnSiProf ( )
virtual

Definition at line 40 of file BmnSiProf.cxx.

References fPointCollection.

◆ BmnSiProf() [3/3]

BmnSiProf::BmnSiProf ( const BmnSiProf & )
privatedelete

References BmnSiProf().

Here is the call graph for this function:

Member Function Documentation

◆ AddHit()

BmnSiProfPoint * BmnSiProf::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 )
private

Definition at line 385 of file BmnSiProf.cxx.

References TObjArray::At(), fPointCollection, TObjArray::GetEntriesFast(), BmnSiProfPoint::SetModule(), and BmnSiProfPoint::SetStation().

Referenced by ProcessHits().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CheckIfSensitive()

Bool_t BmnSiProf::CheckIfSensitive ( std::string name)
virtual

Definition at line 374 of file BmnSiProf.cxx.

References TString::Contains().

Here is the call graph for this function:

◆ ConstructGDMLGeometry()

void BmnSiProf::ConstructGDMLGeometry ( TGeoMatrix * )
virtual

Definition at line 218 of file BmnSiProf.cxx.

References ExpandNodeForGdml(), TGDMLParse::GDMLReadFile(), TGeoMedium::GetId(), TNamed::GetName(), and m.

Referenced by ConstructGeometry().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ConstructGeometry()

void BmnSiProf::ConstructGeometry ( )
virtual

Definition at line 196 of file BmnSiProf.cxx.

References ConstructGDMLGeometry(), TString::Data(), and TString::EndsWith().

Here is the call graph for this function:

◆ CopyClones()

void BmnSiProf::CopyClones ( TClonesArray * cl1,
TClonesArray * cl2,
Int_t offset )
virtual

Definition at line 178 of file BmnSiProf.cxx.

References TObjArray::At(), fPosIndex, TObjArray::GetEntriesFast(), and i.

Here is the call graph for this function:

◆ EndOfEvent()

void BmnSiProf::EndOfEvent ( )
virtual

Definition at line 140 of file BmnSiProf.cxx.

References fPointCollection, fPosIndex, and Print().

Here is the call graph for this function:

◆ ExpandNodeForGdml()

void BmnSiProf::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 263 of file BmnSiProf.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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetCollection()

TClonesArray * BmnSiProf::GetCollection ( Int_t iColl) const
virtual

Definition at line 153 of file BmnSiProf.cxx.

References fPointCollection.

◆ operator=()

BmnSiProf BmnSiProf::operator= ( const BmnSiProf & )
privatedelete

References BmnSiProf().

Here is the call graph for this function:

◆ Print()

void BmnSiProf::Print ( Option_t * ) const
virtual

Definition at line 160 of file BmnSiProf.cxx.

References fPointCollection, and i.

Referenced by EndOfEvent().

Here is the caller graph for this function:

◆ ProcessHits()

Bool_t BmnSiProf::ProcessHits ( FairVolume * vol = 0)
virtual

Definition at line 50 of file BmnSiProf.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(), kSiProf, TVector3::Mag(), ResetParameters(), TVector3::SetMag(), TLorentzVector::X(), TLorentzVector::Y(), and TLorentzVector::Z().

Here is the call graph for this function:

◆ Register()

void BmnSiProf::Register ( )
virtual

Definition at line 148 of file BmnSiProf.cxx.

References fPointCollection.

◆ Reset()

void BmnSiProf::Reset ( )
virtual

Definition at line 172 of file BmnSiProf.cxx.

References fPointCollection, and ResetParameters().

Here is the call graph for this function:

◆ ResetParameters()

void BmnSiProf::ResetParameters ( )
inlineprivate

Definition at line 110 of file BmnSiProf.h.

References fELoss, fLength, fMomIn, fMomOut, fPosIn, fPosIndex, fPosOut, fTime, fTrackID, and fVolumeID.

Referenced by BmnSiProf(), BmnSiProf(), ProcessHits(), and Reset().

Here is the caller graph for this function:

Member Data Documentation

◆ fCharge

Double_t BmnSiProf::fCharge
private

Definition at line 77 of file BmnSiProf.h.

Referenced by ProcessHits().

◆ fELoss

Double32_t BmnSiProf::fELoss
private

Definition at line 75 of file BmnSiProf.h.

Referenced by ProcessHits(), and ResetParameters().

◆ fFixedMedia

std::map<TString, TGeoMedium*> BmnSiProf::fFixedMedia
private

Definition at line 83 of file BmnSiProf.h.

Referenced by ExpandNodeForGdml().

◆ fIsPrimary

Int_t BmnSiProf::fIsPrimary
private

Definition at line 76 of file BmnSiProf.h.

Referenced by ProcessHits().

◆ fLength

Double32_t BmnSiProf::fLength
private

Definition at line 74 of file BmnSiProf.h.

Referenced by ProcessHits(), and ResetParameters().

◆ fMomIn

TVector3 BmnSiProf::fMomIn
private

Definition at line 71 of file BmnSiProf.h.

Referenced by ProcessHits(), and ResetParameters().

◆ fMomOut

TVector3 BmnSiProf::fMomOut
private

Definition at line 72 of file BmnSiProf.h.

Referenced by ProcessHits(), and ResetParameters().

◆ fPdgId

Int_t BmnSiProf::fPdgId
private

Definition at line 78 of file BmnSiProf.h.

Referenced by ProcessHits().

◆ fPointCollection

TClonesArray* BmnSiProf::fPointCollection
private

◆ fPosIn

TVector3 BmnSiProf::fPosIn
private

Definition at line 69 of file BmnSiProf.h.

Referenced by ProcessHits(), and ResetParameters().

◆ fPosIndex

Int_t BmnSiProf::fPosIndex
private

Definition at line 80 of file BmnSiProf.h.

Referenced by BmnSiProf(), BmnSiProf(), CopyClones(), EndOfEvent(), and ResetParameters().

◆ fPosOut

TVector3 BmnSiProf::fPosOut
private

Definition at line 70 of file BmnSiProf.h.

Referenced by ProcessHits(), and ResetParameters().

◆ fTime

Double32_t BmnSiProf::fTime
private

Definition at line 73 of file BmnSiProf.h.

Referenced by ProcessHits(), and ResetParameters().

◆ fTrackID

Int_t BmnSiProf::fTrackID
private

Definition at line 67 of file BmnSiProf.h.

Referenced by ProcessHits(), and ResetParameters().

◆ fVolumeID

Int_t BmnSiProf::fVolumeID
private

Definition at line 68 of file BmnSiProf.h.

Referenced by ProcessHits(), and ResetParameters().


The documentation for this class was generated from the following files: