#include <ME0Motherboard.h>
Public Member Functions | |
void | clear () |
void | declusterize (const ME0PadDigiClusterCollection *, ME0PadDigiCollection &) |
std::vector< ME0TriggerDigi > | getTriggers () |
ME0Motherboard (unsigned endcap, unsigned chamber, const edm::ParameterSet &conf) | |
ME0Motherboard () | |
std::vector< ME0TriggerDigi > | readoutTriggers () |
void | run (const ME0PadDigiCollection *) |
void | run (const ME0PadDigiClusterCollection *) |
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 19 of file ME0Motherboard.h.
|
private |
Maximum number of time bins.
Enumerator | |
---|---|
MAX_TRIGGER_BINS | |
MAX_TRIGGERS |
Definition at line 66 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().
void ME0Motherboard::declusterize | ( | const ME0PadDigiClusterCollection * | in_clusters, |
ME0PadDigiCollection & | out_pads | ||
) |
Definition at line 89 of file ME0Motherboard.cc.
References AlCaHLTBitMon_ParallelJobs::p.
Referenced by run(), and setME0Geometry().
std::vector< ME0TriggerDigi > ME0Motherboard::getTriggers | ( | ) |
Returns vector of all found correlated Triggers, if any.
Definition at line 60 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 47 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 39 of file ME0Motherboard.cc.
References clear().
Referenced by ME0TriggerBuilder::build(), run(), and setME0Geometry().
void ME0Motherboard::run | ( | const ME0PadDigiClusterCollection * | me0Clusters | ) |
Build Triggers from single pads in each chamber and fill them into output collections.
Definition at line 32 of file ME0Motherboard.cc.
References declusterize(), and run().
|
inline |
set geometry for the matching needs
Definition at line 33 of file ME0Motherboard.h.
References clear(), declusterize(), g, getTriggers(), me0_g, readoutTriggers(), and run().
Referenced by ME0TriggerBuilder::build().
|
staticprivate |
Definition at line 79 of file ME0Motherboard.cc.
|
staticprivate |
|
private |
Verbosity level: 0: no print (default). 1: print Triggers found.
Definition at line 57 of file ME0Motherboard.h.
Referenced by ME0Motherboard().
|
private |
Definition at line 63 of file ME0Motherboard.h.
Referenced by setME0Geometry().
|
private |
Definition at line 61 of file ME0Motherboard.h.
|
private |
Chamber id (trigger-type labels).
Definition at line 60 of file ME0Motherboard.h.
|
private |
Container for Triggers.
Definition at line 69 of file ME0Motherboard.h.
Referenced by clear(), and getTriggers().