#include <CSCGEMMatcher.h>
Public Types | |
typedef std::vector< GEMInternalCluster > | GEMInternalClusters |
Public Member Functions | |
void | bestClusterLoc (const CSCALCTDigi &alct, const GEMInternalClusters &clusters, GEMInternalCluster &best) const |
void | bestClusterLoc (const CSCCLCTDigi &clct, const GEMInternalClusters &clusters, const CSCL1TPLookupTableME11ILT *lookupTableME11ILT, const CSCL1TPLookupTableME21ILT *lookupTableME21ILT, GEMInternalCluster &best) const |
void | bestClusterLoc (const CSCALCTDigi &alct, const CSCCLCTDigi &clct, const GEMInternalClusters &clusters, const CSCL1TPLookupTableME11ILT *lookupTableME11ILT, const CSCL1TPLookupTableME21ILT *lookupTableME21ILT, GEMInternalCluster &best) const |
int | calculateGEMCSCBending (const CSCCLCTDigi &clct, const GEMInternalCluster &cluster, const CSCL1TPLookupTableME11ILT *lookupTableME11ILT, const CSCL1TPLookupTableME21ILT *lookupTableME21ILT) const |
CSCGEMMatcher (int endcap, unsigned station, unsigned chamber, const edm::ParameterSet &tmbParams, const edm::ParameterSet &luts) | |
int | matchedClusterDistES (const CSCCLCTDigi &clct, const GEMInternalCluster &cluster, const bool isLayer2, const bool ForceTotal, const CSCL1TPLookupTableME11ILT *lookupTableME11ILT, const CSCL1TPLookupTableME21ILT *lookupTableME21ILT) const |
void | matchingClustersLoc (const CSCALCTDigi &alct, const GEMInternalClusters &clusters, GEMInternalClusters &output) const |
void | matchingClustersLoc (const CSCCLCTDigi &clct, const GEMInternalClusters &clusters, GEMInternalClusters &output, bool ignoreALCTGEMmatch, const CSCL1TPLookupTableME11ILT *lookupTableME11ILT, const CSCL1TPLookupTableME21ILT *lookupTableME21ILT) const |
void | matchingClustersLoc (const CSCALCTDigi &alct, const CSCCLCTDigi &clct, const GEMInternalClusters &clusters, const CSCL1TPLookupTableME11ILT *lookupTableME11ILT, const CSCL1TPLookupTableME21ILT *lookupTableME21ILT, GEMInternalClusters &output) const |
Private Member Functions | |
int | CSCGEMSlopeCorrector (const bool isME1a, const int cscSlope, bool isLayer2, const CSCL1TPLookupTableME11ILT *lookupTableME11ILT, const CSCL1TPLookupTableME21ILT *lookupTableME21ILT) const |
uint16_t | mitigatedSlopeByConsistency (const CSCCLCTDigi &clct, const CSCL1TPLookupTableME11ILT *lookupTableME11ILT, const CSCL1TPLookupTableME21ILT *lookupTableME21ILT) const |
Private Attributes | |
bool | assign_gem_csc_bending_ |
unsigned | chamber_ |
bool | enable_match_gem_me1a_ |
bool | enable_match_gem_me1b_ |
unsigned | endcap_ |
bool | isEven_ |
bool | matchCLCTpropagation_ |
unsigned | maxDeltaHsEven_ |
unsigned | maxDeltaHsOdd_ |
unsigned | maxDeltaWG_ |
bool | mitigateSlopeByCosi_ |
unsigned | ring_ |
unsigned | station_ |
Helper class to check if an ALCT or CLCT matches with a GEMInternalCluster
Definition at line 25 of file CSCGEMMatcher.h.
typedef std::vector<GEMInternalCluster> CSCGEMMatcher::GEMInternalClusters |
Definition at line 27 of file CSCGEMMatcher.h.
CSCGEMMatcher::CSCGEMMatcher | ( | int | endcap, |
unsigned | station, | ||
unsigned | chamber, | ||
const edm::ParameterSet & | tmbParams, | ||
const edm::ParameterSet & | luts | ||
) |
Definition at line 11 of file CSCGEMMatcher.cc.
References assign_gem_csc_bending_, chamber_, enable_match_gem_me1a_, enable_match_gem_me1b_, isEven_, matchCLCTpropagation_, maxDeltaHsEven_, maxDeltaHsOdd_, maxDeltaWG_, and mitigateSlopeByCosi_.
void CSCGEMMatcher::bestClusterLoc | ( | const CSCALCTDigi & | alct, |
const GEMInternalClusters & | clusters, | ||
GEMInternalCluster & | best | ||
) | const |
Definition at line 33 of file CSCGEMMatcher.cc.
References bsc_activity_cfg::clusters, CSCALCTDigi::isValid(), matchingClustersLoc(), and or.
void CSCGEMMatcher::bestClusterLoc | ( | const CSCCLCTDigi & | clct, |
const GEMInternalClusters & | clusters, | ||
const CSCL1TPLookupTableME11ILT * | lookupTableME11ILT, | ||
const CSCL1TPLookupTableME21ILT * | lookupTableME21ILT, | ||
GEMInternalCluster & | best | ||
) | const |
Definition at line 48 of file CSCGEMMatcher.cc.
References bsc_activity_cfg::clusters, CSCCLCTDigi::isValid(), matchingClustersLoc(), and or.
void CSCGEMMatcher::bestClusterLoc | ( | const CSCALCTDigi & | alct, |
const CSCCLCTDigi & | clct, | ||
const GEMInternalClusters & | clusters, | ||
const CSCL1TPLookupTableME11ILT * | lookupTableME11ILT, | ||
const CSCL1TPLookupTableME21ILT * | lookupTableME21ILT, | ||
GEMInternalCluster & | best | ||
) | const |
Definition at line 66 of file CSCGEMMatcher.cc.
References bsc_activity_cfg::clusters, CSCALCTDigi::isValid(), CSCCLCTDigi::isValid(), matchingClustersLoc(), and or.
int CSCGEMMatcher::calculateGEMCSCBending | ( | const CSCCLCTDigi & | clct, |
const GEMInternalCluster & | cluster, | ||
const CSCL1TPLookupTableME11ILT * | lookupTableME11ILT, | ||
const CSCL1TPLookupTableME21ILT * | lookupTableME21ILT | ||
) | const |
Definition at line 442 of file CSCGEMMatcher.cc.
References funct::abs(), CSCL1TPLookupTableME11ILT::es_diff_slope_L1_ME11a_even(), CSCL1TPLookupTableME11ILT::es_diff_slope_L1_ME11a_odd(), CSCL1TPLookupTableME11ILT::es_diff_slope_L1_ME11b_even(), CSCL1TPLookupTableME11ILT::es_diff_slope_L1_ME11b_odd(), CSCL1TPLookupTableME21ILT::es_diff_slope_L1_ME21_even(), CSCL1TPLookupTableME21ILT::es_diff_slope_L1_ME21_odd(), CSCL1TPLookupTableME11ILT::es_diff_slope_L2_ME11a_even(), CSCL1TPLookupTableME11ILT::es_diff_slope_L2_ME11a_odd(), CSCL1TPLookupTableME11ILT::es_diff_slope_L2_ME11b_even(), CSCL1TPLookupTableME11ILT::es_diff_slope_L2_ME11b_odd(), CSCL1TPLookupTableME21ILT::es_diff_slope_L2_ME21_even(), CSCL1TPLookupTableME21ILT::es_diff_slope_L2_ME21_odd(), CSCCLCTDigi::getKeyStrip(), isEven_, GEMInternalCluster::isMatchingLayer1(), GEMInternalCluster::isMatchingLayer2(), matchedClusterDistES(), CSCConstants::MAX_HALF_STRIP_ME1B, funct::pow(), and station_.
|
private |
Definition at line 380 of file CSCGEMMatcher.cc.
References funct::abs(), chamber_, CSCL1TPLookupTableME11ILT::CSC_slope_corr_L1_ME11a_even(), CSCL1TPLookupTableME11ILT::CSC_slope_corr_L1_ME11a_odd(), CSCL1TPLookupTableME11ILT::CSC_slope_corr_L1_ME11b_even(), CSCL1TPLookupTableME11ILT::CSC_slope_corr_L1_ME11b_odd(), CSCL1TPLookupTableME21ILT::CSC_slope_corr_L1_ME21_even(), CSCL1TPLookupTableME21ILT::CSC_slope_corr_L1_ME21_odd(), CSCL1TPLookupTableME11ILT::CSC_slope_corr_L2_ME11a_even(), CSCL1TPLookupTableME11ILT::CSC_slope_corr_L2_ME11a_odd(), CSCL1TPLookupTableME11ILT::CSC_slope_corr_L2_ME11b_even(), CSCL1TPLookupTableME11ILT::CSC_slope_corr_L2_ME11b_odd(), CSCL1TPLookupTableME21ILT::CSC_slope_corr_L2_ME21_even(), CSCL1TPLookupTableME21ILT::CSC_slope_corr_L2_ME21_odd(), CSCL1TPLookupTableME11ILT::CSC_slope_cosi_corr_L1_ME11a_even(), CSCL1TPLookupTableME11ILT::CSC_slope_cosi_corr_L1_ME11a_odd(), CSCL1TPLookupTableME11ILT::CSC_slope_cosi_corr_L1_ME11b_even(), CSCL1TPLookupTableME11ILT::CSC_slope_cosi_corr_L1_ME11b_odd(), CSCL1TPLookupTableME21ILT::CSC_slope_cosi_corr_L1_ME21_even(), CSCL1TPLookupTableME21ILT::CSC_slope_cosi_corr_L1_ME21_odd(), mitigateSlopeByCosi_, funct::pow(), and station_.
Referenced by matchedClusterDistES().
int CSCGEMMatcher::matchedClusterDistES | ( | const CSCCLCTDigi & | clct, |
const GEMInternalCluster & | cluster, | ||
const bool | isLayer2, | ||
const bool | ForceTotal, | ||
const CSCL1TPLookupTableME11ILT * | lookupTableME11ILT, | ||
const CSCL1TPLookupTableME21ILT * | lookupTableME21ILT | ||
) | const |
Definition at line 242 of file CSCGEMMatcher.cc.
References haddnano::cl, CSCGEMSlopeCorrector(), CSCCLCTDigi::getBend(), CSCCLCTDigi::getKeyStrip(), CSCCLCTDigi::getSlope(), matchCLCTpropagation_, CSCConstants::MAX_HALF_STRIP_ME1B, mitigatedSlopeByConsistency(), mitigateSlopeByCosi_, funct::pow(), and station_.
Referenced by calculateGEMCSCBending(), and matchingClustersLoc().
void CSCGEMMatcher::matchingClustersLoc | ( | const CSCALCTDigi & | alct, |
const GEMInternalClusters & | clusters, | ||
GEMInternalClusters & | output | ||
) | const |
Definition at line 93 of file CSCGEMMatcher.cc.
References haddnano::cl, bsc_activity_cfg::clusters, CSCALCTDigi::getKeyWG(), CSCALCTDigi::isValid(), WZElectronSkims53X_cff::max, maxDeltaWG_, SiStripPI::min, CSCConstants::NUM_WIREGROUPS_ME11, CSCConstants::NUM_WIREGROUPS_ME21, or, and station_.
Referenced by bestClusterLoc(), and matchingClustersLoc().
void CSCGEMMatcher::matchingClustersLoc | ( | const CSCCLCTDigi & | clct, |
const GEMInternalClusters & | clusters, | ||
GEMInternalClusters & | output, | ||
bool | ignoreALCTGEMmatch, | ||
const CSCL1TPLookupTableME11ILT * | lookupTableME11ILT, | ||
const CSCL1TPLookupTableME21ILT * | lookupTableME21ILT | ||
) | const |
Definition at line 138 of file CSCGEMMatcher.cc.
References funct::abs(), haddnano::cl, GetRecoTauVFromDQM_MC_cff::cl2, bsc_activity_cfg::clusters, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), enable_match_gem_me1a_, enable_match_gem_me1b_, CSCCLCTDigi::getKeyStrip(), isEven_, CSCCLCTDigi::isValid(), matchedClusterDistES(), CSCConstants::MAX_HALF_STRIP_ME1B, maxDeltaHsEven_, maxDeltaHsOdd_, or, jetUpdater_cfi::sort, and station_.
void CSCGEMMatcher::matchingClustersLoc | ( | const CSCALCTDigi & | alct, |
const CSCCLCTDigi & | clct, | ||
const GEMInternalClusters & | clusters, | ||
const CSCL1TPLookupTableME11ILT * | lookupTableME11ILT, | ||
const CSCL1TPLookupTableME21ILT * | lookupTableME21ILT, | ||
GEMInternalClusters & | output | ||
) | const |
Definition at line 220 of file CSCGEMMatcher.cc.
References bsc_activity_cfg::clusters, CSCALCTDigi::isValid(), CSCCLCTDigi::isValid(), matchingClustersLoc(), and or.
|
private |
Definition at line 274 of file CSCGEMMatcher.cc.
References funct::abs(), reco::ceil(), chamber_, CSCL1TPLookupTableME11ILT::CSC_slope_cosi_2to1_L1_ME11a_even(), CSCL1TPLookupTableME11ILT::CSC_slope_cosi_2to1_L1_ME11a_odd(), CSCL1TPLookupTableME11ILT::CSC_slope_cosi_2to1_L1_ME11b_even(), CSCL1TPLookupTableME11ILT::CSC_slope_cosi_2to1_L1_ME11b_odd(), CSCL1TPLookupTableME21ILT::CSC_slope_cosi_2to1_L1_ME21_even(), CSCL1TPLookupTableME21ILT::CSC_slope_cosi_2to1_L1_ME21_odd(), CSCL1TPLookupTableME11ILT::CSC_slope_cosi_3to1_L1_ME11a_even(), CSCL1TPLookupTableME11ILT::CSC_slope_cosi_3to1_L1_ME11a_odd(), CSCL1TPLookupTableME11ILT::CSC_slope_cosi_3to1_L1_ME11b_even(), CSCL1TPLookupTableME11ILT::CSC_slope_cosi_3to1_L1_ME11b_odd(), CSCL1TPLookupTableME21ILT::CSC_slope_cosi_3to1_L1_ME21_even(), CSCL1TPLookupTableME21ILT::CSC_slope_cosi_3to1_L1_ME21_odd(), CSCCLCTDigi::getHits(), CSCCLCTDigi::getKeyStrip(), CSCCLCTDigi::getSlope(), createfilelist::int, nano_mu_digi_cff::layer, CSCConstants::MAX_HALF_STRIP_ME1B, position, and station_.
Referenced by matchedClusterDistES().
|
private |
Definition at line 123 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher().
|
private |
Definition at line 108 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), CSCGEMSlopeCorrector(), and mitigatedSlopeByConsistency().
|
private |
Definition at line 112 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and matchingClustersLoc().
|
private |
Definition at line 113 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and matchingClustersLoc().
|
private |
Definition at line 105 of file CSCGEMMatcher.h.
|
private |
Definition at line 109 of file CSCGEMMatcher.h.
Referenced by calculateGEMCSCBending(), CSCGEMMatcher(), and matchingClustersLoc().
|
private |
Definition at line 116 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and matchedClusterDistES().
|
private |
Definition at line 120 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and matchingClustersLoc().
|
private |
Definition at line 121 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and matchingClustersLoc().
|
private |
Definition at line 119 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and matchingClustersLoc().
|
private |
Definition at line 124 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), CSCGEMSlopeCorrector(), and matchedClusterDistES().
|
private |
Definition at line 107 of file CSCGEMMatcher.h.
|
private |
Definition at line 106 of file CSCGEMMatcher.h.
Referenced by calculateGEMCSCBending(), CSCGEMSlopeCorrector(), matchedClusterDistES(), matchingClustersLoc(), and mitigatedSlopeByConsistency().