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

#include <BmnVSP.h>

Inheritance diagram for BmnVSP:
Collaboration diagram for BmnVSP:

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.

Detailed Description

Definition at line 13 of file BmnVSP.h.

Constructor & Destructor Documentation

◆ BmnVSP() [1/6]

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=().

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

◆ BmnVSP() [2/6]

BmnVSP::BmnVSP ( )

Definition at line 21 of file BmnVSP.cxx.

References fPointCollection, fPosIndex, and ResetParameters().

Here is the call graph for this function:

◆ ~BmnVSP() [1/2]

BmnVSP::~BmnVSP ( )
virtual

Definition at line 39 of file BmnVSP.cxx.

References fPointCollection.

◆ BmnVSP() [3/6]

BmnVSP::BmnVSP ( const BmnVSP & )
privatedelete

References BmnVSP().

Here is the call graph for this function:

◆ BmnVSP() [4/6]

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

◆ BmnVSP() [5/6]

BmnVSP::BmnVSP ( )

◆ ~BmnVSP() [2/2]

virtual BmnVSP::~BmnVSP ( )
virtual

◆ BmnVSP() [6/6]

BmnVSP::BmnVSP ( const BmnVSP & )
privatedelete

References BmnVSP().

Here is the call graph for this function:

Member Function Documentation

◆ AddHit() [1/2]

BmnVSPPoint * BmnVSP::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 )
private

Definition at line 398 of file BmnVSP.cxx.

References fPointCollection, and TObjArray::GetEntriesFast().

Referenced by ProcessHits().

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

◆ AddHit() [2/2]

BmnVSPPoint * BmnVSP::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 )
private

◆ CheckIfSensitive() [1/2]

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

Definition at line 387 of file BmnVSP.cxx.

References TString::Contains().

Here is the call graph for this function:

◆ CheckIfSensitive() [2/2]

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

◆ ConstructGDMLGeometry() [1/2]

void BmnVSP::ConstructGDMLGeometry ( TGeoMatrix * )
virtual

Definition at line 231 of file BmnVSP.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 BmnVSP::ConstructGDMLGeometry ( TGeoMatrix * )
virtual

◆ ConstructGeometry() [1/2]

void BmnVSP::ConstructGeometry ( )
virtual

Definition at line 209 of file BmnVSP.cxx.

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

Here is the call graph for this function:

◆ ConstructGeometry() [2/2]

virtual void BmnVSP::ConstructGeometry ( )
virtual

◆ CopyClones() [1/2]

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

Definition at line 191 of file BmnVSP.cxx.

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

Here is the call graph for this function:

◆ CopyClones() [2/2]

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

◆ EndOfEvent() [1/2]

void BmnVSP::EndOfEvent ( )
virtual

Definition at line 153 of file BmnVSP.cxx.

References fPointCollection, fPosIndex, and Print().

Here is the call graph for this function:

◆ EndOfEvent() [2/2]

virtual void BmnVSP::EndOfEvent ( )
virtual

◆ ExpandNodeForGdml() [1/2]

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().

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

◆ ExpandNodeForGdml() [2/2]

void BmnVSP::ExpandNodeForGdml ( TGeoNode * node)

◆ GetCollection() [1/2]

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

Definition at line 166 of file BmnVSP.cxx.

References fPointCollection.

◆ GetCollection() [2/2]

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

◆ operator=() [1/2]

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

References BmnVSP().

Here is the call graph for this function:

◆ operator=() [2/2]

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

References BmnVSP().

Here is the call graph for this function:

◆ Print() [1/2]

void BmnVSP::Print ( Option_t * ) const
virtual

Definition at line 173 of file BmnVSP.cxx.

References fPointCollection, and i.

Referenced by EndOfEvent().

Here is the caller graph for this function:

◆ Print() [2/2]

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

◆ ProcessHits() [1/2]

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

◆ ProcessHits() [2/2]

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

◆ Register() [1/2]

void BmnVSP::Register ( )
virtual

Definition at line 161 of file BmnVSP.cxx.

References fPointCollection.

◆ Register() [2/2]

virtual void BmnVSP::Register ( )
virtual

◆ Reset() [1/2]

void BmnVSP::Reset ( )
virtual

Definition at line 185 of file BmnVSP.cxx.

References fPointCollection, and ResetParameters().

Here is the call graph for this function:

◆ Reset() [2/2]

virtual void BmnVSP::Reset ( )
virtual

◆ ResetParameters() [1/2]

void BmnVSP::ResetParameters ( )
inlineprivate

Definition at line 106 of file BmnVSP.h.

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

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

Here is the caller graph for this function:

◆ ResetParameters() [2/2]

void BmnVSP::ResetParameters ( )
private

Member Data Documentation

◆ fCharge

Double_t BmnVSP::fCharge
private

Definition at line 75 of file BmnVSP.h.

Referenced by CheckIfSensitive(), and ProcessHits().

◆ fELoss

Double32_t BmnVSP::fELoss
private

Definition at line 73 of file BmnVSP.h.

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

◆ fFixedMedia

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

Definition at line 81 of file BmnVSP.h.

Referenced by CheckIfSensitive(), and ExpandNodeForGdml().

◆ fIsPrimary

Int_t BmnVSP::fIsPrimary
private

Definition at line 74 of file BmnVSP.h.

Referenced by CheckIfSensitive(), and ProcessHits().

◆ fLength

Double32_t BmnVSP::fLength
private

Definition at line 72 of file BmnVSP.h.

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

◆ fMomIn

TVector3 BmnVSP::fMomIn
private

Definition at line 69 of file BmnVSP.h.

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

◆ fMomOut

TVector3 BmnVSP::fMomOut
private

Definition at line 70 of file BmnVSP.h.

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

◆ fPdgId

Int_t BmnVSP::fPdgId
private

Definition at line 76 of file BmnVSP.h.

Referenced by CheckIfSensitive(), and ProcessHits().

◆ fPointCollection

TClonesArray * BmnVSP::fPointCollection
private

◆ fPosIn

TVector3 BmnVSP::fPosIn
private

Definition at line 67 of file BmnVSP.h.

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

◆ fPosIndex

Int_t BmnVSP::fPosIndex
private

Definition at line 78 of file BmnVSP.h.

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

◆ fPosOut

TVector3 BmnVSP::fPosOut
private

Definition at line 68 of file BmnVSP.h.

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

◆ fTime

Double32_t BmnVSP::fTime
private

Definition at line 71 of file BmnVSP.h.

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

◆ fTrackID

Int_t BmnVSP::fTrackID
private

Definition at line 65 of file BmnVSP.h.

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

◆ fVolumeID

Int_t BmnVSP::fVolumeID
private

Definition at line 66 of file BmnVSP.h.

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


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