#include <CSCGEMMatcher.h>
Public Types | |
typedef std::vector < GEMInternalCluster > | GEMInternalClusters |
Private Member Functions | |
int | CSCGEMSlopeCorrector (const bool isL1orCopad, const int cscSlope) const |
uint16_t | mitigatedSlopeByConsistency (const CSCCLCTDigi &clct) const |
Private Attributes | |
bool | assign_gem_csc_bending_ |
unsigned | chamber_ |
unsigned | endcap_ |
bool | isEven_ |
const CSCL1TPLookupTableME11ILT * | lookupTableME11ILT_ |
const CSCL1TPLookupTableME21ILT * | lookupTableME21ILT_ |
bool | matchWithHS_ |
unsigned | maxDeltaBXALCTGEM_ |
unsigned | maxDeltaBXCLCTGEM_ |
unsigned | maxDeltaHsEven_ |
unsigned | maxDeltaHsEvenME1a_ |
unsigned | maxDeltaHsOdd_ |
unsigned | maxDeltaHsOddME1a_ |
bool | mitigateSlopeByCosi_ |
unsigned | ring_ |
unsigned | station_ |
Helper class to check if an ALCT or CLCT matches with a GEMInternalCluster
Definition at line 24 of file CSCGEMMatcher.h.
typedef std::vector<GEMInternalCluster> CSCGEMMatcher::GEMInternalClusters |
Definition at line 26 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_, edm::ParameterSet::getParameter(), isEven_, matchWithHS_, maxDeltaBXALCTGEM_, maxDeltaBXCLCTGEM_, maxDeltaHsEven_, maxDeltaHsEvenME1a_, maxDeltaHsOdd_, maxDeltaHsOddME1a_, mitigateSlopeByCosi_, or, and station_.
void CSCGEMMatcher::bestClusterBXLoc | ( | const CSCALCTDigi & | alct, |
const GEMInternalClusters & | clusters, | ||
GEMInternalCluster & | best | ||
) | const |
Definition at line 329 of file CSCGEMMatcher.cc.
References CSCALCTDigi::isValid(), matchingClustersBXLoc(), and or.
void CSCGEMMatcher::bestClusterBXLoc | ( | const CSCCLCTDigi & | clct, |
const GEMInternalClusters & | clusters, | ||
GEMInternalCluster & | best | ||
) | const |
Definition at line 343 of file CSCGEMMatcher.cc.
References CSCCLCTDigi::isValid(), matchingClustersBXLoc(), and or.
void CSCGEMMatcher::bestClusterBXLoc | ( | const CSCALCTDigi & | alct, |
const CSCCLCTDigi & | clct, | ||
const GEMInternalClusters & | clusters, | ||
GEMInternalCluster & | best | ||
) | const |
Definition at line 358 of file CSCGEMMatcher.cc.
References matchingClustersBXLoc().
unsigned CSCGEMMatcher::calculateGEMCSCBending | ( | const CSCCLCTDigi & | clct, |
const GEMInternalCluster & | cluster | ||
) | const |
Definition at line 42 of file CSCGEMMatcher.cc.
References funct::abs(), change_name::diff, CSCL1TPLookupTableME11ILT::es_diff_slope_L1_ME1a_even(), CSCL1TPLookupTableME11ILT::es_diff_slope_L1_ME1a_odd(), CSCL1TPLookupTableME11ILT::es_diff_slope_L1_ME1b_even(), CSCL1TPLookupTableME11ILT::es_diff_slope_L1_ME1b_odd(), CSCL1TPLookupTableME21ILT::es_diff_slope_L1_ME21_even(), CSCL1TPLookupTableME21ILT::es_diff_slope_L1_ME21_odd(), CSCL1TPLookupTableME11ILT::es_diff_slope_L2_ME1a_even(), CSCL1TPLookupTableME11ILT::es_diff_slope_L2_ME1a_odd(), CSCL1TPLookupTableME11ILT::es_diff_slope_L2_ME1b_even(), CSCL1TPLookupTableME11ILT::es_diff_slope_L2_ME1b_odd(), CSCL1TPLookupTableME21ILT::es_diff_slope_L2_ME21_even(), CSCL1TPLookupTableME21ILT::es_diff_slope_L2_ME21_odd(), GEMInternalCluster::getKeyStrip(), CSCCLCTDigi::getKeyStrip(), GEMInternalCluster::id(), isEven_, GEMDetId::layer(), lookupTableME11ILT_, lookupTableME21ILT_, CSCConstants::MAX_HALF_STRIP_ME1B, slope, and station_.
|
private |
Definition at line 435 of file CSCGEMMatcher.cc.
References funct::abs(), chamber_, CSCL1TPLookupTableME11ILT::CSC_slope_corr_L1_ME11_even(), CSCL1TPLookupTableME11ILT::CSC_slope_corr_L1_ME11_odd(), CSCL1TPLookupTableME11ILT::CSC_slope_corr_L2_ME11_even(), CSCL1TPLookupTableME11ILT::CSC_slope_corr_L2_ME11_odd(), CSCL1TPLookupTableME11ILT::CSC_slope_cosi_corr_L1_ME11_even(), CSCL1TPLookupTableME11ILT::CSC_slope_cosi_corr_L1_ME11_odd(), CSCL1TPLookupTableME11ILT::CSC_slope_cosi_corr_L2_ME11_even(), CSCL1TPLookupTableME11ILT::CSC_slope_cosi_corr_L2_ME11_odd(), endcap_, lookupTableME11ILT_, and mitigateSlopeByCosi_.
Referenced by matchedClusterLocES().
bool CSCGEMMatcher::matchedClusterLocES | ( | const CSCCLCTDigi & | clct, |
const GEMInternalCluster & | cluster | ||
) | const |
Definition at line 216 of file CSCGEMMatcher.cc.
References funct::abs(), chamber_, CSCGEMSlopeCorrector(), CSCCLCTDigi::getBend(), CSCCLCTDigi::getKeyStrip(), CSCCLCTDigi::getSlope(), GEMInternalCluster::id(), GEMInternalCluster::isCoincidence(), GEMDetId::layer(), GEMInternalCluster::layer1_middle_es(), GEMInternalCluster::layer1_middle_es_me1a(), GEMInternalCluster::layer2_middle_es(), GEMInternalCluster::layer2_middle_es_me1a(), CSCConstants::MAX_HALF_STRIP_ME1B, mitigatedSlopeByConsistency(), mitigateSlopeByCosi_, or, funct::pow(), station_, and svgfig::window().
Referenced by matchingClustersLoc().
bool CSCGEMMatcher::matchedClusterLocHS | ( | const CSCCLCTDigi & | clct, |
const GEMInternalCluster & | cluster | ||
) | const |
Definition at line 179 of file CSCGEMMatcher.cc.
References funct::abs(), GEMInternalCluster::getKeyStrip(), CSCCLCTDigi::getKeyStrip(), GEMInternalCluster::getKeyStripME1a(), isEven_, CSCConstants::MAX_HALF_STRIP_ME1B, maxDeltaHsEven_, maxDeltaHsEvenME1a_, maxDeltaHsOdd_, maxDeltaHsOddME1a_, and station_.
Referenced by matchingClustersLoc().
void CSCGEMMatcher::matchingClustersBX | ( | const CSCALCTDigi & | alct, |
const GEMInternalClusters & | clusters, | ||
GEMInternalClusters & | selected | ||
) | const |
Definition at line 93 of file CSCGEMMatcher.cc.
References funct::abs(), haddnano::cl, change_name::diff, CSCALCTDigi::getBX(), CSCALCTDigi::isValid(), maxDeltaBXALCTGEM_, and or.
Referenced by matchingClustersBX(), and matchingClustersBXLoc().
void CSCGEMMatcher::matchingClustersBX | ( | const CSCCLCTDigi & | clct, |
const GEMInternalClusters & | clusters, | ||
GEMInternalClusters & | selected | ||
) | const |
Definition at line 108 of file CSCGEMMatcher.cc.
References funct::abs(), haddnano::cl, change_name::diff, CSCCLCTDigi::getBX(), CSCCLCTDigi::isValid(), maxDeltaBXCLCTGEM_, and or.
void CSCGEMMatcher::matchingClustersBX | ( | const CSCALCTDigi & | alct, |
const CSCCLCTDigi & | clct, | ||
const GEMInternalClusters & | clusters, | ||
GEMInternalClusters & | selected | ||
) | const |
Definition at line 123 of file CSCGEMMatcher.cc.
References CSCALCTDigi::isValid(), CSCCLCTDigi::isValid(), matchingClustersBX(), or, AlCaHLTBitMon_ParallelJobs::p, and submitPVResolutionJobs::q.
void CSCGEMMatcher::matchingClustersBXLoc | ( | const CSCALCTDigi & | alct, |
const GEMInternalClusters & | clusters, | ||
GEMInternalClusters & | selected | ||
) | const |
Definition at line 285 of file CSCGEMMatcher.cc.
References CSCALCTDigi::isValid(), matchingClustersBX(), matchingClustersLoc(), and or.
Referenced by bestClusterBXLoc().
void CSCGEMMatcher::matchingClustersBXLoc | ( | const CSCCLCTDigi & | clct, |
const GEMInternalClusters & | clusters, | ||
GEMInternalClusters & | selected | ||
) | const |
Definition at line 299 of file CSCGEMMatcher.cc.
References CSCCLCTDigi::isValid(), matchingClustersBX(), matchingClustersLoc(), and or.
void CSCGEMMatcher::matchingClustersBXLoc | ( | const CSCALCTDigi & | alct, |
const CSCCLCTDigi & | clct, | ||
const GEMInternalClusters & | clusters, | ||
GEMInternalClusters & | selected | ||
) | const |
Definition at line 313 of file CSCGEMMatcher.cc.
References CSCALCTDigi::isValid(), CSCCLCTDigi::isValid(), matchingClustersBX(), matchingClustersLoc(), and or.
void CSCGEMMatcher::matchingClustersLoc | ( | const CSCALCTDigi & | alct, |
const GEMInternalClusters & | clusters, | ||
GEMInternalClusters & | selected | ||
) | const |
Definition at line 146 of file CSCGEMMatcher.cc.
References haddnano::cl, CSCALCTDigi::getKeyWG(), CSCALCTDigi::isValid(), or, and station_.
Referenced by matchingClustersBXLoc(), and matchingClustersLoc().
void CSCGEMMatcher::matchingClustersLoc | ( | const CSCCLCTDigi & | clct, |
const GEMInternalClusters & | clusters, | ||
GEMInternalClusters & | selected | ||
) | const |
Definition at line 163 of file CSCGEMMatcher.cc.
References haddnano::cl, trackerHitRTTI::isMatched(), CSCCLCTDigi::isValid(), matchedClusterLocES(), matchedClusterLocHS(), matchWithHS_, and or.
void CSCGEMMatcher::matchingClustersLoc | ( | const CSCALCTDigi & | alct, |
const CSCCLCTDigi & | clct, | ||
const GEMInternalClusters & | clusters, | ||
GEMInternalClusters & | selected | ||
) | const |
Definition at line 262 of file CSCGEMMatcher.cc.
References CSCALCTDigi::isValid(), CSCCLCTDigi::isValid(), matchingClustersLoc(), or, AlCaHLTBitMon_ParallelJobs::p, and submitPVResolutionJobs::q.
|
private |
Definition at line 371 of file CSCGEMMatcher.cc.
References funct::abs(), reco::ceil(), chamber_, CSCL1TPLookupTableME11ILT::CSC_slope_cosi_2to1_L1_ME11_even(), CSCL1TPLookupTableME11ILT::CSC_slope_cosi_2to1_L1_ME11_odd(), CSCL1TPLookupTableME11ILT::CSC_slope_cosi_3to1_L1_ME11_even(), CSCL1TPLookupTableME11ILT::CSC_slope_cosi_3to1_L1_ME11_odd(), CSCCLCTDigi::getHits(), CSCCLCTDigi::getSlope(), phase1PixelTopology::layer, lookupTableME11ILT_, position, and relativeConstraints::value.
Referenced by matchedClusterLocES().
void CSCGEMMatcher::setESLookupTables | ( | const CSCL1TPLookupTableME11ILT * | conf | ) |
Definition at line 38 of file CSCGEMMatcher.cc.
References lookupTableME11ILT_.
void CSCGEMMatcher::setESLookupTables | ( | const CSCL1TPLookupTableME21ILT * | conf | ) |
Definition at line 40 of file CSCGEMMatcher.cc.
References lookupTableME21ILT_.
|
private |
Definition at line 139 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher().
|
private |
Definition at line 126 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), CSCGEMSlopeCorrector(), matchedClusterLocES(), and mitigatedSlopeByConsistency().
|
private |
Definition at line 123 of file CSCGEMMatcher.h.
Referenced by CSCGEMSlopeCorrector().
|
private |
Definition at line 127 of file CSCGEMMatcher.h.
Referenced by calculateGEMCSCBending(), CSCGEMMatcher(), and matchedClusterLocHS().
|
private |
Definition at line 114 of file CSCGEMMatcher.h.
Referenced by calculateGEMCSCBending(), CSCGEMSlopeCorrector(), mitigatedSlopeByConsistency(), and setESLookupTables().
|
private |
Definition at line 115 of file CSCGEMMatcher.h.
Referenced by calculateGEMCSCBending(), and setESLookupTables().
|
private |
Definition at line 132 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and matchingClustersLoc().
|
private |
Definition at line 129 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and matchingClustersBX().
|
private |
Definition at line 130 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and matchingClustersBX().
|
private |
Definition at line 134 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and matchedClusterLocHS().
|
private |
Definition at line 136 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and matchedClusterLocHS().
|
private |
Definition at line 135 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and matchedClusterLocHS().
|
private |
Definition at line 137 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and matchedClusterLocHS().
|
private |
Definition at line 140 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), CSCGEMSlopeCorrector(), and matchedClusterLocES().
|
private |
Definition at line 125 of file CSCGEMMatcher.h.
|
private |
Definition at line 124 of file CSCGEMMatcher.h.
Referenced by calculateGEMCSCBending(), CSCGEMMatcher(), matchedClusterLocES(), matchedClusterLocHS(), and matchingClustersLoc().