#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 |
Does pattern recognition of ME0 pads to build ME0 triggers
Builds ME0 trigger objects from ME0 pads
Definition at line 20 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 39 of file ME0TriggerBuilder.h.
|
explicit |
Configure the algorithm via constructor. Receives ParameterSet percolated down from EDProducer which owns this Builder.
Definition at line 5 of file ME0TriggerBuilder.cc.
References relativeConstraints::cham, config_, MAX_CHAMBERS, MAX_ENDCAPS, and tmb_.
ME0TriggerBuilder::~ME0TriggerBuilder | ( | ) |
Definition at line 15 of file ME0TriggerBuilder.cc.
void ME0TriggerBuilder::build | ( | const ME0PadDigiCollection * | me0Pads, |
ME0TriggerDigiCollection & | oc_trig | ||
) |
Build Triggers from pads in each chamber and fill them into output collections.
Definition at line 17 of file ME0TriggerBuilder.cc.
References relativeConstraints::cham, ME0Geometry::chamber(), ALCARECOPPSCalTrackBasedSel_cff::detid, LogTrace, ME0DetId::maxChamberId, me0_g, ME0DetId::minChamberId, ME0Motherboard::readoutTriggers(), nano_mu_digi_cff::region, ME0Motherboard::run(), ME0Motherboard::setME0Geometry(), and tmb_.
|
inline |
set geometry for the matching needs
Definition at line 34 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().