Go to the documentation of this file.
3 #ifndef HERD_CALOPMTTRIGGERGEOINFO_H_
4 #define HERD_CALOPMTTRIGGERGEOINFO_H_
8 #include "core/ObserverPtr.h"
73 std::vector<CaloPMTTriggerRegion>
EA::observer_ptr< CaloGeoParams > _caloGeoParams
Input with the geometric parameters of CALO.
Definition: CaloPMTTriggerGeoInfo.h:65
Data structure for the CaloPMT trigger geometric info (trigger regions).
Definition: CaloPMTTriggerGeoInfo.h:35
virtual ~CaloPMTTriggerGeoInfo()=default
Virtual destructor
CaloPMTTriggerRegion
Aliases for the CaloPMT trigger regions.
Definition: CaloPMTTriggerGeoInfo.h:22
void SetCaloGeoParams(EA::observer_ptr< CaloGeoParams > caloGeoParams)
Sets the CaloGeoParams to use.
Definition: CaloPMTTriggerGeoInfo.h:62
CssGeoParams.h CssGeoParams class declaration.
Definition: CaloPDCalibrationAlgo.h:22
void FillVolID2CaloPMTTriggerRegion()
Fill the private lookup table which converts crystal volume ID to trigger region ID.
Definition: CaloPMTTriggerGeoInfo.cpp:11
CaloPMTTriggerGeoInfo()=default
Default constructor.
constexpr int NCaloPMTTriggerRegions
The number of trigger regions for CaloPMT.
Definition: CaloPMTTriggerGeoInfo.h:24
std::vector< CaloPMTTriggerRegion > _crystalTrigRegions
Vector with the associated trigger region for each crystal ID.
Definition: CaloPMTTriggerGeoInfo.h:74
constexpr std::array< CaloPMTTriggerRegion, NCaloPMTTriggerRegions > CaloPMTTriggerRegions
Array of all the CaloPMT trigger regions. This array can be used to iterate over all the trigger regi...
Definition: CaloPMTTriggerGeoInfo.h:28
CaloPMTTriggerRegion TriggerRegionID(unsigned int volID)
Return the trigger region ID that corresponds to a crystal ID.
Definition: CaloPMTTriggerGeoInfo.cpp:74