#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 10 of file ME0Motherboard.h.
|
private |
Maximum number of time bins.
Enumerator | |
---|---|
MAX_TRIGGER_BINS | |
MAX_TRIGGERS |
Definition at line 51 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 14 of file ME0Motherboard.cc.
References infoV.
ME0Motherboard::~ME0Motherboard | ( | ) |
void ME0Motherboard::clear | ( | void | ) |
Clears Triggers.
Definition at line 23 of file ME0Motherboard.cc.
References ME0TriggerDigi::clear(), mps_fire::i, MAX_TRIGGER_BINS, MAX_TRIGGERS, and Triggers.
Referenced by run(), and setME0Geometry().
std::vector< ME0TriggerDigi > ME0Motherboard::getTriggers | ( | ) |
Returns vector of all found correlated Triggers, if any.
Definition at line 53 of file ME0Motherboard.cc.
References mps_fire::i, MAX_TRIGGER_BINS, MAX_TRIGGERS, and Triggers.
Referenced by readoutTriggers(), and setME0Geometry().
std::vector< ME0TriggerDigi > ME0Motherboard::readoutTriggers | ( | ) |
Returns vector of Triggers in the read-out time window, if any.
Definition at line 41 of file ME0Motherboard.cc.
References getTriggers().
Referenced by ME0TriggerBuilder::build(), and setME0Geometry().
void ME0Motherboard::run | ( | const ME0PadDigiCollection * | ) |
Run function for normal usage.
Definition at line 33 of file ME0Motherboard.cc.
References clear().
Referenced by ME0TriggerBuilder::build(), and setME0Geometry().
|
inline |
set geometry for the matching needs
Definition at line 24 of file ME0Motherboard.h.
References clear(), g, getTriggers(), me0_g, readoutTriggers(), and run().
Referenced by ME0TriggerBuilder::build().
|
staticprivate |
Definition at line 73 of file ME0Motherboard.cc.
|
staticprivate |
|
private |
Verbosity level: 0: no print (default). 1: print Triggers found.
Definition at line 42 of file ME0Motherboard.h.
Referenced by ME0Motherboard().
|
private |
Definition at line 48 of file ME0Motherboard.h.
Referenced by setME0Geometry().
|
private |
Definition at line 46 of file ME0Motherboard.h.
|
private |
Chamber id (trigger-type labels).
Definition at line 45 of file ME0Motherboard.h.
|
private |
Container for Triggers.
Definition at line 54 of file ME0Motherboard.h.
Referenced by clear(), and getTriggers().