#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 *, const CSCL1TPLookupTableME11ILT *lookupTableME11ILT, const CSCL1TPLookupTableME21ILT *lookupTableME21ILT) |
Private Member Functions | |
void | addCoincidenceClusters (const GEMPadDigiClusterCollection *) |
void | addSingleClusters (const GEMPadDigiClusterCollection *) |
void | doCoordinateConversion (const CSCL1TPLookupTableME11ILT *lookupTableME11ILT, const CSCL1TPLookupTableME21ILT *lookupTableME21ILT) |
Private Attributes | |
const int | chamber_ |
std::vector< GEMInternalCluster > | clusters_ |
unsigned int | delayGEMinOTMB_ |
bool | hasGE21Geometry16Partitions_ |
bool | isEven_ |
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 36 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 80 of file GEMClusterProcessor.cc.
References funct::abs(), relativeConstraints::chamber, chamber_, clusters_, delayGEMinOTMB_, GEMPadDigiCluster::GE21, hasGE21Geometry16Partitions_, GeomDetEnumerators::isME0(), nano_mu_digi_cff::layer, match(), maxDeltaBX_, maxDeltaPad_, maxDeltaRoll_, or, AlCaHLTBitMon_ParallelJobs::p, nano_mu_digi_cff::region, region_, relativeConstraints::ring, nano_mu_digi_cff::roll, relativeConstraints::station, station_, and tmbL1aWindowSize_.
Referenced by run().
|
private |
Definition at line 154 of file GEMClusterProcessor.cc.
References chamber_, clusters_, delayGEMinOTMB_, GEMPadDigiCluster::GE21, hasGE21Geometry16Partitions_, GeomDetEnumerators::isME0(), nano_mu_digi_cff::layer, or, AlCaHLTBitMon_ParallelJobs::p, submitPVResolutionJobs::q, nano_mu_digi_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 200 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_, nano_mu_digi_cff::roll, and station_.
Referenced by run().
std::vector< GEMInternalCluster > GEMClusterProcessor::getClusters | ( | int | bx, |
ClusterTypes | option = AllClusters |
||
) | const |
Definition at line 62 of file GEMClusterProcessor.cc.
References nano_mu_digi_cff::bx, haddnano::cl, clusters_, CoincidenceClusters, fileinputsource_cfi::option, convertSQLitetoXML_cfg::output, and SingleClusters.
|
inline |
Definition at line 42 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 382 of file GEMClusterProcessor.cc.
References clusters_, and convertSQLitetoXML_cfg::output.
void GEMClusterProcessor::run | ( | const GEMPadDigiClusterCollection * | in_clusters, |
const CSCL1TPLookupTableME11ILT * | lookupTableME11ILT, | ||
const CSCL1TPLookupTableME21ILT * | lookupTableME21ILT | ||
) |
Runs the CoPad processor code.
Definition at line 41 of file GEMClusterProcessor.cc.
References addCoincidenceClusters(), addSingleClusters(), clear(), and doCoordinateConversion().
|
private |
Definition at line 61 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), addSingleClusters(), and GEMClusterProcessor().
|
private |
Definition at line 73 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), addSingleClusters(), clear(), doCoordinateConversion(), getClusters(), and readoutCoPads().
|
private |
Definition at line 65 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), addSingleClusters(), and GEMClusterProcessor().
|
private |
Definition at line 70 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), addSingleClusters(), GEMClusterProcessor(), and hasGE21Geometry16Partitions().
|
private |
Definition at line 62 of file GEMClusterProcessor.h.
Referenced by doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 67 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), and GEMClusterProcessor().
|
private |
Definition at line 66 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 59 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), and addSingleClusters().
|
private |
Definition at line 60 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), addSingleClusters(), doCoordinateConversion(), and GEMClusterProcessor().
|
private |
Definition at line 64 of file GEMClusterProcessor.h.
Referenced by addCoincidenceClusters(), addSingleClusters(), and GEMClusterProcessor().