#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, int deltaBX=0, ClusterTypes option=AllClusters) const |
std::vector< GEMInternalCluster > | getCoincidenceClusters (int bx) 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_ |
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_ |
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 chamber_, edm::ParameterSet::getParameter(), hasGE21Geometry16Partitions_, isEven_, maxDeltaBX_, maxDeltaPad_, maxDeltaRoll_, or, and station_.
|
private |
Definition at line 92 of file GEMClusterProcessor.cc.
References funct::abs(), 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 165 of file GEMClusterProcessor.cc.
References SplitLinear::begin, chamber_, clusters_, dataset::end, GEMPadDigiCluster::GE21, GEMInternalCluster::has_cluster(), 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 34 of file GEMClusterProcessor.cc.
References clusters_.
Referenced by run().
|
private |
Definition at line 208 of file GEMClusterProcessor.cc.
References clusters_, CSCL1TPLookupTableME11ILT::GEM_pad_CSC_es_ME1a_even(), CSCL1TPLookupTableME11ILT::GEM_pad_CSC_es_ME1a_odd(), CSCL1TPLookupTableME11ILT::GEM_pad_CSC_es_ME1b_even(), CSCL1TPLookupTableME11ILT::GEM_pad_CSC_es_ME1b_odd(), CSCL1TPLookupTableME21ILT::GEM_pad_CSC_es_ME21_even(), CSCL1TPLookupTableME21ILT::GEM_pad_CSC_es_ME21_odd(), CSCL1TPLookupTableME11ILT::GEM_pad_CSC_hs_ME1a_even(), CSCL1TPLookupTableME11ILT::GEM_pad_CSC_hs_ME1a_odd(), CSCL1TPLookupTableME11ILT::GEM_pad_CSC_hs_ME1b_even(), CSCL1TPLookupTableME11ILT::GEM_pad_CSC_hs_ME1b_odd(), CSCL1TPLookupTableME21ILT::GEM_pad_CSC_hs_ME21_even(), CSCL1TPLookupTableME21ILT::GEM_pad_CSC_hs_ME21_odd(), CSCL1TPLookupTableME11ILT::GEM_roll_L1_CSC_max_wg_ME11_even(), CSCL1TPLookupTableME11ILT::GEM_roll_L1_CSC_max_wg_ME11_odd(), CSCL1TPLookupTableME21ILT::GEM_roll_L1_CSC_max_wg_ME21_even(), CSCL1TPLookupTableME21ILT::GEM_roll_L1_CSC_max_wg_ME21_odd(), CSCL1TPLookupTableME11ILT::GEM_roll_L1_CSC_min_wg_ME11_even(), CSCL1TPLookupTableME11ILT::GEM_roll_L1_CSC_min_wg_ME11_odd(), CSCL1TPLookupTableME21ILT::GEM_roll_L1_CSC_min_wg_ME21_even(), CSCL1TPLookupTableME21ILT::GEM_roll_L1_CSC_min_wg_ME21_odd(), CSCL1TPLookupTableME11ILT::GEM_roll_L2_CSC_max_wg_ME11_even(), CSCL1TPLookupTableME11ILT::GEM_roll_L2_CSC_max_wg_ME11_odd(), CSCL1TPLookupTableME21ILT::GEM_roll_L2_CSC_max_wg_ME21_even(), CSCL1TPLookupTableME21ILT::GEM_roll_L2_CSC_max_wg_ME21_odd(), CSCL1TPLookupTableME11ILT::GEM_roll_L2_CSC_min_wg_ME11_even(), CSCL1TPLookupTableME11ILT::GEM_roll_L2_CSC_min_wg_ME11_odd(), CSCL1TPLookupTableME21ILT::GEM_roll_L2_CSC_min_wg_ME21_even(), CSCL1TPLookupTableME21ILT::GEM_roll_L2_CSC_min_wg_ME21_odd(), isEven_, lookupTableME11ILT_, lookupTableME21ILT_, and station_.
Referenced by run().
std::vector< GEMInternalCluster > GEMClusterProcessor::getClusters | ( | int | bx, |
int | deltaBX = 0 , |
||
ClusterTypes | option = AllClusters |
||
) | const |
Definition at line 60 of file GEMClusterProcessor.cc.
References funct::abs(), makePileupJSON::bx, haddnano::cl, clusters_, CoincidenceClusters, convertSQLitetoXML_cfg::output, and SingleClusters.
std::vector< GEMInternalCluster > GEMClusterProcessor::getCoincidenceClusters | ( | int | bx | ) | const |
Definition at line 79 of file GEMClusterProcessor.cc.
References haddnano::cl, clusters_, and convertSQLitetoXML_cfg::output.
|
inline |
Definition at line 43 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 484 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 40 of file GEMClusterProcessor.cc.
References addCoincidenceClusters(), addSingleClusters(), clear(), and doCoordinateConversion().
void GEMClusterProcessor::setESLookupTables | ( | const CSCL1TPLookupTableME11ILT * | conf | ) |
Definition at line 36 of file GEMClusterProcessor.cc.
References lookupTableME11ILT_.
void GEMClusterProcessor::setESLookupTables | ( | const CSCL1TPLookupTableME21ILT * | conf | ) |
Definition at line 38 of file GEMClusterProcessor.cc.
References lookupTableME21ILT_.
|
private |
Definition at line 65 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), addSingleClusters(), and GEMClusterProcessor().
|
private |
Definition at line 75 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), addSingleClusters(), clear(), doCoordinateConversion(), getClusters(), getCoincidenceClusters(), and readoutCoPads().
|
private |
Definition at line 72 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), addSingleClusters(), GEMClusterProcessor(), and hasGE21Geometry16Partitions().
|
private |
Definition at line 66 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 77 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and setESLookupTables().
|
private |
Definition at line 78 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and setESLookupTables().
|
private |
Definition at line 69 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), and GEMClusterProcessor().
|
private |
Definition at line 68 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), and GEMClusterProcessor().
|
private |
Definition at line 70 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), and GEMClusterProcessor().
|
private |
Chamber id (trigger-type labels).
Definition at line 63 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), and addSingleClusters().
|
private |
Definition at line 64 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), addSingleClusters(), doCoordinateConversion(), and GEMClusterProcessor().