#include <GEMClusterProcessor.h>
Public Member Functions | |
void | clear () |
GEMClusterProcessor (int region, unsigned station, unsigned chamber, const edm::ParameterSet &conf) | |
std::vector< GEMInternalCluster > | getClusters (int bx) const |
std::vector< GEMInternalCluster > | getClusters (int bx, int deltaBX) const |
std::vector< GEMInternalCluster > | getCoincidenceClusters (int bx) const |
bool | hasGE21Geometry16Partitions () const |
std::vector< GEMCoPadDigi > | readoutCoPads () const |
void | run (const GEMPadDigiClusterCollection *) |
Private Member Functions | |
void | addCoincidenceClusters (const GEMPadDigiClusterCollection *) |
void | addSingleClusters (const GEMPadDigiClusterCollection *) |
void | doCoordinateConversion () |
Definition at line 19 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 chamber_, GEMCSCLUT_pad_es_ME1a_even_, GEMCSCLUT_pad_es_ME1a_odd_, GEMCSCLUT_pad_es_ME1b_even_, GEMCSCLUT_pad_es_ME1b_odd_, GEMCSCLUT_pad_es_ME21_even_, GEMCSCLUT_pad_es_ME21_odd_, GEMCSCLUT_pad_hs_ME1a_even_, GEMCSCLUT_pad_hs_ME1a_odd_, GEMCSCLUT_pad_hs_ME1b_even_, GEMCSCLUT_pad_hs_ME1b_odd_, GEMCSCLUT_pad_hs_ME21_even_, GEMCSCLUT_pad_hs_ME21_odd_, GEMCSCLUT_roll_l1_max_wg_ME11_even_, GEMCSCLUT_roll_l1_max_wg_ME11_odd_, GEMCSCLUT_roll_l1_max_wg_ME21_even_, GEMCSCLUT_roll_l1_max_wg_ME21_odd_, GEMCSCLUT_roll_l1_min_wg_ME11_even_, GEMCSCLUT_roll_l1_min_wg_ME11_odd_, GEMCSCLUT_roll_l1_min_wg_ME21_even_, GEMCSCLUT_roll_l1_min_wg_ME21_odd_, GEMCSCLUT_roll_l2_max_wg_ME11_even_, GEMCSCLUT_roll_l2_max_wg_ME11_odd_, GEMCSCLUT_roll_l2_max_wg_ME21_even_, GEMCSCLUT_roll_l2_max_wg_ME21_odd_, GEMCSCLUT_roll_l2_min_wg_ME11_even_, GEMCSCLUT_roll_l2_min_wg_ME11_odd_, GEMCSCLUT_roll_l2_min_wg_ME21_even_, GEMCSCLUT_roll_l2_min_wg_ME21_odd_, edm::ParameterSet::getParameter(), hasGE21Geometry16Partitions_, isEven_, maxDeltaBX_, maxDeltaPad_, maxDeltaRoll_, padToEsME1aFiles_, padToEsME1bFiles_, padToEsME21Files_, padToHsME1aFiles_, padToHsME1bFiles_, padToHsME21Files_, rollToMaxWgME11Files_, rollToMaxWgME21Files_, rollToMinWgME11Files_, rollToMinWgME21Files_, and station_.
|
private |
Definition at line 134 of file GEMClusterProcessor.cc.
References funct::abs(), relativeConstraints::chamber, chamber_, clusters_, GEMPadDigiCluster::GE21, hasGE21Geometry16Partitions_, GeomDetEnumerators::isME0(), phase1PixelTopology::layer, match(), maxDeltaBX_, maxDeltaPad_, maxDeltaRoll_, or, AlCaHLTBitMon_ParallelJobs::p, HLT_FULL_cff::region, region_, relativeConstraints::ring, relativeConstraints::station, and station_.
Referenced by run().
|
private |
Definition at line 207 of file GEMClusterProcessor.cc.
References chamber_, clusters_, mps_fire::end, GEMPadDigiCluster::GE21, hasGE21Geometry16Partitions_, GeomDetEnumerators::isME0(), phase1PixelTopology::layer, or, AlCaHLTBitMon_ParallelJobs::p, submitPVResolutionJobs::q, HLT_FULL_cff::region, region_, and station_.
Referenced by run().
void GEMClusterProcessor::clear | ( | void | ) |
Clear copad vector
Definition at line 79 of file GEMClusterProcessor.cc.
References clusters_.
Referenced by run().
|
private |
Definition at line 250 of file GEMClusterProcessor.cc.
References clusters_, GEMCSCLUT_pad_es_ME1a_even_, GEMCSCLUT_pad_es_ME1a_odd_, GEMCSCLUT_pad_es_ME1b_even_, GEMCSCLUT_pad_es_ME1b_odd_, GEMCSCLUT_pad_es_ME21_even_, GEMCSCLUT_pad_es_ME21_odd_, GEMCSCLUT_pad_hs_ME1a_even_, GEMCSCLUT_pad_hs_ME1a_odd_, GEMCSCLUT_pad_hs_ME1b_even_, GEMCSCLUT_pad_hs_ME1b_odd_, GEMCSCLUT_pad_hs_ME21_even_, GEMCSCLUT_pad_hs_ME21_odd_, GEMCSCLUT_roll_l1_max_wg_ME11_even_, GEMCSCLUT_roll_l1_max_wg_ME11_odd_, GEMCSCLUT_roll_l1_max_wg_ME21_even_, GEMCSCLUT_roll_l1_max_wg_ME21_odd_, GEMCSCLUT_roll_l1_min_wg_ME11_even_, GEMCSCLUT_roll_l1_min_wg_ME11_odd_, GEMCSCLUT_roll_l1_min_wg_ME21_even_, GEMCSCLUT_roll_l1_min_wg_ME21_odd_, GEMCSCLUT_roll_l2_max_wg_ME11_even_, GEMCSCLUT_roll_l2_max_wg_ME11_odd_, GEMCSCLUT_roll_l2_max_wg_ME21_even_, GEMCSCLUT_roll_l2_max_wg_ME21_odd_, GEMCSCLUT_roll_l2_min_wg_ME11_even_, GEMCSCLUT_roll_l2_min_wg_ME11_odd_, GEMCSCLUT_roll_l2_min_wg_ME21_even_, GEMCSCLUT_roll_l2_min_wg_ME21_odd_, isEven_, and station_.
Referenced by run().
std::vector< GEMInternalCluster > GEMClusterProcessor::getClusters | ( | int | bx | ) | const |
Definition at line 95 of file GEMClusterProcessor.cc.
References l1GtPatternGenerator_cfi::bx, GetRecoTauVFromDQM_MC_cff::cl, clusters_, and convertSQLitetoXML_cfg::output.
std::vector< GEMInternalCluster > GEMClusterProcessor::getClusters | ( | int | bx, |
int | deltaBX | ||
) | const |
Definition at line 108 of file GEMClusterProcessor.cc.
References funct::abs(), l1GtPatternGenerator_cfi::bx, GetRecoTauVFromDQM_MC_cff::cl, clusters_, and convertSQLitetoXML_cfg::output.
std::vector< GEMInternalCluster > GEMClusterProcessor::getCoincidenceClusters | ( | int | bx | ) | const |
Definition at line 121 of file GEMClusterProcessor.cc.
References l1GtPatternGenerator_cfi::bx, GetRecoTauVFromDQM_MC_cff::cl, clusters_, and convertSQLitetoXML_cfg::output.
|
inline |
std::vector< GEMCoPadDigi > GEMClusterProcessor::readoutCoPads | ( | ) | const |
Returns vector of CoPads in the read-out time window, if any.
Definition at line 526 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 81 of file GEMClusterProcessor.cc.
References addCoincidenceClusters(), addSingleClusters(), clear(), and doCoordinateConversion().
|
private |
Definition at line 60 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), addSingleClusters(), and GEMClusterProcessor().
|
private |
Definition at line 70 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), addSingleClusters(), clear(), doCoordinateConversion(), getClusters(), getCoincidenceClusters(), and readoutCoPads().
|
private |
Definition at line 94 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 95 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 96 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 97 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 98 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 99 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 87 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 88 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 89 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 90 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 91 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 92 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 101 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 102 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 105 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 106 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 103 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 104 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 107 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 108 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 110 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 111 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 114 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 115 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 112 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 113 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 116 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 117 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 67 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), addSingleClusters(), GEMClusterProcessor(), and hasGE21Geometry16Partitions().
|
private |
Definition at line 61 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 64 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), and GEMClusterProcessor().
|
private |
Definition at line 63 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), and GEMClusterProcessor().
|
private |
Definition at line 65 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), and GEMClusterProcessor().
|
private |
Definition at line 77 of file GEMClusterProcessor.h.
Referenced by GEMClusterProcessor().
|
private |
Definition at line 78 of file GEMClusterProcessor.h.
Referenced by GEMClusterProcessor().
|
private |
Definition at line 79 of file GEMClusterProcessor.h.
Referenced by GEMClusterProcessor().
|
private |
Definition at line 73 of file GEMClusterProcessor.h.
Referenced by GEMClusterProcessor().
|
private |
Definition at line 74 of file GEMClusterProcessor.h.
Referenced by GEMClusterProcessor().
|
private |
Definition at line 75 of file GEMClusterProcessor.h.
Referenced by GEMClusterProcessor().
|
private |
Chamber id (trigger-type labels).
Definition at line 58 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), and addSingleClusters().
|
private |
Definition at line 81 of file GEMClusterProcessor.h.
Referenced by GEMClusterProcessor().
|
private |
Definition at line 83 of file GEMClusterProcessor.h.
Referenced by GEMClusterProcessor().
|
private |
Definition at line 82 of file GEMClusterProcessor.h.
Referenced by GEMClusterProcessor().
|
private |
Definition at line 84 of file GEMClusterProcessor.h.
Referenced by GEMClusterProcessor().
|
private |
Definition at line 59 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), addSingleClusters(), doCoordinateConversion(), and GEMClusterProcessor().