#include <ME0Motherboard.h>
Public Member Functions | |
void | clear () |
std::vector< ME0TriggerDigi > | getTriggers () |
ME0Motherboard (unsigned endcap, unsigned chamber, const edm::ParameterSet &conf) | |
ME0Motherboard () | |
std::vector< ME0TriggerDigi > | readoutTriggers () |
void | run (const ME0PadDigiCollection *) |
void | setME0Geometry (const ME0Geometry *g) |
~ME0Motherboard () | |
Private Types | |
enum | { MAX_TRIGGER_BINS = 1, MAX_TRIGGERS = 8 } |
Static Private Member Functions | |
static bool | sortByME0Dphi (const ME0TriggerDigi &, const ME0TriggerDigi &) |
static bool | sortByQuality (const ME0TriggerDigi &, const ME0TriggerDigi &) |
Private Attributes | |
int | infoV |
const ME0Geometry * | me0_g |
const unsigned | theChamber |
const unsigned | theEndcap |
ME0TriggerDigi | Triggers [MAX_TRIGGER_BINS][MAX_TRIGGERS] |
Definition at line 18 of file ME0Motherboard.h.
|
private |
Maximum number of time bins.
Enumerator | |
---|---|
MAX_TRIGGER_BINS | |
MAX_TRIGGERS |
Definition at line 56 of file ME0Motherboard.h.
ME0Motherboard::ME0Motherboard | ( | unsigned | endcap, |
unsigned | chamber, | ||
const edm::ParameterSet & | conf | ||
) |
Normal constructor.
Definition at line 6 of file ME0Motherboard.cc.
References edm::ParameterSet::getParameter(), and infoV.
ME0Motherboard::ME0Motherboard | ( | ) |
Constructor for use during testing.
Definition at line 12 of file ME0Motherboard.cc.
References infoV.
ME0Motherboard::~ME0Motherboard | ( | ) |
void ME0Motherboard::clear | ( | void | ) |
Clears Triggers.
Definition at line 16 of file ME0Motherboard.cc.
References simKBmtfDigis_cfi::bx, ME0TriggerDigi::clear(), mps_fire::i, MAX_TRIGGER_BINS, MAX_TRIGGERS, and Triggers.
Referenced by run().
std::vector< ME0TriggerDigi > ME0Motherboard::getTriggers | ( | ) |
Returns vector of all found correlated Triggers, if any.
Definition at line 42 of file ME0Motherboard.cc.
References simKBmtfDigis_cfi::bx, mps_fire::i, MAX_TRIGGER_BINS, MAX_TRIGGERS, and Triggers.
Referenced by readoutTriggers().
std::vector< ME0TriggerDigi > ME0Motherboard::readoutTriggers | ( | ) |
Returns vector of Triggers in the read-out time window, if any.
Definition at line 29 of file ME0Motherboard.cc.
References getTriggers().
Referenced by ME0TriggerBuilder::build().
void ME0Motherboard::run | ( | const ME0PadDigiCollection * | ) |
Run function for normal usage.
Definition at line 24 of file ME0Motherboard.cc.
References clear().
Referenced by ME0TriggerBuilder::build().
|
inline |
set geometry for the matching needs
Definition at line 30 of file ME0Motherboard.h.
Referenced by ME0TriggerBuilder::build().
|
staticprivate |
Definition at line 59 of file ME0Motherboard.cc.
|
staticprivate |
|
private |
Verbosity level: 0: no print (default). 1: print Triggers found.
Definition at line 47 of file ME0Motherboard.h.
Referenced by ME0Motherboard().
|
private |
Definition at line 53 of file ME0Motherboard.h.
Referenced by setME0Geometry().
|
private |
Definition at line 51 of file ME0Motherboard.h.
|
private |
Chamber id (trigger-type labels).
Definition at line 50 of file ME0Motherboard.h.
|
private |
Container for Triggers.
Definition at line 59 of file ME0Motherboard.h.
Referenced by clear(), and getTriggers().