| HerdSoftware
    0.3.2
    | 
Data structure for the CaloPMT trigger geometric info (trigger regions). More...
#include <dataobjects/CaloPMTTriggerGeoInfo.h>
| Public Member Functions | |
| CaloPMTTriggerGeoInfo ()=default | |
| Default constructor.  More... | |
| virtual | ~CaloPMTTriggerGeoInfo ()=default | 
| Virtual destructor.  More... | |
| CaloPMTTriggerRegion | TriggerRegionID (unsigned int volID) | 
| Return the trigger region ID that corresponds to a crystal ID.  More... | |
| void | SetCaloGeoParams (EA::observer_ptr< CaloGeoParams > caloGeoParams) | 
| Sets the CaloGeoParams to use.  More... | |
| Private Member Functions | |
| void | FillVolID2CaloPMTTriggerRegion () | 
| Fill the private lookup table which converts crystal volume ID to trigger region ID.  More... | |
| Private Attributes | |
| EA::observer_ptr< CaloGeoParams > | _caloGeoParams = nullptr | 
| Input with the geometric parameters of CALO.  More... | |
| std::vector< CaloPMTTriggerRegion > | _crystalTrigRegions | 
| Vector with the associated trigger region for each crystal ID.  More... | |
Data structure for the CaloPMT trigger geometric info (trigger regions).
| 
 | default | 
Default constructor.
Creates a empty CaloPMTTriggerGeoInfo
| 
 | virtualdefault | 
Virtual destructor.
| 
 | private | 
Fill the private lookup table which converts crystal volume ID to trigger region ID.
| 
 | inline | 
Sets the CaloGeoParams to use.
| caloGeoParams | the geoparams to set | 
| CaloPMTTriggerRegion Herd::CaloPMTTriggerGeoInfo::TriggerRegionID | ( | unsigned int | volID | ) | 
Return the trigger region ID that corresponds to a crystal ID.
This method use a private lookup table which stores the conversion between each crystal ID and trigger region ID. This table is filled after the first request by this method.
| volID | inde of this crystal | 
| 
 | private | 
Input with the geometric parameters of CALO.
| 
 | private | 
Vector with the associated trigger region for each crystal ID.
 1.8.13
 1.8.13