BmnRoot
Loading...
Searching...
No Matches
BmnNdetGeo Class Reference

#include <BmnNdetGeo.h>

Inheritance diagram for BmnNdetGeo:
[legend]
Collaboration diagram for BmnNdetGeo:
[legend]

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
 
 BmnGeoTemplate ()=default
 
virtual ~BmnGeoTemplate ()=default
 
virtual ~BmnGeoTemplate ()=default
 
BmnStatus ReadGeometryFromGeoManager (bool getGlobalPosition=true)
 
BmnStatus ReadGeometryFromGeoManager (bool getGlobalPosition=true)
 
BmnStatus ReadGeometryFromFile (const std::string &path, bool getGlobalPosition=true)
 
BmnStatus ReadGeometryFromFile (const std::string &path, bool getGlobalPosition=true)
 
void ListNodes ()
 
void ListNodes ()
 
bool IsPointInside (const TVector3 &p) const
 
bool IsPointInside (const TVector3 &p) const
 
const auto & GetPositionMap () const
 
const auto & GetPositionMap () const
 

Static Public Member Functions

static std::pair< BoxFace, DirectionGetEnteredFace (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, DirectionGetEnteredFace (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.
 
const char * Name () const
 Helper to call the FairGeoSet::GetName() on the actual object.
 
void ListNodesImpl ()
 
void ListNodesImpl ()
 
TVector3 GetPosError (TGeoNode *node) const
 by default: box‐half‐sizes
 
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]

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

Definition at line 43 of file BmnNdetGeo.h.

References BmnNdetGeoPar::CheckIfSensitive().

◆ CheckIfSensitive() [2/2]

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

Definition at line 43 of file BmnNdetGeo.h.

References BmnNdetGeoPar::CheckIfSensitive().

◆ DetectorVolumeName() [1/2]

static const char * BmnNdetGeo::DetectorVolumeName ( )
inlinestatic

Definition at line 45 of file BmnNdetGeo.h.

References BmnNdetGeoPar::fDetectorVolumeName.

◆ DetectorVolumeName() [2/2]

static 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(), and m.

Referenced by BmnNdet::ProcessHits().

◆ GetAddressFromPath() [2/2]

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

Definition at line 48 of file BmnNdetGeo.h.

References BmnNdetAddress::GetAddress(), and m.

◆ GetArmFromPath() [1/2]

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

Definition at line 64 of file BmnNdetGeo.h.

References m.

Referenced by BmnNdet::ProcessHits().

◆ GetArmFromPath() [2/2]

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

Definition at line 64 of file BmnNdetGeo.h.

References 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, FromInside, FromOutside, Unknown, Xminus, Xplus, Yminus, Yplus, Zminus, and Zplus.

Referenced by BmnNdet::ProcessHits().

◆ GetEnteredFace() [2/2]

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

◆ PathBeforeLocalSystem() [1/2]

static const char * BmnNdetGeo::PathBeforeLocalSystem ( )
inlinestatic

Definition at line 44 of file BmnNdetGeo.h.

References BmnNdetGeoPar::fPathBeforeLocalSystem.

◆ PathBeforeLocalSystem() [2/2]

static const char * BmnNdetGeo::PathBeforeLocalSystem ( )
inlinestatic

Definition at line 44 of file BmnNdetGeo.h.

References BmnNdetGeoPar::fPathBeforeLocalSystem.

◆ TopVolumeName() [1/2]

static const char * BmnNdetGeo::TopVolumeName ( )
inlinestatic

Definition at line 46 of file BmnNdetGeo.h.

References BmnNdetGeoPar::fTopVolumeName.

◆ TopVolumeName() [2/2]

static 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: