LDMX Software
HcalTriggerGeometry.h
1#ifndef HCAL_HCALTRIGGERGEOMETRY_H_
2#define HCAL_HCALTRIGGERGEOMETRY_H_
3
4// LDMX
5#include "DetDescr/HcalDigiID.h"
6#include "DetDescr/HcalID.h"
9
10// STL
11#include <map>
12#include <vector>
13
14namespace ldmx {
15class HcalGeometry;
16}
17
18namespace hcal {
19
26 public:
27 static constexpr const char* CONDITIONS_OBJECT_NAME{"HcalTriggerGeometry"};
28
29 HcalTriggerGeometry(const ldmx::HcalGeometry* hcalGeom = 0);
30
35 std::vector<ldmx::HcalDigiID> contentsOfQuad(
36 ldmx::HcalTriggerID triggerCell) const;
37 std::vector<ldmx::HcalDigiID> contentsOfSTQ(
38 ldmx::HcalTriggerID triggerCell) const;
39
45 ldmx::HcalTriggerID belongsToSTQ(ldmx::HcalDigiID precisionCell) const;
46
47 private:
50};
51
52} // namespace hcal
53
54#endif // HCAL_HCALTRIGGERGEOMETRY_H_
Base class for conditions information like pedestals, gains, electronics maps, etc.
Class that defines an HCal sensitive detector.
Class that defines an HCal trigger cell detector ID.
Base class for all conditions objects, very simple.
defines the relationship between HCal strips and CMB quad trigger primitives and provides geometry in...
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 a...
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...
const ldmx::HcalGeometry * hcalGeometry_
Reference to the Hcal geometry used for trigger geometry information.
Extension of HcalAbstractID providing access to HCal digi information.
Definition HcalDigiID.h:13
Implementation of HCal strip readout.
Extension of DetectorID providing access to HCal trigger cell.