#include <CSCMotherboardME21GEM.h>
Public Member Functions | |
int | assignGEMRoll (double eta) |
void | clear () |
CSCCorrelatedLCTDigi | constructLCTsGEM (const CSCALCTDigi &alct, const GEMPadDigi &gem, bool oldDataFormat=false) |
CSCCorrelatedLCTDigi | constructLCTsGEM (const CSCCLCTDigi &clct, const GEMPadDigi &gem, int roll, bool oldDataFormat=true) |
CSCCorrelatedLCTDigi | constructLCTsGEM (const CSCALCTDigi &alct, const CSCCLCTDigi &clct, bool hasPad, bool hasCoPad) |
void | correlateLCTs (CSCALCTDigi bestALCT, CSCALCTDigi secondALCT, CSCCLCTDigi bestCLCT, CSCCLCTDigi secondCLCT, CSCCorrelatedLCTDigi &lct1, CSCCorrelatedLCTDigi &lct2, const GEMPadsBX &pads=GEMPadsBX(), const GEMPadsBX &copads=GEMPadsBX()) |
void | correlateLCTsGEM (CSCALCTDigi bestALCT, CSCALCTDigi secondALCT, GEMPadDigi gemPad, CSCCorrelatedLCTDigi &lct1, CSCCorrelatedLCTDigi &lct2) |
void | correlateLCTsGEM (CSCCLCTDigi bestCLCT, CSCCLCTDigi secondCLCT, GEMPadDigi gemPad, int roll, CSCCorrelatedLCTDigi &lct1, CSCCorrelatedLCTDigi &lct2) |
void | correlateLCTsGEM (CSCALCTDigi bestALCT, CSCALCTDigi secondALCT, CSCCLCTDigi bestCLCT, CSCCLCTDigi secondCLCT, CSCCorrelatedLCTDigi &lct1, CSCCorrelatedLCTDigi &lct2, const GEMPadsBX &pads=GEMPadsBX(), const GEMPadsBX &copads=GEMPadsBX()) |
std::map< int, std::pair< double, double > > | createGEMRollEtaLUT () |
CSCMotherboardME21GEM (unsigned endcap, unsigned station, unsigned sector, unsigned subsector, unsigned chamber, const edm::ParameterSet &conf) | |
int | deltaPad (int hs, int pad) |
int | deltaRoll (int wg, int roll) |
unsigned int | findQualityGEM (const CSCALCTDigi &aLCT, const CSCCLCTDigi &cLCT, bool hasPad, bool hasCoPad) |
std::vector< CSCCorrelatedLCTDigi > | getLCTs () |
GEMPadsBX | matchingGEMPads (const CSCCLCTDigi &cLCT, const GEMPadsBX &pads=GEMPadsBX(), bool isCopad=false, bool first=true) |
GEMPadsBX | matchingGEMPads (const CSCALCTDigi &aLCT, const GEMPadsBX &pads=GEMPadsBX(), bool isCopad=false, bool first=true) |
GEMPadsBX | matchingGEMPads (const CSCCLCTDigi &cLCT, const CSCALCTDigi &aLCT, const GEMPadsBX &pads=GEMPadsBX(), bool isCopad=false, bool first=true) |
GEMPadsBX | matchingGEMPads (const CSCCLCTDigi &cLCT, const CSCCLCTDigi &aLCT, const GEMPadsBX &pads=GEMPadsBX(), bool isCopad=false) |
GEMPadsBX | matchingGEMPads (const CSCALCTDigi &cLCT, const CSCALCTDigi &aLCT, const GEMPadsBX &pads=GEMPadsBX(), bool isCopad=false) |
GEMPadsBX | matchingGEMPads (const CSCCLCTDigi &cLCT, const CSCCLCTDigi &, const CSCALCTDigi &aLCT, const CSCALCTDigi &, const GEMPadsBX &pads=GEMPadsBX(), bool isCopad=false, bool first=true) |
void | printGEMTriggerPads (int minBX, int maxBx, bool iscopad=false) |
std::vector< GEMCoPadDigi > | readoutCoPads () |
std::vector< CSCCorrelatedLCTDigi > | readoutLCTs () |
void | retrieveGEMCoPads () |
void | retrieveGEMPads (const GEMPadDigiCollection *pads, unsigned id) |
void | run (const CSCWireDigiCollection *wiredc, const CSCComparatorDigiCollection *compdc, const GEMPadDigiCollection *gemPads) |
void | setCSCGeometry (const CSCGeometry *g) |
set CSC and GEM geometries for the matching needs More... | |
void | setGEMGeometry (const GEMGeometry *g) |
std::vector< CSCCorrelatedLCTDigi > | sortLCTsByGEMDPhi (int bx) |
std::vector< CSCCorrelatedLCTDigi > | sortLCTsByGEMDPhi (std::vector< CSCCorrelatedLCTDigi >) |
std::vector< CSCCorrelatedLCTDigi > | sortLCTsByQuality (int bx) |
std::vector< CSCCorrelatedLCTDigi > | sortLCTsByQuality (std::vector< CSCCorrelatedLCTDigi >) |
~CSCMotherboardME21GEM () override | |
Public Member Functions inherited from CSCMotherboard | |
void | clear () |
CSCMotherboard (unsigned endcap, unsigned station, unsigned sector, unsigned subsector, unsigned chamber, const edm::ParameterSet &conf) | |
CSCMotherboard () | |
std::vector< CSCCorrelatedLCTDigi > | getLCTs () |
std::vector< CSCCorrelatedLCTDigi > | readoutLCTs () |
void | run (const std::vector< int > w_time[CSCConstants::NUM_LAYERS][CSCConstants::MAX_NUM_WIRES], const std::vector< int > hs_times[CSCConstants::NUM_LAYERS][CSCConstants::NUM_HALF_STRIPS_7CFEBS], const std::vector< int > ds_times[CSCConstants::NUM_LAYERS][CSCConstants::NUM_HALF_STRIPS_7CFEBS]) |
void | run (const CSCWireDigiCollection *wiredc, const CSCComparatorDigiCollection *compdc) |
void | setConfigParameters (const CSCDBL1TPParameters *conf) |
virtual | ~CSCMotherboard ()=default |
Public Attributes | |
std::unique_ptr< GEMCoPadProcessor > | coPadProcessor |
Public Attributes inherited from CSCMotherboard | |
std::unique_ptr< CSCAnodeLCTProcessor > | alct |
std::unique_ptr< CSCCathodeLCTProcessor > | clct |
Private Types | |
typedef std::pair< unsigned int, GEMPadDigi > | GEMPadBX |
typedef std::map< int, GEMPadsBX > | GEMPads |
typedef std::vector< GEMPadBX > | GEMPadsBX |
Static Private Attributes | |
static const double | lut_pt_vs_dphi_gemcsc [8][3] |
static const double | lut_wg_eta_even [112][2] |
static const double | lut_wg_eta_odd [112][2] |
Additional Inherited Members | |
Protected Types inherited from CSCMotherboard | |
enum | { MAX_LCT_BINS = 16 } |
Protected Member Functions inherited from CSCMotherboard | |
void | checkConfigParameters () |
CSCCorrelatedLCTDigi | constructLCTs (const CSCALCTDigi &aLCT, const CSCCLCTDigi &cLCT, int) |
void | correlateLCTs (CSCALCTDigi bestALCT, CSCALCTDigi secondALCT, CSCCLCTDigi bestCLCT, CSCCLCTDigi secondCLCT) |
void | dumpConfigParams () const |
unsigned int | encodePattern (const int ptn, const int highPt) |
unsigned int | findQuality (const CSCALCTDigi &aLCT, const CSCCLCTDigi &cLCT) |
void | testLCT () |
Static Protected Member Functions inherited from CSCMotherboard | |
static bool | sortByGEMDphi (const CSCCorrelatedLCTDigi &, const CSCCorrelatedLCTDigi &) |
static bool | sortByQuality (const CSCCorrelatedLCTDigi &, const CSCCorrelatedLCTDigi &) |
Protected Attributes inherited from CSCMotherboard | |
unsigned int | alct_trig_enable |
unsigned int | clct_trig_enable |
bool | drop_used_alcts |
int | early_tbins |
CSCCorrelatedLCTDigi | firstLCT [MAX_LCT_BINS] |
int | infoV |
bool | isMTCC |
bool | isSLHC |
bool | isTMB07 |
int | lct_central_bx |
unsigned int | match_trig_enable |
unsigned int | match_trig_window_size |
unsigned int | mpc_block_me1a |
bool | readout_earliest_2 |
CSCCorrelatedLCTDigi | secondLCT [MAX_LCT_BINS] |
const unsigned | theEndcap |
unsigned | theRing |
const unsigned | theSector |
const unsigned | theStation |
const unsigned | theSubsector |
const unsigned | theTrigChamber |
unsigned int | tmb_l1a_window_size |
Static Protected Attributes inherited from CSCMotherboard | |
static const unsigned int | def_alct_trig_enable = 0 |
static const unsigned int | def_clct_trig_enable = 0 |
static const unsigned int | def_match_trig_enable = 1 |
static const unsigned int | def_match_trig_window_size = 7 |
static const unsigned int | def_mpc_block_me1a = 1 |
static const unsigned int | def_tmb_l1a_window_size = 7 |
Extended CSCMotherboard for ME21 TMB upgrade
Based on CSCMotherboard code
Definition at line 24 of file CSCMotherboardME21GEM.h.
|
private |
Definition at line 26 of file CSCMotherboardME21GEM.h.
|
private |
Definition at line 28 of file CSCMotherboardME21GEM.h.
|
private |
Definition at line 27 of file CSCMotherboardME21GEM.h.
CSCMotherboardME21GEM::CSCMotherboardME21GEM | ( | unsigned | endcap, |
unsigned | station, | ||
unsigned | sector, | ||
unsigned | subsector, | ||
unsigned | chamber, | ||
const edm::ParameterSet & | conf | ||
) |
Normal constructor.
Definition at line 59 of file CSCMotherboardME21GEM.cc.
References buildLCTfromALCTandGEM_, buildLCTfromCLCTandGEM_, CSCTriggerNumbering::chamberFromTriggerLabels(), coPadProcessor, correctLCTtimingWithGEM_, debug_gem_matching, debug_luts, doLCTGhostBustingWithGEMs_, drop_used_clcts, dropLowQualityALCTsNoGEMs_, dropLowQualityCLCTsNoGEMs_, edm::ParameterSet::getParameter(), CSCMotherboard::isSLHC, funct::m, match_earliest_clct_me21_only, CSCMotherboard::match_trig_window_size, max_me21_lcts, maxDeltaBXCoPad_, maxDeltaBXPad_, maxDeltaPadCoPadEven_, maxDeltaPadCoPadOdd_, maxDeltaPadPadEven_, maxDeltaPadPadOdd_, pref, promoteALCTGEMpattern_, promoteALCTGEMquality_, promoteCLCTGEMquality_, runME21ILT_, CSCMotherboard::theSector, CSCMotherboard::theStation, CSCMotherboard::theSubsector, CSCMotherboard::theTrigChamber, tmb_cross_bx_algo, and useOldLCTDataFormat_.
|
override |
int CSCMotherboardME21GEM::assignGEMRoll | ( | double | eta | ) |
Definition at line 1174 of file CSCMotherboardME21GEM.cc.
References gemRollToEtaLimits_, maxEta, cutBasedElectronID_CSA14_50ns_V0_cff::minEta, AlCaHLTBitMon_ParallelJobs::p, and mps_fire::result.
Referenced by run(), and setGEMGeometry().
void CSCMotherboardME21GEM::clear | ( | void | ) |
Definition at line 143 of file CSCMotherboardME21GEM.cc.
References allLCTs, CSCMotherboard::clear(), coPads_, cscHsToGemPad_, cscWgToGemRoll_, gemPadToCscHs_, gemRollToEtaLimits_, mps_fire::i, CSCMotherboard::match_trig_window_size, CSCMotherboard::MAX_LCT_BINS, and pads_.
Referenced by run().
CSCCorrelatedLCTDigi CSCMotherboardME21GEM::constructLCTsGEM | ( | const CSCALCTDigi & | alct, |
const GEMPadDigi & | gem, | ||
bool | oldDataFormat = false |
||
) |
Definition at line 834 of file CSCMotherboardME21GEM.cc.
References GEMPadDigi::bx(), gemPadToCscHs_, CSCALCTDigi::getBX(), CSCALCTDigi::getKeyWG(), CSCMotherboard::lct_central_bx, GEMPadDigi::pad(), listBenchmarks::pattern, promoteALCTGEMpattern_, promoteALCTGEMquality_, jets_cff::quality, and CSCMotherboard::theTrigChamber.
Referenced by correlateLCTsGEM(), and setGEMGeometry().
CSCCorrelatedLCTDigi CSCMotherboardME21GEM::constructLCTsGEM | ( | const CSCCLCTDigi & | clct, |
const GEMPadDigi & | gem, | ||
int | roll, | ||
bool | oldDataFormat = true |
||
) |
Definition at line 879 of file CSCMotherboardME21GEM.cc.
References GEMPadDigi::bx(), CSCMotherboard::encodePattern(), CSCCLCTDigi::getBend(), CSCCLCTDigi::getKeyStrip(), CSCCLCTDigi::getPattern(), CSCCLCTDigi::getStripType(), CSCMotherboard::lct_central_bx, listBenchmarks::pattern, promoteCLCTGEMquality_, jets_cff::quality, and CSCMotherboard::theTrigChamber.
CSCCorrelatedLCTDigi CSCMotherboardME21GEM::constructLCTsGEM | ( | const CSCALCTDigi & | alct, |
const CSCCLCTDigi & | clct, | ||
bool | hasPad, | ||
bool | hasCoPad | ||
) |
Definition at line 918 of file CSCMotherboardME21GEM.cc.
References CSCCorrelatedLCTDigi::ALCTCLCT2GEM, CSCCorrelatedLCTDigi::ALCTCLCTGEM, CSCMotherboard::encodePattern(), findQualityGEM(), CSCCLCTDigi::getBend(), CSCALCTDigi::getBX(), CSCCLCTDigi::getBX(), CSCCLCTDigi::getKeyStrip(), CSCALCTDigi::getKeyWG(), CSCCLCTDigi::getPattern(), CSCCLCTDigi::getStripType(), CSCALCTDigi::isValid(), listBenchmarks::pattern, jets_cff::quality, CSCCorrelatedLCTDigi::setALCT(), and CSCMotherboard::theTrigChamber.
void CSCMotherboardME21GEM::correlateLCTs | ( | CSCALCTDigi | bestALCT, |
CSCALCTDigi | secondALCT, | ||
CSCCLCTDigi | bestCLCT, | ||
CSCCLCTDigi | secondCLCT, | ||
CSCCorrelatedLCTDigi & | lct1, | ||
CSCCorrelatedLCTDigi & | lct2, | ||
const GEMPadsBX & | pads = GEMPadsBX() , |
||
const GEMPadsBX & | copads = GEMPadsBX() |
||
) |
Referenced by setGEMGeometry().
void CSCMotherboardME21GEM::correlateLCTsGEM | ( | CSCALCTDigi | bestALCT, |
CSCALCTDigi | secondALCT, | ||
GEMPadDigi | gemPad, | ||
CSCCorrelatedLCTDigi & | lct1, | ||
CSCCorrelatedLCTDigi & | lct2 | ||
) |
Definition at line 766 of file CSCMotherboardME21GEM.cc.
References CSCCorrelatedLCTDigi::ALCT2GEM, CSCMotherboard::alct_trig_enable, constructLCTsGEM(), CSCALCTDigi::isValid(), CSCMotherboard::match_trig_enable, or, CSCCorrelatedLCTDigi::setALCT(), CSCCorrelatedLCTDigi::setGEM1(), CSCCorrelatedLCTDigi::setTrknmb(), CSCCorrelatedLCTDigi::setType(), and useOldLCTDataFormat_.
Referenced by run(), and setGEMGeometry().
void CSCMotherboardME21GEM::correlateLCTsGEM | ( | CSCCLCTDigi | bestCLCT, |
CSCCLCTDigi | secondCLCT, | ||
GEMPadDigi | gemPad, | ||
int | roll, | ||
CSCCorrelatedLCTDigi & | lct1, | ||
CSCCorrelatedLCTDigi & | lct2 | ||
) |
Definition at line 800 of file CSCMotherboardME21GEM.cc.
References CSCCorrelatedLCTDigi::CLCT2GEM, CSCMotherboard::clct_trig_enable, constructLCTsGEM(), CSCCLCTDigi::isValid(), CSCMotherboard::match_trig_enable, or, CSCCorrelatedLCTDigi::setCLCT(), CSCCorrelatedLCTDigi::setGEM1(), CSCCorrelatedLCTDigi::setTrknmb(), CSCCorrelatedLCTDigi::setType(), and useOldLCTDataFormat_.
void CSCMotherboardME21GEM::correlateLCTsGEM | ( | CSCALCTDigi | bestALCT, |
CSCALCTDigi | secondALCT, | ||
CSCCLCTDigi | bestCLCT, | ||
CSCCLCTDigi | secondCLCT, | ||
CSCCorrelatedLCTDigi & | lct1, | ||
CSCCorrelatedLCTDigi & | lct2, | ||
const GEMPadsBX & | pads = GEMPadsBX() , |
||
const GEMPadsBX & | copads = GEMPadsBX() |
||
) |
Definition at line 720 of file CSCMotherboardME21GEM.cc.
References CSCMotherboard::alct_trig_enable, CSCMotherboard::clct_trig_enable, constructLCTsGEM(), CSCCLCTDigi::isValid(), CSCALCTDigi::isValid(), CSCMotherboard::match_trig_enable, or, and CSCCorrelatedLCTDigi::setTrknmb().
std::map< int, std::pair< double, double > > CSCMotherboardME21GEM::createGEMRollEtaLUT | ( | ) |
Definition at line 1000 of file CSCMotherboardME21GEM.cc.
References relativeConstraints::chamber, GEMGeometry::chamber(), gem_g, mps_fire::i, and mps_fire::result.
Referenced by run(), and setGEMGeometry().
int CSCMotherboardME21GEM::deltaPad | ( | int | hs, |
int | pad | ||
) |
Referenced by matchingGEMPads(), and setGEMGeometry().
int CSCMotherboardME21GEM::deltaRoll | ( | int | wg, |
int | roll | ||
) |
Referenced by setGEMGeometry().
unsigned int CSCMotherboardME21GEM::findQualityGEM | ( | const CSCALCTDigi & | aLCT, |
const CSCCLCTDigi & | cLCT, | ||
bool | hasPad, | ||
bool | hasCoPad | ||
) |
Definition at line 944 of file CSCMotherboardME21GEM.cc.
References CSCALCTDigi::getAccelerator(), CSCCLCTDigi::getPattern(), CSCCLCTDigi::getQuality(), CSCALCTDigi::getQuality(), CSCMotherboard::infoV, CSCALCTDigi::isValid(), CSCCLCTDigi::isValid(), or, listBenchmarks::pattern, and jets_cff::quality.
Referenced by constructLCTsGEM(), and setGEMGeometry().
std::vector< CSCCorrelatedLCTDigi > CSCMotherboardME21GEM::getLCTs | ( | ) |
Definition at line 660 of file CSCMotherboardME21GEM.cc.
References allLCTs, mps_fire::i, CSCMotherboard::match_trig_window_size, CSCMotherboard::MAX_LCT_BINS, mps_fire::result, sortLCTsByGEMDPhi(), sortLCTsByQuality(), and tmb_cross_bx_algo.
Referenced by readoutLCTs().
CSCMotherboardME21GEM::GEMPadsBX CSCMotherboardME21GEM::matchingGEMPads | ( | const CSCCLCTDigi & | cLCT, |
const GEMPadsBX & | pads = GEMPadsBX() , |
||
bool | isCopad = false , |
||
bool | first = true |
||
) |
Definition at line 1082 of file CSCMotherboardME21GEM.cc.
References funct::abs(), gather_cfg::cout, cscHsToGemPad_, debug, deltaPad(), DetId::det(), MuonSubdetId::GEM, CSCCLCTDigi::getBX(), CSCCLCTDigi::getKeyStrip(), CSCCLCTDigi::isValid(), CSCMotherboard::lct_central_bx, maxDeltaBXCoPad_, maxDeltaBXPad_, maxDeltaPadCoPad_, maxDeltaPadPad_, DetId::Muon, or, AlCaHLTBitMon_ParallelJobs::p, mps_fire::result, and DetId::subdetId().
Referenced by matchingGEMPads(), run(), and setGEMGeometry().
CSCMotherboardME21GEM::GEMPadsBX CSCMotherboardME21GEM::matchingGEMPads | ( | const CSCALCTDigi & | aLCT, |
const GEMPadsBX & | pads = GEMPadsBX() , |
||
bool | isCopad = false , |
||
bool | first = true |
||
) |
Definition at line 1114 of file CSCMotherboardME21GEM.cc.
References funct::abs(), gather_cfg::cout, cscWgToGemRoll_, debug, DetId::det(), MuonSubdetId::GEM, CSCALCTDigi::getBX(), CSCALCTDigi::getKeyWG(), CSCALCTDigi::isValid(), CSCMotherboard::lct_central_bx, maxDeltaBXCoPad_, maxDeltaBXPad_, DetId::Muon, or, AlCaHLTBitMon_ParallelJobs::p, mps_fire::result, GEMDetId::roll(), and DetId::subdetId().
CSCMotherboardME21GEM::GEMPadsBX CSCMotherboardME21GEM::matchingGEMPads | ( | const CSCCLCTDigi & | cLCT, |
const CSCALCTDigi & | aLCT, | ||
const GEMPadsBX & | pads = GEMPadsBX() , |
||
bool | isCopad = false , |
||
bool | first = true |
||
) |
Definition at line 1142 of file CSCMotherboardME21GEM.cc.
References gather_cfg::cout, debug, matchingGEMPads(), or, AlCaHLTBitMon_ParallelJobs::p, lumiQueryAPI::q, and mps_fire::result.
GEMPadsBX CSCMotherboardME21GEM::matchingGEMPads | ( | const CSCCLCTDigi & | cLCT, |
const CSCCLCTDigi & | aLCT, | ||
const GEMPadsBX & | pads = GEMPadsBX() , |
||
bool | isCopad = false |
||
) |
GEMPadsBX CSCMotherboardME21GEM::matchingGEMPads | ( | const CSCALCTDigi & | cLCT, |
const CSCALCTDigi & | aLCT, | ||
const GEMPadsBX & | pads = GEMPadsBX() , |
||
bool | isCopad = false |
||
) |
GEMPadsBX CSCMotherboardME21GEM::matchingGEMPads | ( | const CSCCLCTDigi & | cLCT, |
const CSCCLCTDigi & | , | ||
const CSCALCTDigi & | aLCT, | ||
const CSCALCTDigi & | , | ||
const GEMPadsBX & | pads = GEMPadsBX() , |
||
bool | isCopad = false , |
||
bool | first = true |
||
) |
void CSCMotherboardME21GEM::printGEMTriggerPads | ( | int | minBX, |
int | maxBx, | ||
bool | iscopad = false |
||
) |
Definition at line 1050 of file CSCMotherboardME21GEM.cc.
References coPads_, gather_cfg::cout, DetId::det(), MuonSubdetId::GEM, DetId::Muon, or, pads_, and DetId::subdetId().
Referenced by run(), and setGEMGeometry().
std::vector< GEMCoPadDigi > CSCMotherboardME21GEM::readoutCoPads | ( | ) |
Definition at line 1191 of file CSCMotherboardME21GEM.cc.
References gemCoPadV.
std::vector< CSCCorrelatedLCTDigi > CSCMotherboardME21GEM::readoutLCTs | ( | ) |
Definition at line 654 of file CSCMotherboardME21GEM.cc.
References getLCTs().
Referenced by CSCTriggerPrimitivesBuilder::build(), and run().
void CSCMotherboardME21GEM::retrieveGEMCoPads | ( | ) |
Definition at line 1038 of file CSCMotherboardME21GEM.cc.
References CSCTriggerNumbering::chamberFromTriggerLabels(), coPads_, gemCoPadV, CSCMotherboard::lct_central_bx, CSCMotherboard::theEndcap, CSCMotherboard::theSector, CSCMotherboard::theStation, CSCMotherboard::theSubsector, and CSCMotherboard::theTrigChamber.
Referenced by run(), and setGEMGeometry().
void CSCMotherboardME21GEM::retrieveGEMPads | ( | const GEMPadDigiCollection * | pads, |
unsigned | id | ||
) |
Definition at line 1020 of file CSCMotherboardME21GEM.cc.
References gem_g, CSCMotherboard::lct_central_bx, maxDeltaBXPad_, pads_, and GEMGeometry::superChamber().
Referenced by run(), and setGEMGeometry().
void CSCMotherboardME21GEM::run | ( | const CSCWireDigiCollection * | wiredc, |
const CSCComparatorDigiCollection * | compdc, | ||
const GEMPadDigiCollection * | gemPads | ||
) |
Run function for normal usage. Runs cathode and anode LCT processors, takes results and correlates into CorrelatedLCT.
Definition at line 161 of file CSCMotherboardME21GEM.cc.
References funct::abs(), CSCMotherboard::alct, alctV, allLCTs, assignGEMRoll(), begin, buildLCTfromALCTandGEM_, buildLCTfromCLCTandGEM_, EnergyCorrector::c, CSCTriggerGeomManager::chamber(), CSCMotherboard::clct, clctV, CSCCorrelatedLCTDigi::clear(), clear(), coPadProcessor, coPads_, correctLCTtimingWithGEM_, correlateLCTsGEM(), gather_cfg::cout, createGEMRollEtaLUT(), cscHsToGemPad_, cscWgToGemRoll_, debug_gem_matching, debug_luts, drop_used_clcts, dropLowQualityCLCTsNoGEMs_, end, PVValHelper::eta, plotBeamSpotDB::first, gem_g, gemCoPadV, gemPadToCscHs_, gemRollToEtaLimits_, CSCTriggerGeometry::get(), runTauDisplay::gp, mps_fire::i, CSCMotherboard::infoV, createfilelist::int, CSCMotherboard::lct_central_bx, LogDebug, lut_wg_eta_even, lut_wg_eta_odd, match_earliest_clct_me21_only, CSCMotherboard::match_trig_window_size, matchingGEMPads(), CSCAnodeLCTProcessor::MAX_ALCT_BINS, CSCCathodeLCTProcessor::MAX_CLCT_BINS, CSCMotherboard::MAX_LCT_BINS, maxDeltaBXCoPad_, maxDeltaPadCoPad_, maxDeltaPadCoPadEven_, maxDeltaPadCoPadOdd_, maxDeltaPadPad_, maxDeltaPadPadEven_, maxDeltaPadPadOdd_, gen::n, or, AlCaHLTBitMon_ParallelJobs::p, pads_, pref, printGEMTriggerPads(), jets_cff::quality, readoutLCTs(), retrieveGEMCoPads(), retrieveGEMPads(), runME21ILT_, findQualityFiles::size, GEMGeometry::stations(), digi_MixPreMix_cfi::strip, GEMGeometry::superChamber(), groupFilesInBlocks::temp, CSCMotherboard::theEndcap, CSCMotherboard::theSector, CSCMotherboard::theStation, CSCMotherboard::theSubsector, CSCMotherboard::theTrigChamber, and tmb_cross_bx_algo.
Referenced by CSCTriggerPrimitivesBuilder::build().
|
inline |
set CSC and GEM geometries for the matching needs
Definition at line 48 of file CSCMotherboardME21GEM.h.
Referenced by CSCTriggerPrimitivesBuilder::build().
|
inline |
Definition at line 49 of file CSCMotherboardME21GEM.h.
References CSCMotherboard::alct, assignGEMRoll(), CSCMotherboard::clct, constructLCTsGEM(), correlateLCTs(), correlateLCTsGEM(), createGEMRollEtaLUT(), deltaPad(), deltaRoll(), PVValHelper::eta, findQualityGEM(), plotBeamSpotDB::first, g, gem_g, matchingGEMPads(), simTrackMatching_cfi::minBX, printGEMTriggerPads(), retrieveGEMCoPads(), and retrieveGEMPads().
Referenced by CSCTriggerPrimitivesBuilder::build().
std::vector< CSCCorrelatedLCTDigi > CSCMotherboardME21GEM::sortLCTsByGEMDPhi | ( | int | bx | ) |
Definition at line 704 of file CSCMotherboardME21GEM.cc.
References allLCTs, mps_fire::i, CSCMotherboard::match_trig_window_size, max_me21_lcts, and CSCMotherboard::sortByGEMDphi().
Referenced by getLCTs().
std::vector<CSCCorrelatedLCTDigi> CSCMotherboardME21GEM::sortLCTsByGEMDPhi | ( | std::vector< CSCCorrelatedLCTDigi > | ) |
std::vector< CSCCorrelatedLCTDigi > CSCMotherboardME21GEM::sortLCTsByQuality | ( | int | bx | ) |
Methods to sort the LCTs
Definition at line 687 of file CSCMotherboardME21GEM.cc.
References allLCTs, mps_fire::i, CSCMotherboard::match_trig_window_size, max_me21_lcts, and CSCMotherboard::sortByQuality().
Referenced by getLCTs().
std::vector<CSCCorrelatedLCTDigi> CSCMotherboardME21GEM::sortLCTsByQuality | ( | std::vector< CSCCorrelatedLCTDigi > | ) |
|
private |
Definition at line 132 of file CSCMotherboardME21GEM.h.
Referenced by run().
|
private |
for the case when more than 2 LCTs/BX are allowed; maximum match window = 15
Definition at line 122 of file CSCMotherboardME21GEM.h.
Referenced by clear(), getLCTs(), run(), sortLCTsByGEMDPhi(), and sortLCTsByQuality().
|
private |
Definition at line 179 of file CSCMotherboardME21GEM.h.
Referenced by CSCMotherboardME21GEM(), and run().
|
private |
Definition at line 180 of file CSCMotherboardME21GEM.h.
Referenced by CSCMotherboardME21GEM(), and run().
|
private |
Definition at line 133 of file CSCMotherboardME21GEM.h.
Referenced by run().
std::unique_ptr<GEMCoPadProcessor> CSCMotherboardME21GEM::coPadProcessor |
additional processor for GEMs
Definition at line 106 of file CSCMotherboardME21GEM.h.
Referenced by CSCTriggerPrimitivesBuilder::build(), CSCMotherboardME21GEM(), and run().
|
private |
Definition at line 200 of file CSCMotherboardME21GEM.h.
Referenced by clear(), printGEMTriggerPads(), retrieveGEMCoPads(), and run().
|
private |
Definition at line 176 of file CSCMotherboardME21GEM.h.
Referenced by CSCMotherboardME21GEM(), and run().
|
private |
Definition at line 128 of file CSCMotherboardME21GEM.h.
Referenced by setCSCGeometry().
|
private |
Definition at line 196 of file CSCMotherboardME21GEM.h.
Referenced by clear(), matchingGEMPads(), and run().
|
private |
Definition at line 192 of file CSCMotherboardME21GEM.h.
Referenced by clear(), matchingGEMPads(), and run().
|
private |
Definition at line 154 of file CSCMotherboardME21GEM.h.
Referenced by CSCMotherboardME21GEM(), and run().
|
private |
Definition at line 155 of file CSCMotherboardME21GEM.h.
Referenced by CSCMotherboardME21GEM(), and run().
|
private |
Definition at line 169 of file CSCMotherboardME21GEM.h.
Referenced by CSCMotherboardME21GEM().
|
private |
whether to not reuse CLCTs that were used by previous matching ALCTs in ALCT-to-CLCT algorithm
Definition at line 143 of file CSCMotherboardME21GEM.h.
Referenced by CSCMotherboardME21GEM(), and run().
|
private |
Definition at line 173 of file CSCMotherboardME21GEM.h.
Referenced by CSCMotherboardME21GEM().
|
private |
Definition at line 172 of file CSCMotherboardME21GEM.h.
Referenced by CSCMotherboardME21GEM(), and run().
|
private |
Definition at line 129 of file CSCMotherboardME21GEM.h.
Referenced by createGEMRollEtaLUT(), retrieveGEMPads(), run(), and setGEMGeometry().
|
private |
Definition at line 134 of file CSCMotherboardME21GEM.h.
Referenced by readoutCoPads(), retrieveGEMCoPads(), and run().
|
private |
Definition at line 195 of file CSCMotherboardME21GEM.h.
Referenced by clear(), constructLCTsGEM(), and run().
|
private |
Definition at line 191 of file CSCMotherboardME21GEM.h.
Referenced by assignGEMRoll(), clear(), and run().
|
staticprivate |
Definition at line 124 of file CSCMotherboardME21GEM.h.
|
staticprivate |
Definition at line 126 of file CSCMotherboardME21GEM.h.
Referenced by run().
|
staticprivate |
Definition at line 125 of file CSCMotherboardME21GEM.h.
Referenced by run().
|
private |
Definition at line 139 of file CSCMotherboardME21GEM.h.
Referenced by CSCMotherboardME21GEM(), and run().
|
private |
maximum lcts per BX in ME2
Definition at line 148 of file CSCMotherboardME21GEM.h.
Referenced by CSCMotherboardME21GEM(), sortLCTsByGEMDPhi(), and sortLCTsByQuality().
|
private |
Definition at line 164 of file CSCMotherboardME21GEM.h.
Referenced by CSCMotherboardME21GEM(), matchingGEMPads(), and run().
|
private |
Definition at line 158 of file CSCMotherboardME21GEM.h.
Referenced by CSCMotherboardME21GEM(), matchingGEMPads(), and retrieveGEMPads().
|
private |
Definition at line 165 of file CSCMotherboardME21GEM.h.
Referenced by matchingGEMPads(), and run().
|
private |
Definition at line 166 of file CSCMotherboardME21GEM.h.
Referenced by CSCMotherboardME21GEM(), and run().
|
private |
Definition at line 167 of file CSCMotherboardME21GEM.h.
Referenced by CSCMotherboardME21GEM(), and run().
|
private |
Definition at line 159 of file CSCMotherboardME21GEM.h.
Referenced by matchingGEMPads(), and run().
|
private |
Definition at line 160 of file CSCMotherboardME21GEM.h.
Referenced by CSCMotherboardME21GEM(), and run().
|
private |
Definition at line 161 of file CSCMotherboardME21GEM.h.
Referenced by CSCMotherboardME21GEM(), and run().
|
private |
Definition at line 199 of file CSCMotherboardME21GEM.h.
Referenced by clear(), printGEMTriggerPads(), retrieveGEMPads(), and run().
|
private |
"preferential" index array in matching window for cross-BX sorting
Definition at line 137 of file CSCMotherboardME21GEM.h.
Referenced by CSCMotherboardME21GEM(), and run().
|
private |
Definition at line 185 of file CSCMotherboardME21GEM.h.
Referenced by constructLCTsGEM(), and CSCMotherboardME21GEM().
|
private |
Definition at line 188 of file CSCMotherboardME21GEM.h.
Referenced by constructLCTsGEM(), and CSCMotherboardME21GEM().
|
private |
Definition at line 189 of file CSCMotherboardME21GEM.h.
Referenced by constructLCTsGEM(), and CSCMotherboardME21GEM().
|
private |
Definition at line 151 of file CSCMotherboardME21GEM.h.
Referenced by CSCMotherboardME21GEM(), and run().
|
private |
Definition at line 145 of file CSCMotherboardME21GEM.h.
Referenced by CSCMotherboardME21GEM(), getLCTs(), and run().
|
private |
Definition at line 182 of file CSCMotherboardME21GEM.h.
Referenced by correlateLCTsGEM(), and CSCMotherboardME21GEM().