#include <CSCGEMMatcher.h>
Public Types | |
typedef std::vector< GEMInternalCluster > | GEMInternalClusters |
Private Member Functions | |
int | CSCGEMSlopeCorrector (const bool isME1a, const int cscSlope, bool isLayer2) const |
uint16_t | mitigatedSlopeByConsistency (const CSCCLCTDigi &clct) const |
Private Attributes | |
bool | assign_gem_csc_bending_ |
unsigned | chamber_ |
bool | enable_match_gem_me1a_ |
bool | enable_match_gem_me1b_ |
unsigned | endcap_ |
bool | isEven_ |
const CSCL1TPLookupTableME11ILT * | lookupTableME11ILT_ |
const CSCL1TPLookupTableME21ILT * | lookupTableME21ILT_ |
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 37 of file CSCGEMMatcher.cc.
References bsc_activity_cfg::clusters, CSCALCTDigi::isValid(), matchingClustersLoc(), and or.
void CSCGEMMatcher::bestClusterLoc | ( | const CSCCLCTDigi & | clct, |
const GEMInternalClusters & | clusters, | ||
GEMInternalCluster & | best | ||
) | const |
Definition at line 52 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, | ||
GEMInternalCluster & | best | ||
) | const |
Definition at line 68 of file CSCGEMMatcher.cc.
References bsc_activity_cfg::clusters, GEMInternalCluster::isCoincidence(), GEMInternalCluster::isMatchingLayer1(), GEMInternalCluster::isMatchingLayer2(), CSCALCTDigi::isValid(), CSCCLCTDigi::isValid(), matchingClustersLoc(), or, and GEMInternalCluster::set_coincidence().
int CSCGEMMatcher::calculateGEMCSCBending | ( | const CSCCLCTDigi & | clct, |
const GEMInternalCluster & | cluster | ||
) | const |
Definition at line 422 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(), lookupTableME11ILT_, lookupTableME21ILT_, matchedClusterDistES(), CSCConstants::MAX_HALF_STRIP_ME1B, funct::pow(), and station_.
|
private |
Definition at line 364 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(), lookupTableME11ILT_, lookupTableME21ILT_, mitigateSlopeByCosi_, funct::pow(), and station_.
Referenced by matchedClusterDistES().
int CSCGEMMatcher::matchedClusterDistES | ( | const CSCCLCTDigi & | clct, |
const GEMInternalCluster & | cluster, | ||
const bool | isLayer2, | ||
const bool | ForceTotal | ||
) | const |
Definition at line 231 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(), SiStripPI::max, maxDeltaWG_, SiStripPI::min, CSCConstants::NUM_WIREGROUPS_ME11, CSCConstants::NUM_WIREGROUPS_ME21, or, convertSQLitetoXML_cfg::output, and station_.
Referenced by bestClusterLoc(), and matchingClustersLoc().
void CSCGEMMatcher::matchingClustersLoc | ( | const CSCCLCTDigi & | clct, |
const GEMInternalClusters & | clusters, | ||
GEMInternalClusters & | output, | ||
bool | ignoreALCTGEMmatch | ||
) | const |
Definition at line 138 of file CSCGEMMatcher.cc.
References funct::abs(), haddnano::cl, GetRecoTauVFromDQM_MC_cff::cl2, bsc_activity_cfg::clusters, enable_match_gem_me1a_, enable_match_gem_me1b_, CSCCLCTDigi::getKeyStrip(), isEven_, CSCCLCTDigi::isValid(), matchedClusterDistES(), CSCConstants::MAX_HALF_STRIP_ME1B, maxDeltaHsEven_, maxDeltaHsOdd_, or, convertSQLitetoXML_cfg::output, jetUpdater_cfi::sort, and station_.
void CSCGEMMatcher::matchingClustersLoc | ( | const CSCALCTDigi & | alct, |
const CSCCLCTDigi & | clct, | ||
const GEMInternalClusters & | clusters, | ||
GEMInternalClusters & | output | ||
) | const |
Definition at line 211 of file CSCGEMMatcher.cc.
References bsc_activity_cfg::clusters, CSCALCTDigi::isValid(), CSCCLCTDigi::isValid(), matchingClustersLoc(), or, and convertSQLitetoXML_cfg::output.
|
private |
Definition at line 260 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, phase1PixelTopology::layer, lookupTableME11ILT_, lookupTableME21ILT_, CSCConstants::MAX_HALF_STRIP_ME1B, position, and station_.
Referenced by matchedClusterDistES().
void CSCGEMMatcher::setESLookupTables | ( | const CSCL1TPLookupTableME11ILT * | conf | ) |
Definition at line 29 of file CSCGEMMatcher.cc.
References lookupTableME11ILT_.
void CSCGEMMatcher::setESLookupTables | ( | const CSCL1TPLookupTableME21ILT * | conf | ) |
Definition at line 31 of file CSCGEMMatcher.cc.
References lookupTableME21ILT_.
|
private |
Definition at line 109 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher().
|
private |
Definition at line 94 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), CSCGEMSlopeCorrector(), and mitigatedSlopeByConsistency().
|
private |
Definition at line 98 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and matchingClustersLoc().
|
private |
Definition at line 99 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and matchingClustersLoc().
|
private |
Definition at line 91 of file CSCGEMMatcher.h.
|
private |
Definition at line 95 of file CSCGEMMatcher.h.
Referenced by calculateGEMCSCBending(), CSCGEMMatcher(), and matchingClustersLoc().
|
private |
Definition at line 82 of file CSCGEMMatcher.h.
Referenced by calculateGEMCSCBending(), CSCGEMSlopeCorrector(), mitigatedSlopeByConsistency(), and setESLookupTables().
|
private |
Definition at line 83 of file CSCGEMMatcher.h.
Referenced by calculateGEMCSCBending(), CSCGEMSlopeCorrector(), mitigatedSlopeByConsistency(), and setESLookupTables().
|
private |
Definition at line 102 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and matchedClusterDistES().
|
private |
Definition at line 106 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and matchingClustersLoc().
|
private |
Definition at line 107 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and matchingClustersLoc().
|
private |
Definition at line 105 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and matchingClustersLoc().
|
private |
Definition at line 110 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), CSCGEMSlopeCorrector(), and matchedClusterDistES().
|
private |
Definition at line 93 of file CSCGEMMatcher.h.
|
private |
Definition at line 92 of file CSCGEMMatcher.h.
Referenced by calculateGEMCSCBending(), CSCGEMSlopeCorrector(), matchedClusterDistES(), matchingClustersLoc(), and mitigatedSlopeByConsistency().