#include <CSCTriggerPrimitivesBuilder.h>
Public Types | |
enum | trig_cscs { MAX_ENDCAPS = 2, MAX_STATIONS = 4, MAX_SECTORS = 6, MAX_SUBSECTORS = 2, MAX_CHAMBERS = 9 } |
Private Member Functions | |
template<class T , class S > | |
void | put (const T &, S &, const CSCDetId &, std::string comment) |
Private Attributes | |
bool | checkBadChambers_ |
a flag whether to skip chambers from the bad chambers map More... | |
const CSCGeometry * | csc_g |
bool | disableME42_ |
const GEMGeometry * | gem_g |
int | infoV |
std::unique_ptr< CSCMuonPortCard > | mpc_ [MAX_ENDCAPS][MAX_STATIONS][MAX_SECTORS] |
bool | runME11ILT_ |
bool | runME11Up_ |
bool | runME21ILT_ |
bool | runME21Up_ |
bool | runPhase2_ |
std::unique_ptr< CSCMotherboard > | tmb_ [MAX_ENDCAPS][MAX_STATIONS][MAX_SECTORS][MAX_SUBSECTORS][MAX_CHAMBERS] |
Static Private Attributes | |
static const int | max_chamber = CSCTriggerNumbering::maxTriggerCscId() |
static const int | max_endcap = CSCDetId::maxEndcapId() |
static const int | max_sector = CSCTriggerNumbering::maxTriggerSectorId() |
static const int | max_station = CSCDetId::maxStationId() |
static const int | max_subsector = CSCTriggerNumbering::maxTriggerSubSectorId() |
static const int | min_chamber = CSCTriggerNumbering::minTriggerCscId() |
static const int | min_endcap = CSCDetId::minEndcapId() |
static const int | min_sector = CSCTriggerNumbering::minTriggerSectorId() |
static const int | min_station = CSCDetId::minStationId() |
static const int | min_subsector = CSCTriggerNumbering::minTriggerSubSectorId() |
Definition at line 44 of file CSCTriggerPrimitivesBuilder.h.
Max values of trigger labels for all CSCs; used to construct TMB processors.
Enumerator | |
---|---|
MAX_ENDCAPS | |
MAX_STATIONS | |
MAX_SECTORS | |
MAX_SUBSECTORS | |
MAX_CHAMBERS |
Definition at line 91 of file CSCTriggerPrimitivesBuilder.h.
|
explicit |
Configure the algorithm via constructor. Receives ParameterSet percolated down from EDProducer which owns this Builder.
Definition at line 20 of file CSCTriggerPrimitivesBuilder.cc.
References relativeConstraints::cham, checkBadChambers_, disableME42_, edm::ParameterSet::getParameter(), infoV, max_chamber, MAX_CHAMBERS, max_endcap, MAX_ENDCAPS, max_sector, MAX_SECTORS, max_station, MAX_STATIONS, max_subsector, MAX_SUBSECTORS, min_chamber, min_endcap, min_sector, min_station, min_subsector, mpc_, or, relativeConstraints::ring, CSCTriggerNumbering::ringFromTriggerLabels(), runME11ILT_, runME11Up_, runME21ILT_, runME21Up_, runPhase2_, edm_modernize_messagelogger::stat, and tmb_.
CSCTriggerPrimitivesBuilder::~CSCTriggerPrimitivesBuilder | ( | ) |
Definition at line 79 of file CSCTriggerPrimitivesBuilder.cc.
void CSCTriggerPrimitivesBuilder::build | ( | const CSCBadChambers * | badChambers, |
const CSCWireDigiCollection * | wiredc, | ||
const CSCComparatorDigiCollection * | compdc, | ||
const GEMPadDigiClusterCollection * | gemPadClusters, | ||
CSCALCTDigiCollection & | oc_alct, | ||
CSCCLCTDigiCollection & | oc_clct, | ||
CSCALCTPreTriggerDigiCollection & | oc_alctpretrigger, | ||
CSCCLCTPreTriggerDigiCollection & | oc_clctpretrigger, | ||
CSCCLCTPreTriggerCollection & | oc_pretrig, | ||
CSCCorrelatedLCTDigiCollection & | oc_lct, | ||
CSCCorrelatedLCTDigiCollection & | oc_sorted_lct, | ||
CSCShowerDigiCollection & | oc_shower_anode, | ||
CSCShowerDigiCollection & | oc_shower_cathode, | ||
CSCShowerDigiCollection & | oc_shower, | ||
GEMCoPadDigiCollection & | oc_gemcopad | ||
) |
Definition at line 146 of file CSCTriggerPrimitivesBuilder.cc.
References CSCMotherboard::alctProc, relativeConstraints::cham, CSCGeometry::chamber(), CSCTriggerNumbering::chamberFromTriggerLabels(), checkBadChambers_, CSCMotherboard::clctProc, CSCGEMMotherboard::clusterProc(), csc_g, CSCDetId, disableME42_, gem_g, CSCBaseboard::getCSCName(), infoV, MuonDigiCollection< IndexType, DigiType >::insertDigi(), CSCBadChambers::isInBadChamber(), CSCShowerDigi::isValid(), LogDebug, LogTrace, max_chamber, max_endcap, max_sector, max_station, max_subsector, min_chamber, min_endcap, min_sector, min_station, min_subsector, mpc_, or, put(), CSCMotherboard::readoutLCTs(), CSCMotherboard::readoutShower(), mps_fire::result, relativeConstraints::ring, CSCTriggerNumbering::ringFromTriggerLabels(), CSCGEMMotherboard::run(), CSCMotherboard::run(), runME11ILT_, runME11Up_, runME21ILT_, runME21Up_, runPhase2_, CSCBaseboard::setCSCGeometry(), CSCGEMMotherboard::setGEMGeometry(), edm_modernize_messagelogger::stat, tmb_, and CSCDetId::zendcap().
|
private |
template function to put data in the output helps to reduce the large amount of code duplication!
Definition at line 147 of file CSCTriggerPrimitivesBuilder.h.
References LogTrace.
Referenced by build().
void CSCTriggerPrimitivesBuilder::setConfigParameters | ( | const CSCDBL1TPParameters * | conf | ) |
Sets configuration parameters obtained via EventSetup mechanism.
Definition at line 81 of file CSCTriggerPrimitivesBuilder.cc.
References relativeConstraints::cham, max_chamber, max_endcap, max_sector, max_station, max_subsector, min_chamber, min_endcap, min_sector, min_station, min_subsector, edm_modernize_messagelogger::stat, and tmb_.
|
inline |
set CSC and GEM geometries for the matching needs
Definition at line 61 of file CSCTriggerPrimitivesBuilder.h.
void CSCTriggerPrimitivesBuilder::setESLookupTables | ( | const CSCL1TPLookupTableCCLUT * | conf | ) |
Definition at line 98 of file CSCTriggerPrimitivesBuilder.cc.
References relativeConstraints::cham, max_chamber, max_endcap, max_sector, max_station, max_subsector, min_chamber, min_endcap, min_sector, min_station, min_subsector, edm_modernize_messagelogger::stat, and tmb_.
Referenced by setESLookupTables().
void CSCTriggerPrimitivesBuilder::setESLookupTables | ( | const CSCL1TPLookupTableME11ILT * | conf | ) |
Definition at line 114 of file CSCTriggerPrimitivesBuilder.cc.
References relativeConstraints::cham, max_chamber, max_endcap, max_sector, max_station, max_subsector, min_chamber, min_endcap, min_sector, min_station, min_subsector, setESLookupTables(), edm_modernize_messagelogger::stat, and tmb_.
void CSCTriggerPrimitivesBuilder::setESLookupTables | ( | const CSCL1TPLookupTableME21ILT * | conf | ) |
Definition at line 130 of file CSCTriggerPrimitivesBuilder.cc.
References relativeConstraints::cham, max_chamber, max_endcap, max_sector, max_station, max_subsector, min_chamber, min_endcap, min_sector, min_station, min_subsector, setESLookupTables(), edm_modernize_messagelogger::stat, and tmb_.
|
inline |
Definition at line 62 of file CSCTriggerPrimitivesBuilder.h.
|
private |
a flag whether to skip chambers from the bad chambers map
Definition at line 117 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), and CSCTriggerPrimitivesBuilder().
|
private |
Definition at line 142 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), and setCSCGeometry().
|
private |
Phase2: special switch for disabling ME42
Definition at line 123 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), and CSCTriggerPrimitivesBuilder().
|
private |
Definition at line 143 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), and setGEMGeometry().
|
private |
Definition at line 114 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), and CSCTriggerPrimitivesBuilder().
|
staticprivate |
Definition at line 111 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), setConfigParameters(), and setESLookupTables().
|
staticprivate |
Definition at line 103 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), setConfigParameters(), and setESLookupTables().
|
staticprivate |
Definition at line 107 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), setConfigParameters(), and setESLookupTables().
|
staticprivate |
Definition at line 105 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), setConfigParameters(), and setESLookupTables().
|
staticprivate |
Definition at line 109 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), setConfigParameters(), and setESLookupTables().
|
staticprivate |
Definition at line 110 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), setConfigParameters(), and setESLookupTables().
|
staticprivate |
Min and max allowed values for various CSC elements, defined in CSCDetId and CSCTriggerNumbering classes.
Definition at line 102 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), setConfigParameters(), and setESLookupTables().
|
staticprivate |
Definition at line 106 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), setConfigParameters(), and setESLookupTables().
|
staticprivate |
Definition at line 104 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), setConfigParameters(), and setESLookupTables().
|
staticprivate |
Definition at line 108 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), setConfigParameters(), and setESLookupTables().
|
private |
Pointer to MPC processors.
Definition at line 139 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), and CSCTriggerPrimitivesBuilder().
|
private |
Phase2: special switch for the upgrade ME1/1 TMB
Definition at line 130 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), and CSCTriggerPrimitivesBuilder().
|
private |
Phase2: individual switches
Definition at line 126 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), and CSCTriggerPrimitivesBuilder().
|
private |
Phase2: special switch for the upgrade ME2/1 TMB
Definition at line 133 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), and CSCTriggerPrimitivesBuilder().
|
private |
Definition at line 127 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), and CSCTriggerPrimitivesBuilder().
|
private |
Phase2: special configuration parameters for ME11 treatment.
Definition at line 120 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), and CSCTriggerPrimitivesBuilder().
|
private |
Pointers to TMB processors for all possible chambers.
Definition at line 136 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), setConfigParameters(), and setESLookupTables().