#include <GEMCoPadProcessor.h>
Public Types | |
enum | { MAX_CoPad_BINS = 3 } |
Public Member Functions | |
void | clear () |
void | declusterize (const GEMPadDigiClusterCollection *, GEMPadDigiCollection &) |
GEMCoPadProcessor (unsigned endcap, unsigned station, unsigned chamber, const edm::ParameterSet &copad) | |
GEMCoPadProcessor () | |
const std::vector< GEMCoPadDigi > & | readoutCoPads () |
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 | maxDeltaPadGE11_ |
unsigned int | maxDeltaPadGE21_ |
unsigned int | maxDeltaRollGE11_ |
unsigned int | maxDeltaRollGE21_ |
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 39 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_, maxDeltaPadGE11_, maxDeltaPadGE21_, maxDeltaRollGE11_, and maxDeltaRollGE21_.
GEMCoPadProcessor::GEMCoPadProcessor | ( | ) |
Default constructor. Used for testing.
Definition at line 26 of file GEMCoPadProcessor.cc.
References infoV, maxDeltaBX_, maxDeltaPadGE11_, maxDeltaPadGE21_, maxDeltaRollGE11_, and maxDeltaRollGE21_.
void GEMCoPadProcessor::clear | ( | void | ) |
Clear copad vector
Definition at line 38 of file GEMCoPadProcessor.cc.
References gemCoPadV.
Referenced by run().
void GEMCoPadProcessor::declusterize | ( | const GEMPadDigiClusterCollection * | in_clusters, |
GEMPadDigiCollection & | out_pads | ||
) |
Definition at line 113 of file GEMCoPadProcessor.cc.
References AlCaHLTBitMon_ParallelJobs::p.
Referenced by run().
const std::vector< GEMCoPadDigi > & GEMCoPadProcessor::readoutCoPads | ( | ) |
Returns vector of CoPads in the read-out time window, if any.
Definition at line 107 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 44 of file GEMCoPadProcessor.cc.
References funct::abs(), relativeConstraints::chamber, clear(), gemCoPadV, maxDeltaBX_, maxDeltaPadGE11_, maxDeltaPadGE21_, 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 98 of file GEMCoPadProcessor.cc.
References declusterize(), and run().
|
private |
Definition at line 65 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 57 of file GEMCoPadProcessor.h.
Referenced by GEMCoPadProcessor().
|
private |
Definition at line 62 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 59 of file GEMCoPadProcessor.h.
Referenced by GEMCoPadProcessor(), and run().
|
private |
Definition at line 60 of file GEMCoPadProcessor.h.
Referenced by GEMCoPadProcessor().
|
private |
Definition at line 61 of file GEMCoPadProcessor.h.
Referenced by GEMCoPadProcessor().
|
private |
Definition at line 51 of file GEMCoPadProcessor.h.
Referenced by run().
|
private |
Chamber id (trigger-type labels).
Definition at line 49 of file GEMCoPadProcessor.h.
Referenced by run().
|
private |
Definition at line 50 of file GEMCoPadProcessor.h.
Referenced by run().