BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnSiBT Class Reference

#include <BmnSiBT.h>

Inheritance diagram for BmnSiBT:
Collaboration diagram for BmnSiBT:

Public Member Functions

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

BmnSiBTPoint * 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)
 List of media "repaired" after importing GMDL.
void ResetParameters ()
 BmnSiBT (const BmnSiBT &)=delete
BmnSiBT operator= (const BmnSiBT &)=delete
BmnSiBTPoint * 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)
 List of media "repaired" after importing GMDL.
void ResetParameters ()
 BmnSiBT (const BmnSiBT &)=delete
BmnSiBT operator= (const BmnSiBT &)=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 12 of file BmnSiBT.h.

Constructor & Destructor Documentation

◆ BmnSiBT() [1/6]

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

Definition at line 31 of file BmnSiBT.cxx.

References fPointCollection, fPosIndex, and ResetParameters().

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

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

◆ BmnSiBT() [2/6]

BmnSiBT::BmnSiBT ( )

Definition at line 22 of file BmnSiBT.cxx.

References fPointCollection, fPosIndex, and ResetParameters().

Here is the call graph for this function:

◆ ~BmnSiBT() [1/2]

BmnSiBT::~BmnSiBT ( )
virtual

Definition at line 40 of file BmnSiBT.cxx.

References fPointCollection.

◆ BmnSiBT() [3/6]

BmnSiBT::BmnSiBT ( const BmnSiBT & )
privatedelete

References BmnSiBT().

Here is the call graph for this function:

◆ BmnSiBT() [4/6]

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

◆ BmnSiBT() [5/6]

BmnSiBT::BmnSiBT ( )

◆ ~BmnSiBT() [2/2]

virtual BmnSiBT::~BmnSiBT ( )
virtual

◆ BmnSiBT() [6/6]

BmnSiBT::BmnSiBT ( const BmnSiBT & )
privatedelete

References BmnSiBT().

Here is the call graph for this function:

Member Function Documentation

◆ AddHit() [1/2]

BmnSiBTPoint * BmnSiBT::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 BmnSiBT.cxx.

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

Referenced by ProcessHits().

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

◆ AddHit() [2/2]

BmnSiBTPoint * BmnSiBT::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

◆ CheckIfSensitive() [1/2]

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

Definition at line 374 of file BmnSiBT.cxx.

References TString::Contains().

Here is the call graph for this function:

◆ CheckIfSensitive() [2/2]

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

◆ ConstructGDMLGeometry() [1/2]

void BmnSiBT::ConstructGDMLGeometry ( TGeoMatrix * )
virtual

Definition at line 218 of file BmnSiBT.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:

◆ ConstructGDMLGeometry() [2/2]

virtual void BmnSiBT::ConstructGDMLGeometry ( TGeoMatrix * )
virtual

◆ ConstructGeometry() [1/2]

void BmnSiBT::ConstructGeometry ( )
virtual

Definition at line 196 of file BmnSiBT.cxx.

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

Here is the call graph for this function:

◆ ConstructGeometry() [2/2]

virtual void BmnSiBT::ConstructGeometry ( )
virtual

◆ CopyClones() [1/2]

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

Definition at line 178 of file BmnSiBT.cxx.

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

Here is the call graph for this function:

◆ CopyClones() [2/2]

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

◆ EndOfEvent() [1/2]

void BmnSiBT::EndOfEvent ( )
virtual

Definition at line 140 of file BmnSiBT.cxx.

References fPointCollection, fPosIndex, and Print().

Here is the call graph for this function:

◆ EndOfEvent() [2/2]

virtual void BmnSiBT::EndOfEvent ( )
virtual

◆ ExpandNodeForGdml() [1/2]

void BmnSiBT::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 BmnSiBT.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:

◆ ExpandNodeForGdml() [2/2]

void BmnSiBT::ExpandNodeForGdml ( TGeoNode * node)

◆ GetCollection() [1/2]

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

Definition at line 153 of file BmnSiBT.cxx.

References fPointCollection.

◆ GetCollection() [2/2]

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

◆ operator=() [1/2]

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

References BmnSiBT().

Here is the call graph for this function:

◆ operator=() [2/2]

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

References BmnSiBT().

Here is the call graph for this function:

◆ Print() [1/2]

void BmnSiBT::Print ( Option_t * ) const
virtual

Definition at line 160 of file BmnSiBT.cxx.

References fPointCollection, and i.

Referenced by EndOfEvent().

Here is the caller graph for this function:

◆ Print() [2/2]

virtual void BmnSiBT::Print ( Option_t * ) const
virtual

◆ ProcessHits() [1/2]

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

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

Here is the call graph for this function:

◆ ProcessHits() [2/2]

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

◆ Register() [1/2]

void BmnSiBT::Register ( )
virtual

Definition at line 148 of file BmnSiBT.cxx.

References fPointCollection.

◆ Register() [2/2]

virtual void BmnSiBT::Register ( )
virtual

◆ Reset() [1/2]

void BmnSiBT::Reset ( )
virtual

Definition at line 172 of file BmnSiBT.cxx.

References fPointCollection, and ResetParameters().

Here is the call graph for this function:

◆ Reset() [2/2]

virtual void BmnSiBT::Reset ( )
virtual

◆ ResetParameters() [1/2]

void BmnSiBT::ResetParameters ( )
inlineprivate

Definition at line 108 of file BmnSiBT.h.

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

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

Here is the caller graph for this function:

◆ ResetParameters() [2/2]

void BmnSiBT::ResetParameters ( )
private

Member Data Documentation

◆ fCharge

Double_t BmnSiBT::fCharge
private

Definition at line 75 of file BmnSiBT.h.

Referenced by CheckIfSensitive(), and ProcessHits().

◆ fELoss

Double32_t BmnSiBT::fELoss
private

Definition at line 73 of file BmnSiBT.h.

Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().

◆ fFixedMedia

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

Definition at line 81 of file BmnSiBT.h.

Referenced by CheckIfSensitive(), and ExpandNodeForGdml().

◆ fIsPrimary

Int_t BmnSiBT::fIsPrimary
private

Definition at line 74 of file BmnSiBT.h.

Referenced by CheckIfSensitive(), and ProcessHits().

◆ fLength

Double32_t BmnSiBT::fLength
private

Definition at line 72 of file BmnSiBT.h.

Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().

◆ fMomIn

TVector3 BmnSiBT::fMomIn
private

Definition at line 69 of file BmnSiBT.h.

Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().

◆ fMomOut

TVector3 BmnSiBT::fMomOut
private

Definition at line 70 of file BmnSiBT.h.

Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().

◆ fPdgId

Int_t BmnSiBT::fPdgId
private

Definition at line 76 of file BmnSiBT.h.

Referenced by CheckIfSensitive(), and ProcessHits().

◆ fPointCollection

TClonesArray * BmnSiBT::fPointCollection
private

◆ fPosIn

TVector3 BmnSiBT::fPosIn
private

Definition at line 67 of file BmnSiBT.h.

Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().

◆ fPosIndex

Int_t BmnSiBT::fPosIndex
private

Definition at line 78 of file BmnSiBT.h.

Referenced by BmnSiBT(), BmnSiBT(), CheckIfSensitive(), CopyClones(), EndOfEvent(), and ResetParameters().

◆ fPosOut

TVector3 BmnSiBT::fPosOut
private

Definition at line 68 of file BmnSiBT.h.

Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().

◆ fTime

Double32_t BmnSiBT::fTime
private

Definition at line 71 of file BmnSiBT.h.

Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().

◆ fTrackID

Int_t BmnSiBT::fTrackID
private

Definition at line 65 of file BmnSiBT.h.

Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().

◆ fVolumeID

Int_t BmnSiBT::fVolumeID
private

Definition at line 66 of file BmnSiBT.h.

Referenced by CheckIfSensitive(), ProcessHits(), and ResetParameters().


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