#include <CSCMotherboardME3141.h>
Public Types | |
enum | Default_values { DEFAULT_MATCHING_VALUE = -99 } |
Public Member Functions | |
void | clear () |
void | correlateLCTs (const CSCALCTDigi &bestALCT, const CSCALCTDigi &secondALCT, const CSCCLCTDigi &bestCLCT, const CSCCLCTDigi &secondCLCT, CSCCorrelatedLCTDigi &lct1, CSCCorrelatedLCTDigi &lct2) const |
CSCMotherboardME3141 (unsigned endcap, unsigned station, unsigned sector, unsigned subsector, unsigned chamber, const edm::ParameterSet &conf) | |
CSCMotherboardME3141 () | |
std::vector< CSCCorrelatedLCTDigi > | readoutLCTs () const |
void | run (const CSCWireDigiCollection *wiredc, const CSCComparatorDigiCollection *compdc) |
~CSCMotherboardME3141 () override | |
Public Member Functions inherited from CSCUpgradeMotherboard | |
template<class S > | |
bool | compare (const S &p, const S &q) const |
CSCUpgradeMotherboard (unsigned endcap, unsigned station, unsigned sector, unsigned subsector, unsigned chamber, const edm::ParameterSet &conf) | |
CSCUpgradeMotherboard () | |
void | debugLUTs () |
template<class S > | |
void | intersection (const S &d1, const S &d2, S &result) const |
void | setCSCGeometry (const CSCGeometry *g) |
void | setupGeometry () |
void | sortLCTs (std::vector< CSCCorrelatedLCTDigi > &lcts, bool(*sorter)(const CSCCorrelatedLCTDigi &, const CSCCorrelatedLCTDigi &)) const |
~CSCUpgradeMotherboard () 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 () const |
std::vector< CSCCorrelatedLCTDigi > | readoutLCTs () const |
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) |
void | setCSCGeometry (const CSCGeometry *g) |
virtual | ~CSCMotherboard ()=default |
Public Attributes | |
std::vector< CSCCLCTDigi > | clctV |
Public Attributes inherited from CSCMotherboard | |
std::unique_ptr< CSCAnodeLCTProcessor > | alct |
std::unique_ptr< CSCCathodeLCTProcessor > | clct |
Private Attributes | |
LCTContainer | allLCTs |
Definition at line 6 of file CSCMotherboardME3141.h.
CSCMotherboardME3141::CSCMotherboardME3141 | ( | unsigned | endcap, |
unsigned | station, | ||
unsigned | sector, | ||
unsigned | subsector, | ||
unsigned | chamber, | ||
const edm::ParameterSet & | conf | ||
) |
Definition at line 4 of file CSCMotherboardME3141.cc.
CSCMotherboardME3141::CSCMotherboardME3141 | ( | ) |
Definition at line 13 of file CSCMotherboardME3141.cc.
|
override |
Definition at line 19 of file CSCMotherboardME3141.cc.
void CSCMotherboardME3141::clear | ( | void | ) |
Definition at line 23 of file CSCMotherboardME3141.cc.
References allLCTs, CSCMotherboard::clear(), mps_fire::i, CSCMotherboard::match_trig_window_size, CSCConstants::MAX_LCT_TBINS, and CSCConstants::MAX_LCTS_PER_CSC.
Referenced by run().
void CSCMotherboardME3141::correlateLCTs | ( | const CSCALCTDigi & | bestALCT, |
const CSCALCTDigi & | secondALCT, | ||
const CSCCLCTDigi & | bestCLCT, | ||
const CSCCLCTDigi & | secondCLCT, | ||
CSCCorrelatedLCTDigi & | lct1, | ||
CSCCorrelatedLCTDigi & | lct2 | ||
) | const |
Definition at line 177 of file CSCMotherboardME3141.cc.
References CSCMotherboard::alct_trig_enable, CSCCorrelatedLCTDigi::ALCTCLCT, CSCMotherboard::clct_trig_enable, CSCMotherboard::constructLCTs(), CSCCLCTDigi::isValid(), CSCALCTDigi::isValid(), CSCMotherboard::match_trig_enable, and or.
Referenced by run().
std::vector< CSCCorrelatedLCTDigi > CSCMotherboardME3141::readoutLCTs | ( | ) | const |
Definition at line 213 of file CSCMotherboardME3141.cc.
References allLCTs, CSCUpgradeMotherboard::LCTContainer::getMatched(), mps_fire::result, CSCUpgradeMotherboard::sortLCTs(), CSCUpgradeMotherboard::sortLCTsByQuality(), and CSCUpgradeMotherboard::tmb_cross_bx_algo.
Referenced by CSCTriggerPrimitivesBuilder::build(), and run().
void CSCMotherboardME3141::run | ( | const CSCWireDigiCollection * | wiredc, |
const CSCComparatorDigiCollection * | compdc | ||
) |
Definition at line 38 of file CSCMotherboardME3141.cc.
References CSCMotherboard::alct, CSCUpgradeMotherboard::alctV, allLCTs, EnergyCorrector::c, CSCMotherboard::clct, clctV, clear(), correlateLCTs(), CSCUpgradeMotherboard::csc_g, CSCUpgradeMotherboard::cscChamber, CSCUpgradeMotherboard::debug_matching, CSCUpgradeMotherboard::drop_used_clcts, plotBeamSpotDB::first, mps_fire::i, CSCChamber::id(), CSCMotherboard::infoV, LogDebug, LogTrace, CSCUpgradeMotherboard::match_earliest_clct_only, CSCMotherboard::match_trig_window_size, CSCConstants::MAX_ALCT_TBINS, CSCConstants::MAX_CLCT_TBINS, CSCConstants::MAX_LCT_TBINS, CSCConstants::MAX_LCTS_PER_CSC, gen::n, AlCaHLTBitMon_ParallelJobs::p, CSCUpgradeMotherboard::pref, readoutLCTs(), and CSCUpgradeMotherboard::tmb_cross_bx_algo.
Referenced by CSCTriggerPrimitivesBuilder::build().
|
private |
for the case when more than 2 LCTs/BX are allowed; maximum match window = 15
Definition at line 42 of file CSCMotherboardME3141.h.
Referenced by clear(), readoutLCTs(), and run().
std::vector<CSCCLCTDigi> CSCMotherboardME3141::clctV |
Definition at line 37 of file CSCMotherboardME3141.h.
Referenced by run().