#include <GEMCoPadProcessor.h>
Public Types | |
enum | { MAX_CoPad_BINS = 3 } |
Public Member Functions | |
void | clear () |
void | declusterize (const GEMPadDigiClusterCollection *, GEMPadDigiCollection &) const |
GEMCoPadProcessor (unsigned endcap, unsigned station, unsigned chamber, const edm::ParameterSet &copad) | |
GEMCoPadProcessor () | |
const std::vector< GEMCoPadDigi > & | readoutCoPads () const |
std::vector< GEMCoPadDigi > | run (const GEMPadDigiCollection *) |
std::vector< GEMCoPadDigi > | run (const GEMPadDigiClusterCollection *) |
Private Attributes | |
std::vector< GEMCoPadDigi > | gemCoPadV |
unsigned int | infoV |
unsigned int | maxDeltaBX_ |
unsigned int | maxDeltaPad_ |
unsigned int | maxDeltaRoll_ |
const int | theChamber |
const int | theEndcap |
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 40 of file GEMCoPadProcessor.h.
GEMCoPadProcessor::GEMCoPadProcessor | ( | unsigned | endcap, |
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 24 of file GEMCoPadProcessor.cc.
References infoV, maxDeltaBX_, maxDeltaPad_, and maxDeltaRoll_.
void GEMCoPadProcessor::clear | ( | void | ) |
void GEMCoPadProcessor::declusterize | ( | const GEMPadDigiClusterCollection * | in_clusters, |
GEMPadDigiCollection & | out_pads | ||
) | const |
Definition at line 102 of file GEMCoPadProcessor.cc.
References AlCaHLTBitMon_ParallelJobs::p.
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 96 of file GEMCoPadProcessor.cc.
References gemCoPadV.
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 40 of file GEMCoPadProcessor.cc.
References funct::abs(), relativeConstraints::chamber, gemCoPadV, maxDeltaBX_, maxDeltaPad_, maxDeltaRoll_, or, AlCaHLTBitMon_ParallelJobs::p, relativeConstraints::ring, relativeConstraints::station, theChamber, theEndcap, and theStation.
Referenced by run().
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 87 of file GEMCoPadProcessor.cc.
References declusterize(), and run().
|
private |
Definition at line 64 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 58 of file GEMCoPadProcessor.h.
Referenced by GEMCoPadProcessor().
|
private |
Definition at line 60 of file GEMCoPadProcessor.h.
Referenced by GEMCoPadProcessor(), and run().
|
private |
Definition at line 59 of file GEMCoPadProcessor.h.
Referenced by GEMCoPadProcessor(), and run().
|
private |
Definition at line 61 of file GEMCoPadProcessor.h.
Referenced by GEMCoPadProcessor(), and run().
|
private |
Definition at line 52 of file GEMCoPadProcessor.h.
Referenced by run().
|
private |
Chamber id (trigger-type labels).
Definition at line 50 of file GEMCoPadProcessor.h.
Referenced by run().
|
private |
Definition at line 51 of file GEMCoPadProcessor.h.
Referenced by run().