#include <GEMCoPadProcessor.h>
Public Types | |
enum | { MAX_CoPad_BINS = 3 } |
Public Member Functions | |
void | clear () |
void | declusterize (const GEMPadDigiClusterCollection *, GEMPadDigiCollection &) const |
GEMCoPadProcessor () | |
GEMCoPadProcessor (unsigned region, unsigned station, unsigned chamber, const edm::ParameterSet &copad) | |
const std::vector< GEMCoPadDigi > & | readoutCoPads () const |
std::vector< GEMCoPadDigi > | run (const GEMPadDigiClusterCollection *) |
std::vector< GEMCoPadDigi > | run (const GEMPadDigiCollection *) |
Private Attributes | |
std::vector< GEMCoPadDigi > | gemCoPadV |
unsigned int | infoV |
unsigned int | maxDeltaBX_ |
unsigned int | maxDeltaPad_ |
unsigned int | maxDeltaRoll_ |
const int | theChamber |
const int | theRegion |
const int | theStation |
Definition at line 17 of file GEMCoPadProcessor.h.
anonymous enum |
Maximum number of time bins.
Enumerator | |
---|---|
MAX_CoPad_BINS |
Definition at line 37 of file GEMCoPadProcessor.h.
GEMCoPadProcessor::GEMCoPadProcessor | ( | unsigned | region, |
unsigned | station, | ||
unsigned | chamber, | ||
const edm::ParameterSet & | copad | ||
) |
Normal constructor.
Definition at line 11 of file GEMCoPadProcessor.cc.
References edm::ParameterSet::getParameter(), infoV, maxDeltaBX_, maxDeltaPad_, and maxDeltaRoll_.
GEMCoPadProcessor::GEMCoPadProcessor | ( | ) |
Default constructor. Used for testing.
Definition at line 20 of file GEMCoPadProcessor.cc.
References infoV, maxDeltaBX_, maxDeltaPad_, and maxDeltaRoll_.
void GEMCoPadProcessor::clear | ( | void | ) |
Clear copad vector
Definition at line 27 of file GEMCoPadProcessor.cc.
References gemCoPadV.
Referenced by run().
void GEMCoPadProcessor::declusterize | ( | const GEMPadDigiClusterCollection * | in_clusters, |
GEMPadDigiCollection & | out_pads | ||
) | const |
Definition at line 99 of file GEMCoPadProcessor.cc.
References GEMPadDigiCluster::GE21SplitStrip, GeomDetEnumerators::isME0(), or, AlCaHLTBitMon_ParallelJobs::p, FastTimerService_cff::range, HLT_FULL_cff::region, theChamber, theRegion, and theStation.
Referenced by run().
const std::vector< GEMCoPadDigi > & GEMCoPadProcessor::readoutCoPads | ( | ) | const |
Returns vector of CoPads in the read-out time window, if any.
Definition at line 97 of file GEMCoPadProcessor.cc.
References gemCoPadV.
std::vector< GEMCoPadDigi > GEMCoPadProcessor::run | ( | const GEMPadDigiClusterCollection * | in_clusters | ) |
Runs the CoPad processor code. Called in normal running – gets info from a collection of pad digi clusters.
Definition at line 91 of file GEMCoPadProcessor.cc.
References declusterize(), and run().
std::vector< GEMCoPadDigi > GEMCoPadProcessor::run | ( | const GEMPadDigiCollection * | in_pads | ) |
Runs the CoPad processor code. Called in normal running – gets info from a collection of pad digis.
Definition at line 29 of file GEMCoPadProcessor.cc.
References funct::abs(), relativeConstraints::chamber, clear(), GEMPadDigi::GE21SplitStrip, gemCoPadV, GeomDetEnumerators::isME0(), maxDeltaBX_, maxDeltaPad_, maxDeltaRoll_, or, AlCaHLTBitMon_ParallelJobs::p, HLT_FULL_cff::region, relativeConstraints::ring, relativeConstraints::station, theChamber, theRegion, and theStation.
Referenced by run().
|
private |
Definition at line 61 of file GEMCoPadProcessor.h.
Referenced by clear(), readoutCoPads(), and run().
|
private |
Verbosity level: 0: no print (default). 1: print only CoPads found. 2: info at every step of the algorithm. 3: add special-purpose prints.
Definition at line 55 of file GEMCoPadProcessor.h.
Referenced by GEMCoPadProcessor().
|
private |
Definition at line 57 of file GEMCoPadProcessor.h.
Referenced by GEMCoPadProcessor(), and run().
|
private |
Definition at line 56 of file GEMCoPadProcessor.h.
Referenced by GEMCoPadProcessor(), and run().
|
private |
Definition at line 58 of file GEMCoPadProcessor.h.
Referenced by GEMCoPadProcessor(), and run().
|
private |
Definition at line 49 of file GEMCoPadProcessor.h.
Referenced by declusterize(), and run().
|
private |
Chamber id (trigger-type labels).
Definition at line 47 of file GEMCoPadProcessor.h.
Referenced by declusterize(), and run().
|
private |
Definition at line 48 of file GEMCoPadProcessor.h.
Referenced by declusterize(), and run().