#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 ring, 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_ |
const int | theChamber |
const int | theEndcap |
const int | theRing |
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 | ring, | ||
unsigned | chamber, | ||
const edm::ParameterSet & | copad | ||
) |
Normal constructor.
Definition at line 11 of file GEMCoPadProcessor.cc.
References edm::ParameterSet::getParameter(), infoV, maxDeltaBX_, maxDeltaPadGE11_, and maxDeltaPadGE21_.
GEMCoPadProcessor::GEMCoPadProcessor | ( | ) |
Default constructor. Used for testing.
Definition at line 25 of file GEMCoPadProcessor.cc.
References infoV, maxDeltaBX_, maxDeltaPadGE11_, and maxDeltaPadGE21_.
void GEMCoPadProcessor::clear | ( | void | ) |
void GEMCoPadProcessor::declusterize | ( | const GEMPadDigiClusterCollection * | in_clusters, |
GEMPadDigiCollection & | out_pads | ||
) |
Definition at line 100 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 94 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 41 of file GEMCoPadProcessor.cc.
References funct::abs(), relativeConstraints::chamber, gemCoPadV, maxDeltaBX_, maxDeltaPadGE11_, maxDeltaPadGE21_, or, AlCaHLTBitMon_ParallelJobs::p, relativeConstraints::ring, relativeConstraints::station, theChamber, theEndcap, theRing, 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 85 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 59 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 60 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 53 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 52 of file GEMCoPadProcessor.h.
Referenced by run().
|
private |
Definition at line 51 of file GEMCoPadProcessor.h.
Referenced by run().