#include <ME0TriggerBuilder.h>
Public Types | |
enum | trig_me0s { MAX_ENDCAPS = 2, MAX_CHAMBERS = 18 } |
Public Member Functions | |
void | build (const ME0PadDigiCollection *me0Pads, ME0TriggerDigiCollection &oc_trig) |
ME0TriggerBuilder (const edm::ParameterSet &) | |
void | setME0Geometry (const ME0Geometry *g) |
~ME0TriggerBuilder () | |
Private Attributes | |
edm::ParameterSet | config_ |
const ME0Geometry * | me0_g |
std::unique_ptr< ME0Motherboard > | tmb_ [MAX_ENDCAPS][MAX_CHAMBERS] |
Static Private Attributes | |
static const int | max_chamber |
static const int | max_endcap |
static const int | min_chamber |
static const int | min_endcap |
Definition at line 17 of file ME0TriggerBuilder.h.
Max values of trigger labels for all ME0s; used to construct TMB processors.
Enumerator | |
---|---|
MAX_ENDCAPS | |
MAX_CHAMBERS |
Definition at line 38 of file ME0TriggerBuilder.h.
|
explicit |
Configure the algorithm via constructor. Receives ParameterSet percolated down from EDProducer which owns this Builder.
Definition at line 7 of file ME0TriggerBuilder.cc.
References relativeConstraints::cham, config_, MAX_CHAMBERS, MAX_ENDCAPS, and tmb_.
ME0TriggerBuilder::~ME0TriggerBuilder | ( | ) |
Definition at line 30 of file ME0TriggerBuilder.cc.
void ME0TriggerBuilder::build | ( | const ME0PadDigiCollection * | me0Pads, |
ME0TriggerDigiCollection & | oc_trig | ||
) |
Build Triggers in each chamber and fill them into output collections.
Definition at line 34 of file ME0TriggerBuilder.cc.
References relativeConstraints::cham, ME0Geometry::chamber(), LogTrace, me0_g, ME0Motherboard::readoutTriggers(), ME0Motherboard::run(), ME0Motherboard::setME0Geometry(), and tmb_.
|
inline |
set geometry for the matching needs
Definition at line 33 of file ME0TriggerBuilder.h.
|
private |
Definition at line 49 of file ME0TriggerBuilder.h.
Referenced by ME0TriggerBuilder().
|
staticprivate |
Definition at line 45 of file ME0TriggerBuilder.h.
|
staticprivate |
Definition at line 43 of file ME0TriggerBuilder.h.
|
private |
Definition at line 47 of file ME0TriggerBuilder.h.
Referenced by build(), and setME0Geometry().
|
staticprivate |
Definition at line 44 of file ME0TriggerBuilder.h.
|
staticprivate |
Definition at line 42 of file ME0TriggerBuilder.h.
|
private |
Pointers to TMB processors for all possible chambers.
Definition at line 52 of file ME0TriggerBuilder.h.
Referenced by build(), and ME0TriggerBuilder().