LDMX Software
Public Member Functions | Public Attributes | List of all members
ldmx::ecal::UniqueModule Struct Reference

structure holding data uniquely identifying a specific module in the ECal More...

Public Member Functions

 UniqueModule (EcalTriggerID tid)
 
 UniqueModule (EcalID eid)
 

Public Attributes

unsigned int layer_
 
unsigned int module_
 

Detailed Description

structure holding data uniquely identifying a specific module in the ECal

This is helpful for doing module sums where we want to sum over all trigger or precision cells within a specific module. It acts like a key that can be constructed from either a trigger cell ID or a precision cell ID.

Definition at line 181 of file TrigPrimResolutionAnalyzer.cxx.

Constructor & Destructor Documentation

◆ UniqueModule() [1/2]

ldmx::ecal::UniqueModule::UniqueModule ( EcalTriggerID  tid)
inline

Definition at line 184 of file TrigPrimResolutionAnalyzer.cxx.

184 {
185 layer_ = tid.getLayerID();
186 module_ = tid.getModuleID();
187 }

◆ UniqueModule() [2/2]

ldmx::ecal::UniqueModule::UniqueModule ( EcalID  eid)
inline

Definition at line 188 of file TrigPrimResolutionAnalyzer.cxx.

188 {
189 layer_ = eid.getLayerID();
190 module_ = eid.getModuleID();
191 }

Member Data Documentation

◆ layer_

unsigned int ldmx::ecal::UniqueModule::layer_

Definition at line 182 of file TrigPrimResolutionAnalyzer.cxx.

◆ module_

unsigned int ldmx::ecal::UniqueModule::module_

Definition at line 183 of file TrigPrimResolutionAnalyzer.cxx.


The documentation for this struct was generated from the following file: