#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 |
Helper class to check if an ALCT or CLCT matches with a GEMInternalCluster
Definition at line 23 of file CSCGEMMatcher.h.
typedef std::vector<GEMInternalCluster> CSCGEMMatcher::GEMInternalClusters |
Definition at line 25 of file CSCGEMMatcher.h.
CSCGEMMatcher::CSCGEMMatcher | ( | int | endcap, |
unsigned | station, | ||
unsigned | chamber, | ||
const edm::ParameterSet & | tmbParams, | ||
const edm::ParameterSet & | luts | ||
) |
Definition at line 12 of file CSCGEMMatcher.cc.
References assign_gem_csc_bending_, chamber_, es_diff_slope_L1_ME1a_even_, es_diff_slope_L1_ME1a_odd_, es_diff_slope_L1_ME1b_even_, es_diff_slope_L1_ME1b_odd_, es_diff_slope_L1_ME21_even_, es_diff_slope_L1_ME21_odd_, es_diff_slope_L2_ME1a_even_, es_diff_slope_L2_ME1a_odd_, es_diff_slope_L2_ME1b_even_, es_diff_slope_L2_ME1b_odd_, es_diff_slope_L2_ME21_even_, es_diff_slope_L2_ME21_odd_, esDiffToSlopeME1aFiles_, esDiffToSlopeME1bFiles_, esDiffToSlopeME21Files_, gem_csc_slope_corr_L1_ME11_even_, gem_csc_slope_corr_L1_ME11_odd_, gem_csc_slope_corr_L2_ME11_even_, gem_csc_slope_corr_L2_ME11_odd_, gem_csc_slope_cosi_2to1_L1_ME11_even_, gem_csc_slope_cosi_2to1_L1_ME11_odd_, gem_csc_slope_cosi_3to1_L1_ME11_even_, gem_csc_slope_cosi_3to1_L1_ME11_odd_, gem_csc_slope_cosi_corr_L1_ME11_even_, gem_csc_slope_cosi_corr_L1_ME11_odd_, gem_csc_slope_cosi_corr_L2_ME11_even_, gem_csc_slope_cosi_corr_L2_ME11_odd_, gemCscSlopeCorrectionFiles_, gemCscSlopeCosiCorrectionFiles_, gemCscSlopeCosiFiles_, edm::ParameterSet::getParameter(), isEven_, matchWithHS_, maxDeltaBXALCTGEM_, maxDeltaBXCLCTGEM_, maxDeltaHsEven_, maxDeltaHsEvenME1a_, maxDeltaHsOdd_, maxDeltaHsOddME1a_, mitigateSlopeByCosi_, and station_.
void CSCGEMMatcher::bestClusterBXLoc | ( | const CSCALCTDigi & | alct, |
const CSCCLCTDigi & | clct, | ||
const GEMInternalClusters & | clusters, | ||
GEMInternalCluster & | best | ||
) | const |
Definition at line 401 of file CSCGEMMatcher.cc.
References bsc_activity_cfg::clusters, and matchingClustersBXLoc().
void CSCGEMMatcher::bestClusterBXLoc | ( | const CSCALCTDigi & | alct, |
const GEMInternalClusters & | clusters, | ||
GEMInternalCluster & | best | ||
) | const |
Definition at line 372 of file CSCGEMMatcher.cc.
References bsc_activity_cfg::clusters, CSCALCTDigi::isValid(), matchingClustersBXLoc(), and or.
void CSCGEMMatcher::bestClusterBXLoc | ( | const CSCCLCTDigi & | clct, |
const GEMInternalClusters & | clusters, | ||
GEMInternalCluster & | best | ||
) | const |
Definition at line 386 of file CSCGEMMatcher.cc.
References bsc_activity_cfg::clusters, CSCCLCTDigi::isValid(), matchingClustersBXLoc(), and or.
unsigned CSCGEMMatcher::calculateGEMCSCBending | ( | const CSCCLCTDigi & | clct, |
const GEMInternalCluster & | cluster | ||
) | const |
Definition at line 83 of file CSCGEMMatcher.cc.
References funct::abs(), change_name::diff, es_diff_slope_L1_ME1a_even_, es_diff_slope_L1_ME1a_odd_, es_diff_slope_L1_ME1b_even_, es_diff_slope_L1_ME1b_odd_, es_diff_slope_L1_ME21_even_, es_diff_slope_L1_ME21_odd_, es_diff_slope_L2_ME1a_even_, es_diff_slope_L2_ME1a_odd_, es_diff_slope_L2_ME1b_even_, es_diff_slope_L2_ME1b_odd_, es_diff_slope_L2_ME21_even_, es_diff_slope_L2_ME21_odd_, GEMInternalCluster::getKeyStrip(), CSCCLCTDigi::getKeyStrip(), GEMInternalCluster::id(), isEven_, GEMDetId::layer(), CSCConstants::MAX_HALF_STRIP_ME1B, slope, and station_.
|
private |
Definition at line 478 of file CSCGEMMatcher.cc.
References funct::abs(), chamber_, endcap_, gem_csc_slope_corr_L1_ME11_even_, gem_csc_slope_corr_L1_ME11_odd_, gem_csc_slope_corr_L2_ME11_even_, gem_csc_slope_corr_L2_ME11_odd_, gem_csc_slope_cosi_corr_L1_ME11_even_, gem_csc_slope_cosi_corr_L1_ME11_odd_, gem_csc_slope_cosi_corr_L2_ME11_even_, gem_csc_slope_cosi_corr_L2_ME11_odd_, and mitigateSlopeByCosi_.
Referenced by matchedClusterLocES().
bool CSCGEMMatcher::matchedClusterLocES | ( | const CSCCLCTDigi & | clct, |
const GEMInternalCluster & | cluster | ||
) | const |
Definition at line 259 of file CSCGEMMatcher.cc.
References funct::abs(), chamber_, GetRecoTauVFromDQM_MC_cff::cl, CSCGEMSlopeCorrector(), CSCCLCTDigi::getBend(), CSCCLCTDigi::getKeyStrip(), CSCCLCTDigi::getSlope(), 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 222 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 CSCCLCTDigi & | clct, | ||
const GEMInternalClusters & | clusters, | ||
GEMInternalClusters & | selected | ||
) | const |
Definition at line 166 of file CSCGEMMatcher.cc.
References bsc_activity_cfg::clusters, CSCALCTDigi::isValid(), CSCCLCTDigi::isValid(), matchingClustersBX(), or, convertSQLitetoXML_cfg::output, AlCaHLTBitMon_ParallelJobs::p, and submitPVResolutionJobs::q.
void CSCGEMMatcher::matchingClustersBX | ( | const CSCALCTDigi & | alct, |
const GEMInternalClusters & | clusters, | ||
GEMInternalClusters & | selected | ||
) | const |
Definition at line 136 of file CSCGEMMatcher.cc.
References funct::abs(), GetRecoTauVFromDQM_MC_cff::cl, bsc_activity_cfg::clusters, change_name::diff, CSCALCTDigi::getBX(), CSCALCTDigi::isValid(), maxDeltaBXALCTGEM_, or, and convertSQLitetoXML_cfg::output.
Referenced by matchingClustersBX(), and matchingClustersBXLoc().
void CSCGEMMatcher::matchingClustersBX | ( | const CSCCLCTDigi & | clct, |
const GEMInternalClusters & | clusters, | ||
GEMInternalClusters & | selected | ||
) | const |
Definition at line 151 of file CSCGEMMatcher.cc.
References funct::abs(), GetRecoTauVFromDQM_MC_cff::cl, bsc_activity_cfg::clusters, change_name::diff, CSCCLCTDigi::getBX(), CSCCLCTDigi::isValid(), maxDeltaBXCLCTGEM_, or, and convertSQLitetoXML_cfg::output.
void CSCGEMMatcher::matchingClustersBXLoc | ( | const CSCALCTDigi & | alct, |
const CSCCLCTDigi & | clct, | ||
const GEMInternalClusters & | clusters, | ||
GEMInternalClusters & | selected | ||
) | const |
Definition at line 356 of file CSCGEMMatcher.cc.
References bsc_activity_cfg::clusters, CSCALCTDigi::isValid(), CSCCLCTDigi::isValid(), matchingClustersBX(), matchingClustersLoc(), and or.
void CSCGEMMatcher::matchingClustersBXLoc | ( | const CSCALCTDigi & | alct, |
const GEMInternalClusters & | clusters, | ||
GEMInternalClusters & | selected | ||
) | const |
Definition at line 328 of file CSCGEMMatcher.cc.
References bsc_activity_cfg::clusters, CSCALCTDigi::isValid(), matchingClustersBX(), matchingClustersLoc(), or, and convertSQLitetoXML_cfg::output.
Referenced by bestClusterBXLoc().
void CSCGEMMatcher::matchingClustersBXLoc | ( | const CSCCLCTDigi & | clct, |
const GEMInternalClusters & | clusters, | ||
GEMInternalClusters & | selected | ||
) | const |
Definition at line 342 of file CSCGEMMatcher.cc.
References bsc_activity_cfg::clusters, CSCCLCTDigi::isValid(), matchingClustersBX(), matchingClustersLoc(), or, and convertSQLitetoXML_cfg::output.
void CSCGEMMatcher::matchingClustersLoc | ( | const CSCALCTDigi & | alct, |
const CSCCLCTDigi & | clct, | ||
const GEMInternalClusters & | clusters, | ||
GEMInternalClusters & | selected | ||
) | const |
Definition at line 305 of file CSCGEMMatcher.cc.
References bsc_activity_cfg::clusters, CSCALCTDigi::isValid(), CSCCLCTDigi::isValid(), matchingClustersLoc(), or, convertSQLitetoXML_cfg::output, AlCaHLTBitMon_ParallelJobs::p, and submitPVResolutionJobs::q.
void CSCGEMMatcher::matchingClustersLoc | ( | const CSCALCTDigi & | alct, |
const GEMInternalClusters & | clusters, | ||
GEMInternalClusters & | selected | ||
) | const |
Definition at line 189 of file CSCGEMMatcher.cc.
References GetRecoTauVFromDQM_MC_cff::cl, bsc_activity_cfg::clusters, CSCALCTDigi::getKeyWG(), CSCALCTDigi::isValid(), or, convertSQLitetoXML_cfg::output, and station_.
Referenced by matchingClustersBXLoc(), and matchingClustersLoc().
void CSCGEMMatcher::matchingClustersLoc | ( | const CSCCLCTDigi & | clct, |
const GEMInternalClusters & | clusters, | ||
GEMInternalClusters & | selected | ||
) | const |
Definition at line 206 of file CSCGEMMatcher.cc.
References GetRecoTauVFromDQM_MC_cff::cl, bsc_activity_cfg::clusters, trackerHitRTTI::isMatched(), CSCCLCTDigi::isValid(), matchedClusterLocES(), matchedClusterLocHS(), matchWithHS_, or, and convertSQLitetoXML_cfg::output.
|
private |
Definition at line 414 of file CSCGEMMatcher.cc.
References funct::abs(), reco::ceil(), chamber_, gem_csc_slope_cosi_2to1_L1_ME11_even_, gem_csc_slope_cosi_2to1_L1_ME11_odd_, gem_csc_slope_cosi_3to1_L1_ME11_even_, gem_csc_slope_cosi_3to1_L1_ME11_odd_, CSCCLCTDigi::getHits(), CSCCLCTDigi::getSlope(), createfilelist::int, phase1PixelTopology::layer, and position.
Referenced by matchedClusterLocES().
|
private |
Definition at line 131 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher().
|
private |
Definition at line 118 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), CSCGEMSlopeCorrector(), matchedClusterLocES(), and mitigatedSlopeByConsistency().
|
private |
Definition at line 115 of file CSCGEMMatcher.h.
Referenced by CSCGEMSlopeCorrector().
|
private |
Definition at line 164 of file CSCGEMMatcher.h.
Referenced by calculateGEMCSCBending(), and CSCGEMMatcher().
|
private |
Definition at line 167 of file CSCGEMMatcher.h.
Referenced by calculateGEMCSCBending(), and CSCGEMMatcher().
|
private |
Definition at line 158 of file CSCGEMMatcher.h.
Referenced by calculateGEMCSCBending(), and CSCGEMMatcher().
|
private |
Definition at line 161 of file CSCGEMMatcher.h.
Referenced by calculateGEMCSCBending(), and CSCGEMMatcher().
|
private |
Definition at line 170 of file CSCGEMMatcher.h.
Referenced by calculateGEMCSCBending(), and CSCGEMMatcher().
|
private |
Definition at line 173 of file CSCGEMMatcher.h.
Referenced by calculateGEMCSCBending(), and CSCGEMMatcher().
|
private |
Definition at line 165 of file CSCGEMMatcher.h.
Referenced by calculateGEMCSCBending(), and CSCGEMMatcher().
|
private |
Definition at line 168 of file CSCGEMMatcher.h.
Referenced by calculateGEMCSCBending(), and CSCGEMMatcher().
|
private |
Definition at line 159 of file CSCGEMMatcher.h.
Referenced by calculateGEMCSCBending(), and CSCGEMMatcher().
|
private |
Definition at line 162 of file CSCGEMMatcher.h.
Referenced by calculateGEMCSCBending(), and CSCGEMMatcher().
|
private |
Definition at line 171 of file CSCGEMMatcher.h.
Referenced by calculateGEMCSCBending(), and CSCGEMMatcher().
|
private |
Definition at line 174 of file CSCGEMMatcher.h.
Referenced by calculateGEMCSCBending(), and CSCGEMMatcher().
|
private |
Definition at line 138 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher().
|
private |
Definition at line 139 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher().
|
private |
Definition at line 140 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher().
|
private |
Definition at line 148 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and CSCGEMSlopeCorrector().
|
private |
Definition at line 150 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and CSCGEMSlopeCorrector().
|
private |
Definition at line 149 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and CSCGEMSlopeCorrector().
|
private |
Definition at line 151 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and CSCGEMSlopeCorrector().
|
private |
Definition at line 143 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and mitigatedSlopeByConsistency().
|
private |
Definition at line 145 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and mitigatedSlopeByConsistency().
|
private |
Definition at line 144 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and mitigatedSlopeByConsistency().
|
private |
Definition at line 146 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and mitigatedSlopeByConsistency().
|
private |
Definition at line 153 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and CSCGEMSlopeCorrector().
|
private |
Definition at line 155 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and CSCGEMSlopeCorrector().
|
private |
Definition at line 154 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and CSCGEMSlopeCorrector().
|
private |
Definition at line 156 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and CSCGEMSlopeCorrector().
|
private |
Definition at line 135 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher().
|
private |
Definition at line 137 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher().
|
private |
Definition at line 136 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher().
|
private |
Definition at line 119 of file CSCGEMMatcher.h.
Referenced by calculateGEMCSCBending(), CSCGEMMatcher(), and matchedClusterLocHS().
|
private |
Definition at line 124 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and matchingClustersLoc().
|
private |
Definition at line 121 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and matchingClustersBX().
|
private |
Definition at line 122 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and matchingClustersBX().
|
private |
Definition at line 126 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and matchedClusterLocHS().
|
private |
Definition at line 128 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and matchedClusterLocHS().
|
private |
Definition at line 127 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and matchedClusterLocHS().
|
private |
Definition at line 129 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), and matchedClusterLocHS().
|
private |
Definition at line 132 of file CSCGEMMatcher.h.
Referenced by CSCGEMMatcher(), CSCGEMSlopeCorrector(), and matchedClusterLocES().
|
private |
Definition at line 117 of file CSCGEMMatcher.h.
|
private |
Definition at line 116 of file CSCGEMMatcher.h.
Referenced by calculateGEMCSCBending(), CSCGEMMatcher(), matchedClusterLocES(), matchedClusterLocHS(), and matchingClustersLoc().