BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnGeoTemplate< Derived > Class Template Reference

#include <BmnGeoTemplate.h>

Inheritance diagram for BmnGeoTemplate< Derived >:

Public Member Functions

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

Protected Member Functions

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

std::map< uint32_t, std::pair< TVector3, TVector3 > > fPositionMap

Detailed Description

template<class Derived>
class BmnGeoTemplate< Derived >

Definition at line 25 of file BmnGeoTemplate.h.

Constructor & Destructor Documentation

◆ BmnGeoTemplate() [1/2]

template<class Derived>
BmnGeoTemplate< Derived >::BmnGeoTemplate ( )
default

Referenced by Name().

Here is the caller graph for this function:

◆ ~BmnGeoTemplate() [1/2]

template<class Derived>
virtual BmnGeoTemplate< Derived >::~BmnGeoTemplate ( )
virtualdefault

◆ BmnGeoTemplate() [2/2]

template<class Derived>
BmnGeoTemplate< Derived >::BmnGeoTemplate ( )
default

◆ ~BmnGeoTemplate() [2/2]

template<class Derived>
virtual BmnGeoTemplate< Derived >::~BmnGeoTemplate ( )
virtualdefault

Member Function Documentation

◆ GetPosError() [1/2]

template<class Derived>
TVector3 BmnGeoTemplate< Derived >::GetPosError ( TGeoNode * node) const
inlineprotected

Definition at line 149 of file BmnGeoTemplate.h.

References TGeoVolume::GetShape(), and TGeoNode::GetVolume().

Referenced by ListNodesImpl().

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

◆ GetPosError() [2/2]

template<class Derived>
TVector3 BmnGeoTemplate< Derived >::GetPosError ( TGeoNode * node) const
inlineprotected

Definition at line 149 of file BmnGeoTemplate.h.

References TGeoVolume::GetShape(), and TGeoNode::GetVolume().

Here is the call graph for this function:

◆ GetPositionMap() [1/2]

template<class Derived>
const auto & BmnGeoTemplate< Derived >::GetPositionMap ( ) const
inline

Definition at line 119 of file BmnGeoTemplate.h.

References fPositionMap.

Referenced by BmnFHCalReconstructor::ParseGeometry(), BmnHodoReconstructor::ParseGeometry(), and BmnScWallReconstructor::ParseGeometry().

Here is the caller graph for this function:

◆ GetPositionMap() [2/2]

template<class Derived>
const auto & BmnGeoTemplate< Derived >::GetPositionMap ( ) const
inline

Definition at line 119 of file BmnGeoTemplate.h.

References fPositionMap.

◆ IsPointInside() [1/2]

template<class Derived>
bool BmnGeoTemplate< Derived >::IsPointInside ( const TVector3 & p) const
inline

Definition at line 106 of file BmnGeoTemplate.h.

References TString::Contains(), TVector3::X(), TVector3::Y(), and TVector3::Z().

Here is the call graph for this function:

◆ IsPointInside() [2/2]

template<class Derived>
bool BmnGeoTemplate< Derived >::IsPointInside ( const TVector3 & p) const
inline

Definition at line 106 of file BmnGeoTemplate.h.

References TString::Contains(), TVector3::X(), TVector3::Y(), and TVector3::Z().

Here is the call graph for this function:

◆ ListNodes() [1/2]

template<class Derived>
void BmnGeoTemplate< Derived >::ListNodes ( )
inline

Definition at line 84 of file BmnGeoTemplate.h.

References fPositionMap, ListNodesImpl(), and Name().

Referenced by ReadGeometryFromGeoManager().

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

◆ ListNodes() [2/2]

template<class Derived>
void BmnGeoTemplate< Derived >::ListNodes ( )
inline

Definition at line 84 of file BmnGeoTemplate.h.

References fPositionMap, ListNodesImpl(), and Name().

Here is the call graph for this function:

◆ ListNodesImpl() [1/2]

template<class Derived>
void BmnGeoTemplate< Derived >::ListNodesImpl ( )
inlineprotected

Definition at line 126 of file BmnGeoTemplate.h.

References fPositionMap, GetPosError(), i, and n.

Referenced by ListNodes().

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

◆ ListNodesImpl() [2/2]

template<class Derived>
void BmnGeoTemplate< Derived >::ListNodesImpl ( )
inlineprotected

Definition at line 126 of file BmnGeoTemplate.h.

References fPositionMap, GetPosError(), i, and n.

Here is the call graph for this function:

◆ Name() [1/2]

template<class Derived>
const char * BmnGeoTemplate< Derived >::Name ( ) const
inlineprotected

Definition at line 123 of file BmnGeoTemplate.h.

References BmnGeoTemplate().

Referenced by ListNodes(), ReadGeometryFromFile(), and ReadGeometryFromGeoManager().

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

◆ Name() [2/2]

template<class Derived>
const char * BmnGeoTemplate< Derived >::Name ( ) const
inlineprotected

Definition at line 123 of file BmnGeoTemplate.h.

References BmnGeoTemplate().

Here is the call graph for this function:

◆ ReadGeometryFromFile() [1/2]

template<class Derived>
BmnStatus BmnGeoTemplate< Derived >::ReadGeometryFromFile ( const std::string & path,
bool getGlobalPosition = true )
inline

Definition at line 59 of file BmnGeoTemplate.h.

References TString::Data(), f, kBMNERROR, kBMNSUCCESS, Name(), and ReadGeometryFromGeoManager().

Here is the call graph for this function:

◆ ReadGeometryFromFile() [2/2]

template<class Derived>
BmnStatus BmnGeoTemplate< Derived >::ReadGeometryFromFile ( const std::string & path,
bool getGlobalPosition = true )
inline

Definition at line 59 of file BmnGeoTemplate.h.

References TString::Data(), f, kBMNERROR, kBMNSUCCESS, Name(), and ReadGeometryFromGeoManager().

Here is the call graph for this function:

◆ ReadGeometryFromGeoManager() [1/2]

template<class Derived>
BmnStatus BmnGeoTemplate< Derived >::ReadGeometryFromGeoManager ( bool getGlobalPosition = true)
inline

Definition at line 32 of file BmnGeoTemplate.h.

References kBMNERROR, kBMNSUCCESS, ListNodes(), and Name().

Referenced by BmnFHCalReconstructor::ParseGeometry(), BmnHodoReconstructor::ParseGeometry(), BmnScWallReconstructor::ParseGeometry(), and ReadGeometryFromFile().

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

◆ ReadGeometryFromGeoManager() [2/2]

template<class Derived>
BmnStatus BmnGeoTemplate< Derived >::ReadGeometryFromGeoManager ( bool getGlobalPosition = true)
inline

Definition at line 32 of file BmnGeoTemplate.h.

References kBMNERROR, kBMNSUCCESS, ListNodes(), and Name().

Here is the call graph for this function:

Member Data Documentation

◆ fPositionMap

template<class Derived>
std::map< uint32_t, std::pair< TVector3, TVector3 > > BmnGeoTemplate< Derived >::fPositionMap
protected

Definition at line 157 of file BmnGeoTemplate.h.

Referenced by GetPositionMap(), ListNodes(), and ListNodesImpl().


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