CaloGeoParams reader class.
More...
#include <dataproviders/readers/event/ParametricGeoCaloReader.h>
CaloGeoParams reader class.
Class for reading the CaloGeoParams object from a GGS simulation file using the ParametricGeo geometry.
◆ ParametricGeoCaloReader()
Herd::Readers::ParametricGeoCaloReader::ParametricGeoCaloReader |
( |
std::shared_ptr< GGSTRootReader > |
ggsReader | ) |
|
|
inline |
◆ CaloHitIDFromGGSID()
unsigned int Herd::Readers::ParametricGeoCaloReader::CaloHitIDFromGGSID |
( |
int |
iGGSCubeID, |
|
|
CaloGeoParamsHelpValues |
caloValues |
|
) |
| |
|
private |
◆ CaloHitIDFromGGSPos()
std::function<unsigned int(const float *)> Herd::Readers::ParametricGeoCaloReader::CaloHitIDFromGGSPos |
( |
| ) |
|
|
inline |
Get the volID calculator for the calorimeter.
Returns the function that handles the computation of the volumeID for a calo cell at a given position. If the position does not match that of any cube the returned function throws an exception.
- Returns
- the conversion function.
- Exceptions
-
Exception | The returned function throws an Exception when the given position does not match any cube. |
◆ GetCaloGeoParams()
RetrievalResult Herd::Readers::ParametricGeoCaloReader::GetCaloGeoParams |
( |
ObjectWrapper & |
wrapper | ) |
|
◆ IsCaloGeoParamsAvailable()
bool Herd::Readers::ParametricGeoCaloReader::IsCaloGeoParamsAvailable |
( |
| ) |
|
◆ SameIDs()
bool Herd::Readers::ParametricGeoCaloReader::SameIDs |
( |
| ) |
|
|
inline |
Tells if GGS and HS volume IDs are the same for the current CALO geometry.
- Returns
- true if GGS ID == HS ID for all the cubes.
◆ m_caloGeoParams
CaloGeoParams Herd::Readers::ParametricGeoCaloReader::m_caloGeoParams |
|
private |
◆ m_caloVolIDFromGGSPos
std::function<unsigned int(const float *)> Herd::Readers::ParametricGeoCaloReader::m_caloVolIDFromGGSPos |
|
private |
◆ m_geoParamsRead
bool Herd::Readers::ParametricGeoCaloReader::m_geoParamsRead = false |
|
private |
◆ m_ggsReader
std::shared_ptr<GGSTRootReader> Herd::Readers::ParametricGeoCaloReader::m_ggsReader |
|
private |
◆ m_sameIDs
bool Herd::Readers::ParametricGeoCaloReader::m_sameIDs |
|
private |
The documentation for this class was generated from the following files: