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

#include <BmnNdetGeo.h>

Inheritance diagram for BmnNdetGeo:
Collaboration diagram for BmnNdetGeo:

Public Types

enum class  BoxFace {
  Unknown , Xminus , Xplus , Yminus ,
  Yplus , Zminus , Zplus , Unknown ,
  Xminus , Xplus , Yminus , Yplus ,
  Zminus , Zplus
}
enum class  Direction {
  Unknown , FromInside , FromOutside , Unknown ,
  FromInside , FromOutside
}
enum class  BoxFace {
  Unknown , Xminus , Xplus , Yminus ,
  Yplus , Zminus , Zplus , Unknown ,
  Xminus , Xplus , Yminus , Yplus ,
  Zminus , Zplus
}
enum class  Direction {
  Unknown , FromInside , FromOutside , Unknown ,
  FromInside , FromOutside
}

Public Member Functions

 BmnNdetGeo ()
uint32_t GetAddressFromPath (const std::string &spath) const
uint8_t GetArmFromPath (const std::string &spath) const
 BmnNdetGeo ()
uint32_t GetAddressFromPath (const std::string &spath) const
uint8_t GetArmFromPath (const std::string &spath) const
Public Member Functions inherited from BmnGeoTemplate< BmnNdetGeo >
 BmnGeoTemplate ()=default
virtual ~BmnGeoTemplate ()=default
BmnStatus ReadGeometryFromGeoManager (bool getGlobalPosition=true)
BmnStatus ReadGeometryFromFile (const std::string &path, bool getGlobalPosition=true)
void ListNodes ()
bool IsPointInside (const TVector3 &p) const
const auto & GetPositionMap () const

Static Public Member Functions

static std::pair< BoxFace, Direction > GetEnteredFace (const TVector3 &globalPos, const TVector3 &globalMom)
static bool CheckIfSensitive (const std::string &vol)
static const char * PathBeforeLocalSystem ()
static const char * DetectorVolumeName ()
static const char * TopVolumeName ()
static std::pair< BoxFace, Direction > GetEnteredFace (const TVector3 &globalPos, const TVector3 &globalMom)
static bool CheckIfSensitive (const std::string &vol)
static const char * PathBeforeLocalSystem ()
static const char * DetectorVolumeName ()
static const char * TopVolumeName ()

Additional Inherited Members

Protected Member Functions inherited from BmnGeoTemplate< BmnNdetGeo >
const char * Name () const
 Helper to call the FairGeoSet::GetName() on the actual object.
void ListNodesImpl ()
TVector3 GetPosError (TGeoNode *node) const
 by default: box‐half‐sizes
Protected Attributes inherited from BmnGeoTemplate< BmnNdetGeo >
std::map< uint32_t, std::pair< TVector3, TVector3 > > fPositionMap

Detailed Description

Definition at line 14 of file BmnNdetGeo.h.

Member Enumeration Documentation

◆ BoxFace [1/2]

enum class BmnNdetGeo::BoxFace
strong
Enumerator
Unknown 
Xminus 
Xplus 
Yminus 
Yplus 
Zminus 
Zplus 
Unknown 
Xminus 
Xplus 
Yminus 
Yplus 
Zminus 
Zplus 

Definition at line 25 of file BmnNdetGeo.h.

◆ BoxFace [2/2]

enum class BmnNdetGeo::BoxFace
strong
Enumerator
Unknown 
Xminus 
Xplus 
Yminus 
Yplus 
Zminus 
Zplus 
Unknown 
Xminus 
Xplus 
Yminus 
Yplus 
Zminus 
Zplus 

Definition at line 25 of file BmnNdetGeo.h.

◆ Direction [1/2]

enum class BmnNdetGeo::Direction
strong
Enumerator
Unknown 
FromInside 
FromOutside 
Unknown 
FromInside 
FromOutside 

Definition at line 35 of file BmnNdetGeo.h.

◆ Direction [2/2]

enum class BmnNdetGeo::Direction
strong
Enumerator
Unknown 
FromInside 
FromOutside 
Unknown 
FromInside 
FromOutside 

Definition at line 35 of file BmnNdetGeo.h.

Constructor & Destructor Documentation

◆ BmnNdetGeo() [1/2]

BmnNdetGeo::BmnNdetGeo ( )
inline

Definition at line 19 of file BmnNdetGeo.h.

◆ BmnNdetGeo() [2/2]

BmnNdetGeo::BmnNdetGeo ( )
inline

Definition at line 19 of file BmnNdetGeo.h.

Member Function Documentation

◆ CheckIfSensitive() [1/2]

bool BmnNdetGeo::CheckIfSensitive ( const std::string & vol)
inlinestatic

Definition at line 43 of file BmnNdetGeo.h.

References BmnNdetGeoPar::CheckIfSensitive().

Here is the call graph for this function:

◆ CheckIfSensitive() [2/2]

bool BmnNdetGeo::CheckIfSensitive ( const std::string & vol)
inlinestatic

Definition at line 43 of file BmnNdetGeo.h.

References BmnNdetGeoPar::CheckIfSensitive().

Here is the call graph for this function:

◆ DetectorVolumeName() [1/2]

const char * BmnNdetGeo::DetectorVolumeName ( )
inlinestatic

Definition at line 45 of file BmnNdetGeo.h.

References BmnNdetGeoPar::fDetectorVolumeName.

◆ DetectorVolumeName() [2/2]

const char * BmnNdetGeo::DetectorVolumeName ( )
inlinestatic

Definition at line 45 of file BmnNdetGeo.h.

References BmnNdetGeoPar::fDetectorVolumeName.

◆ GetAddressFromPath() [1/2]

uint32_t BmnNdetGeo::GetAddressFromPath ( const std::string & spath) const
inline

Definition at line 48 of file BmnNdetGeo.h.

References BmnNdetAddress::GetAddress(), kNdetRegex, and m.

Here is the call graph for this function:

◆ GetAddressFromPath() [2/2]

uint32_t BmnNdetGeo::GetAddressFromPath ( const std::string & spath) const
inline

Definition at line 48 of file BmnNdetGeo.h.

References BmnNdetAddress::GetAddress(), kNdetRegex, and m.

Here is the call graph for this function:

◆ GetArmFromPath() [1/2]

uint8_t BmnNdetGeo::GetArmFromPath ( const std::string & spath) const
inline

Definition at line 64 of file BmnNdetGeo.h.

References kArmRegex, and m.

◆ GetArmFromPath() [2/2]

uint8_t BmnNdetGeo::GetArmFromPath ( const std::string & spath) const
inline

Definition at line 64 of file BmnNdetGeo.h.

References kArmRegex, and m.

◆ GetEnteredFace() [1/2]

std::pair< BmnNdetGeo::BoxFace, BmnNdetGeo::Direction > BmnNdetGeo::GetEnteredFace ( const TVector3 & globalPos,
const TVector3 & globalMom )
static

Definition at line 7 of file BmnNdetGeo.cxx.

References d, TVector3::Dot(), FromInside, FromOutside, TGeoNode::GetVolume(), Unknown, TVector3::X(), Xminus, Xplus, TVector3::Y(), Yminus, Yplus, TVector3::Z(), Zminus, and Zplus.

Here is the call graph for this function:

◆ GetEnteredFace() [2/2]

std::pair< BoxFace, Direction > BmnNdetGeo::GetEnteredFace ( const TVector3 & globalPos,
const TVector3 & globalMom )
static

◆ PathBeforeLocalSystem() [1/2]

const char * BmnNdetGeo::PathBeforeLocalSystem ( )
inlinestatic

Definition at line 44 of file BmnNdetGeo.h.

References BmnNdetGeoPar::fPathBeforeLocalSystem.

◆ PathBeforeLocalSystem() [2/2]

const char * BmnNdetGeo::PathBeforeLocalSystem ( )
inlinestatic

Definition at line 44 of file BmnNdetGeo.h.

References BmnNdetGeoPar::fPathBeforeLocalSystem.

◆ TopVolumeName() [1/2]

const char * BmnNdetGeo::TopVolumeName ( )
inlinestatic

Definition at line 46 of file BmnNdetGeo.h.

References BmnNdetGeoPar::fTopVolumeName.

◆ TopVolumeName() [2/2]

const char * BmnNdetGeo::TopVolumeName ( )
inlinestatic

Definition at line 46 of file BmnNdetGeo.h.

References BmnNdetGeoPar::fTopVolumeName.


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