LDMX Software
|
defines the relationship between HCal strips and CMB quad trigger primitives and provides geometry information for trigger primitives More...
#include <HcalTriggerGeometry.h>
Public Member Functions | |
HcalTriggerGeometry (const ldmx::HcalGeometry *hcalGeom=0) | |
std::vector< ldmx::HcalDigiID > | contentsOfQuad (ldmx::HcalTriggerID triggerCell) const |
Returns the set of precision (full-granularity/DAQ) cells which are associated with the given trigger cell. | |
std::vector< ldmx::HcalDigiID > | contentsOfSTQ (ldmx::HcalTriggerID triggerCell) const |
ldmx::HcalTriggerID | belongsToQuad (ldmx::HcalDigiID precisionCell) const |
Returns which trigger cell this precision cell is associated with, or a null id if there is no such association. | |
ldmx::HcalTriggerID | belongsToSTQ (ldmx::HcalDigiID precisionCell) const |
Public Member Functions inherited from framework::ConditionsObject | |
ConditionsObject (const std::string &name) | |
Class constructor. | |
virtual | ~ConditionsObject () |
Destructor. | |
std::string | getName () const |
Get the name of this object. | |
Static Public Attributes | |
static constexpr const char * | CONDITIONS_OBJECT_NAME {"HcalTriggerGeometry"} |
Private Attributes | |
const ldmx::HcalGeometry * | hcalGeometry_ |
Reference to the Hcal geometry used for trigger geometry information. | |
defines the relationship between HCal strips and CMB quad trigger primitives and provides geometry information for trigger primitives
Definition at line 25 of file HcalTriggerGeometry.h.
hcal::HcalTriggerGeometry::HcalTriggerGeometry | ( | const ldmx::HcalGeometry * | hcalGeom = 0 | ) |
Definition at line 12 of file HcalTriggerGeometry.cxx.
ldmx::HcalTriggerID hcal::HcalTriggerGeometry::belongsToQuad | ( | ldmx::HcalDigiID | precisionCell | ) | const |
Returns which trigger cell this precision cell is associated with, or a null id if there is no such association.
Definition at line 45 of file HcalTriggerGeometry.cxx.
References ldmx::HcalDigiID::end(), ldmx::HcalDigiID::layer(), ldmx::HcalDigiID::section(), and ldmx::HcalDigiID::strip().
Referenced by hcal::HcalTrigPrimDigiProducer::produce().
ldmx::HcalTriggerID hcal::HcalTriggerGeometry::belongsToSTQ | ( | ldmx::HcalDigiID | precisionCell | ) | const |
Definition at line 51 of file HcalTriggerGeometry.cxx.
std::vector< ldmx::HcalDigiID > hcal::HcalTriggerGeometry::contentsOfQuad | ( | ldmx::HcalTriggerID | triggerCell | ) | const |
Returns the set of precision (full-granularity/DAQ) cells which are associated with the given trigger cell.
Definition at line 15 of file HcalTriggerGeometry.cxx.
References ldmx::HcalTriggerID::end(), ldmx::HcalTriggerID::layer(), and ldmx::HcalTriggerID::superstrip().
Referenced by hcal::HcalTrigPrimDigiProducer::produce().
std::vector< ldmx::HcalDigiID > hcal::HcalTriggerGeometry::contentsOfSTQ | ( | ldmx::HcalTriggerID | triggerCell | ) | const |
Definition at line 27 of file HcalTriggerGeometry.cxx.
|
staticconstexpr |
Definition at line 27 of file HcalTriggerGeometry.h.
|
private |
Reference to the Hcal geometry used for trigger geometry information.
Definition at line 49 of file HcalTriggerGeometry.h.