#include <GEMClusterProcessor.h>
Public Types | |
enum | ClusterTypes { AllClusters = 1, SingleClusters = 2, CoincidenceClusters = 3 } |
Public Member Functions | |
void | clear () |
GEMClusterProcessor (int region, unsigned station, unsigned chamber, const edm::ParameterSet &conf) | |
std::vector< GEMInternalCluster > | getClusters (int bx, ClusterTypes option=AllClusters) const |
bool | hasGE21Geometry16Partitions () const |
std::vector< GEMCoPadDigi > | readoutCoPads () const |
void | run (const GEMPadDigiClusterCollection *) |
void | setESLookupTables (const CSCL1TPLookupTableME11ILT *conf) |
void | setESLookupTables (const CSCL1TPLookupTableME21ILT *conf) |
Private Member Functions | |
void | addCoincidenceClusters (const GEMPadDigiClusterCollection *) |
void | addSingleClusters (const GEMPadDigiClusterCollection *) |
void | doCoordinateConversion () |
Private Attributes | |
const int | chamber_ |
std::vector< GEMInternalCluster > | clusters_ |
unsigned int | delayGEMinOTMB_ |
bool | hasGE21Geometry16Partitions_ |
bool | isEven_ |
const CSCL1TPLookupTableME11ILT * | lookupTableME11ILT_ |
const CSCL1TPLookupTableME21ILT * | lookupTableME21ILT_ |
unsigned int | maxDeltaBX_ |
unsigned int | maxDeltaPad_ |
unsigned int | maxDeltaRoll_ |
const int | region_ |
const int | station_ |
unsigned int | tmbL1aWindowSize_ |
Definition at line 19 of file GEMClusterProcessor.h.
Enumerator | |
---|---|
AllClusters | |
SingleClusters | |
CoincidenceClusters |
Definition at line 34 of file GEMClusterProcessor.h.
GEMClusterProcessor::GEMClusterProcessor | ( | int | region, |
unsigned | station, | ||
unsigned | chamber, | ||
const edm::ParameterSet & | conf | ||
) |
Normal constructor.
Definition at line 7 of file GEMClusterProcessor.cc.
References printConversionInfo::aux, chamber_, delayGEMinOTMB_, edm::ParameterSet::getParameter(), hasGE21Geometry16Partitions_, isEven_, maxDeltaBX_, maxDeltaPad_, maxDeltaRoll_, station_, and tmbL1aWindowSize_.
|
private |
Definition at line 82 of file GEMClusterProcessor.cc.
References funct::abs(), relativeConstraints::chamber, chamber_, clusters_, delayGEMinOTMB_, GEMPadDigiCluster::GE21, hasGE21Geometry16Partitions_, GeomDetEnumerators::isME0(), phase1PixelTopology::layer, match(), maxDeltaBX_, maxDeltaPad_, maxDeltaRoll_, or, AlCaHLTBitMon_ParallelJobs::p, HLT_2022v12_cff::region, region_, relativeConstraints::ring, relativeConstraints::station, station_, and tmbL1aWindowSize_.
Referenced by run().
|
private |
Definition at line 156 of file GEMClusterProcessor.cc.
References chamber_, clusters_, delayGEMinOTMB_, mps_fire::end, GEMPadDigiCluster::GE21, hasGE21Geometry16Partitions_, GeomDetEnumerators::isME0(), phase1PixelTopology::layer, or, AlCaHLTBitMon_ParallelJobs::p, submitPVResolutionJobs::q, HLT_2022v12_cff::region, region_, station_, and tmbL1aWindowSize_.
Referenced by run().
void GEMClusterProcessor::clear | ( | void | ) |
Clear copad vector
Definition at line 39 of file GEMClusterProcessor.cc.
References clusters_.
Referenced by run().
|
private |
Definition at line 202 of file GEMClusterProcessor.cc.
References clusters_, CSCL1TPLookupTableME11ILT::GEM_pad_CSC_es_ME11a_even(), CSCL1TPLookupTableME11ILT::GEM_pad_CSC_es_ME11a_odd(), CSCL1TPLookupTableME11ILT::GEM_pad_CSC_es_ME11b_even(), CSCL1TPLookupTableME11ILT::GEM_pad_CSC_es_ME11b_odd(), CSCL1TPLookupTableME21ILT::GEM_pad_CSC_es_ME21_even(), CSCL1TPLookupTableME21ILT::GEM_pad_CSC_es_ME21_odd(), CSCL1TPLookupTableME11ILT::GEM_roll_CSC_max_wg_ME11_even(), CSCL1TPLookupTableME11ILT::GEM_roll_CSC_max_wg_ME11_odd(), CSCL1TPLookupTableME11ILT::GEM_roll_CSC_min_wg_ME11_even(), CSCL1TPLookupTableME11ILT::GEM_roll_CSC_min_wg_ME11_odd(), CSCL1TPLookupTableME21ILT::GEM_roll_L1_CSC_max_wg_ME21_even(), CSCL1TPLookupTableME21ILT::GEM_roll_L1_CSC_max_wg_ME21_odd(), CSCL1TPLookupTableME21ILT::GEM_roll_L1_CSC_min_wg_ME21_even(), CSCL1TPLookupTableME21ILT::GEM_roll_L1_CSC_min_wg_ME21_odd(), CSCL1TPLookupTableME21ILT::GEM_roll_L2_CSC_max_wg_ME21_even(), CSCL1TPLookupTableME21ILT::GEM_roll_L2_CSC_max_wg_ME21_odd(), CSCL1TPLookupTableME21ILT::GEM_roll_L2_CSC_min_wg_ME21_even(), CSCL1TPLookupTableME21ILT::GEM_roll_L2_CSC_min_wg_ME21_odd(), createfilelist::int, isEven_, lookupTableME11ILT_, lookupTableME21ILT_, and station_.
Referenced by run().
std::vector< GEMInternalCluster > GEMClusterProcessor::getClusters | ( | int | bx, |
ClusterTypes | option = AllClusters |
||
) | const |
Definition at line 64 of file GEMClusterProcessor.cc.
References simKBmtfDigis_cfi::bx, haddnano::cl, clusters_, CoincidenceClusters, fileinputsource_cfi::option, convertSQLitetoXML_cfg::output, and SingleClusters.
|
inline |
Definition at line 40 of file GEMClusterProcessor.h.
References hasGE21Geometry16Partitions_.
std::vector< GEMCoPadDigi > GEMClusterProcessor::readoutCoPads | ( | ) | const |
Returns vector of CoPads in the read-out time window, if any.
Definition at line 383 of file GEMClusterProcessor.cc.
References clusters_, and convertSQLitetoXML_cfg::output.
void GEMClusterProcessor::run | ( | const GEMPadDigiClusterCollection * | in_clusters | ) |
Runs the CoPad processor code.
Definition at line 45 of file GEMClusterProcessor.cc.
References addCoincidenceClusters(), addSingleClusters(), clear(), and doCoordinateConversion().
void GEMClusterProcessor::setESLookupTables | ( | const CSCL1TPLookupTableME11ILT * | conf | ) |
Definition at line 41 of file GEMClusterProcessor.cc.
References lookupTableME11ILT_.
void GEMClusterProcessor::setESLookupTables | ( | const CSCL1TPLookupTableME21ILT * | conf | ) |
Definition at line 43 of file GEMClusterProcessor.cc.
References lookupTableME21ILT_.
|
private |
Definition at line 62 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), addSingleClusters(), and GEMClusterProcessor().
|
private |
Definition at line 74 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), addSingleClusters(), clear(), doCoordinateConversion(), getClusters(), and readoutCoPads().
|
private |
Definition at line 66 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), addSingleClusters(), and GEMClusterProcessor().
|
private |
Definition at line 71 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), addSingleClusters(), GEMClusterProcessor(), and hasGE21Geometry16Partitions().
|
private |
Definition at line 63 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 76 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and setESLookupTables().
|
private |
Definition at line 77 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and setESLookupTables().
|
private |
Definition at line 68 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), and GEMClusterProcessor().
|
private |
Definition at line 67 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), and GEMClusterProcessor().
|
private |
Definition at line 69 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), and GEMClusterProcessor().
|
private |
Definition at line 60 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), and addSingleClusters().
|
private |
Definition at line 61 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), addSingleClusters(), doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 65 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), addSingleClusters(), and GEMClusterProcessor().