GeometryManager class.
More...
#include "GeometryManager.h"
GeometryManager class.
Definition at line 20 of file GeometryManager.h.
◆ HitTypeToGranularityMap
◆ SubDetectorTypeMap
◆ GeometryManager()
pandora::GeometryManager::GeometryManager |
( |
const Pandora *const |
pPandora | ) |
|
Constructor.
- Parameters
-
pPandora | address of the associated pandora object |
Definition at line 22 of file GeometryManager.cc.
◆ ~GeometryManager()
pandora::GeometryManager::~GeometryManager |
( |
| ) |
|
◆ CreateGap()
template<typename PARAMETERS , typename OBJECT >
template StatusCode pandora::GeometryManager::CreateGap |
( |
const PARAMETERS & |
parameters, |
|
|
const ObjectFactory< PARAMETERS, OBJECT > & |
factory |
|
) |
| |
|
private |
Create gap.
- Parameters
-
parameters | the gap parameters |
factory | the factory that performs the object allocation |
Definition at line 140 of file GeometryManager.cc.
◆ CreateLArTPC()
Create lar tpc.
- Parameters
-
parameters | the lar tpc parameters |
factory | the factory that performs the object allocation |
Definition at line 114 of file GeometryManager.cc.
◆ CreateSubDetector()
Create sub detector.
- Parameters
-
parameters | the sub detector parameters |
factory | the factory that performs the object allocation |
Definition at line 87 of file GeometryManager.cc.
◆ EraseAllContent()
StatusCode pandora::GeometryManager::EraseAllContent |
( |
| ) |
|
|
private |
◆ GetDefaultHitTypeToGranularityMap()
Get the default hit type to granularity map.
- Returns
- the default hit type to granularity map
Definition at line 187 of file GeometryManager.cc.
◆ GetDetectorGapList()
const DetectorGapList & pandora::GeometryManager::GetDetectorGapList |
( |
| ) |
const |
|
inline |
Get the list of gaps in the active detector volume.
- Returns
- the list of gaps in the active detector volume
Definition at line 170 of file GeometryManager.h.
◆ GetHitTypeGranularity()
Granularity pandora::GeometryManager::GetHitTypeGranularity |
( |
const HitType |
hitType | ) |
const |
Get the granularity level specified for a given calorimeter hit type.
- Parameters
-
hitType | the calorimeter hit type |
- Returns
- the granularity
Definition at line 74 of file GeometryManager.cc.
◆ GetLArTPC()
const LArTPC & pandora::GeometryManager::GetLArTPC |
( |
| ) |
const |
If there is exactly one registered lar tpc instance, return it; else raise an exception.
- Returns
- the lar tpc instance
Definition at line 64 of file GeometryManager.cc.
◆ GetLArTPCMap()
const LArTPCMap & pandora::GeometryManager::GetLArTPCMap |
( |
| ) |
const |
|
inline |
Get the map from name to lar tpc parameters.
- Returns
- the map from name to lar tpc paramters
Definition at line 163 of file GeometryManager.h.
◆ GetSubDetector() [1/2]
const SubDetector & pandora::GeometryManager::GetSubDetector |
( |
const std::string & |
subDetectorName | ) |
const |
Get the sub detector corresponding to a specified name.
- Parameters
-
subDetectorName | the sub detector name |
- Returns
- the sub detector
Definition at line 37 of file GeometryManager.cc.
◆ GetSubDetector() [2/2]
Get the sub detector corresponding to a specified type. Will throw exception if there is not exactly one subdetector registered with the specified type.
- Parameters
-
subDetectorType | the sub detector type |
- Returns
- the sub detector
Definition at line 49 of file GeometryManager.cc.
◆ GetSubDetectorMap()
const SubDetectorMap & pandora::GeometryManager::GetSubDetectorMap |
( |
| ) |
const |
|
inline |
Get the map from name to sub detector parameters.
- Returns
- the map from name to sub detector parameters
Definition at line 156 of file GeometryManager.h.
◆ SetHitTypeGranularity()
Set the granularity level to be associated with a specified hit type.
- Parameters
-
hitType | the specified hit type |
granularity | the specified granularity |
Definition at line 208 of file GeometryManager.cc.
◆ PandoraApiImpl
◆ m_detectorGapList
◆ m_hitTypeToGranularityMap
◆ m_larTPCMap
LArTPCMap pandora::GeometryManager::m_larTPCMap |
|
private |
◆ m_pPandora
const Pandora* const pandora::GeometryManager::m_pPandora |
|
private |
◆ m_subDetectorMap
◆ m_subDetectorTypeMap
The documentation for this class was generated from the following files: