#include <CSCTriggerPrimitivesBuilder.h>
Public Types | |
enum | trig_cscs { MAX_ENDCAPS = 2, MAX_STATIONS = 4, MAX_SECTORS = 6, MAX_SUBSECTORS = 2, MAX_CHAMBERS = 9 } |
Public Member Functions | |
void | build (const CSCBadChambers *badChambers, const CSCWireDigiCollection *wiredc, const CSCComparatorDigiCollection *compdc, const GEMPadDigiCollection *gemPads, const RPCDigiCollection *rpcDigis, CSCALCTDigiCollection &oc_alct, CSCCLCTDigiCollection &oc_clct, CSCCLCTPreTriggerCollection &oc_pretrig, CSCCorrelatedLCTDigiCollection &oc_lct, CSCCorrelatedLCTDigiCollection &oc_sorted_lct, GEMCoPadDigiCollection &oc_gemcopad, GEMCSCLCTDigiCollection &oc_gemcsclct) |
CSCTriggerPrimitivesBuilder (const edm::ParameterSet &) | |
void | setConfigParameters (const CSCDBL1TPParameters *conf) |
void | setCSCGeometry (const CSCGeometry *g) |
set CSC and GEM geometries for the matching needs More... | |
void | setGEMGeometry (const GEMGeometry *g) |
void | setRPCGeometry (const RPCGeometry *g) |
~CSCTriggerPrimitivesBuilder () | |
Private Attributes | |
bool | checkBadChambers_ |
a flag whether to skip chambers from the bad chambers map More... | |
const CSCGeometry * | csc_g |
bool | disableME1a |
bool | disableME42 |
const GEMGeometry * | gem_g |
int | m_maxBX |
int | m_minBX |
std::unique_ptr< CSCMuonPortCard > | m_muonportcard |
const RPCGeometry * | rpc_g |
bool | runME11ILT_ |
bool | runME21ILT_ |
bool | runME3141ILT_ |
bool | smartME1aME1b |
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() |
Algorithm to build anode, cathode, and correlated LCTs from wire and comparator digis in endcap muon CSCs by implementing a 'build' function required by CSCTriggerPrimitivesProducer.
Configured via the Producer's ParameterSet.
Definition at line 37 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 74 of file CSCTriggerPrimitivesBuilder.h.
|
explicit |
Configure the algorithm via constructor. Receives ParameterSet percolated down from EDProducer which owns this Builder.
Definition at line 49 of file CSCTriggerPrimitivesBuilder.cc.
References relativeConstraints::cham, checkBadChambers_, disableME1a, disableME42, edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), m_maxBX, m_minBX, m_muonportcard, 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, relativeConstraints::ring, CSCTriggerNumbering::ringFromTriggerLabels(), runME11ILT_, runME21ILT_, runME3141ILT_, smartME1aME1b, and tmb_.
CSCTriggerPrimitivesBuilder::~CSCTriggerPrimitivesBuilder | ( | ) |
Definition at line 120 of file CSCTriggerPrimitivesBuilder.cc.
void CSCTriggerPrimitivesBuilder::build | ( | const CSCBadChambers * | badChambers, |
const CSCWireDigiCollection * | wiredc, | ||
const CSCComparatorDigiCollection * | compdc, | ||
const GEMPadDigiCollection * | gemPads, | ||
const RPCDigiCollection * | rpcDigis, | ||
CSCALCTDigiCollection & | oc_alct, | ||
CSCCLCTDigiCollection & | oc_clct, | ||
CSCCLCTPreTriggerCollection & | oc_pretrig, | ||
CSCCorrelatedLCTDigiCollection & | oc_lct, | ||
CSCCorrelatedLCTDigiCollection & | oc_sorted_lct, | ||
GEMCoPadDigiCollection & | oc_gemcopad, | ||
GEMCSCLCTDigiCollection & | oc_gemcsclct | ||
) |
Build anode, cathode, and correlated LCTs in each chamber and fill them into output collections. Select up to three best correlated LCTs in each (sub)sector and put them into an output collection as well.
Definition at line 160 of file CSCTriggerPrimitivesBuilder.cc.
References CSCMotherboard::alct, relativeConstraints::cham, CSCTriggerGeomManager::chamber(), CSCTriggerNumbering::chamberFromTriggerLabels(), checkBadChambers_, CSCMotherboard::clct, CSCMotherboardME11::clct1a, CSCMotherboardME11GEM::clct1a, csc_g, CSCDetId, cond::rpcobgas::detid, disableME1a, disableME42, alignCSCRings::e, gem_g, CSCTriggerGeometry::get(), CSCBadChambers::isInBadChamber(), LogDebug, LogTrace, m_maxBX, m_minBX, m_muonportcard, max_chamber, max_endcap, max_sector, max_station, max_subsector, min_chamber, min_endcap, min_sector, min_station, min_subsector, or, CSCMotherboardME11GEM::readoutCoPads(), CSCMotherboardME21GEM::readoutCoPads(), CSCMotherboard::readoutLCTs(), CSCMotherboardME3141RPC::readoutLCTs(), CSCMotherboardME21GEM::readoutLCTs(), CSCMotherboardME11::readoutLCTs1a(), CSCMotherboardME11GEM::readoutLCTs1a(), CSCMotherboardME11::readoutLCTs1b(), CSCMotherboardME11GEM::readoutLCTs1b(), query::result, relativeConstraints::ring, CSCTriggerNumbering::ringFromTriggerLabels(), rpc_g, CSCMotherboardME11::run(), CSCMotherboardME3141RPC::run(), CSCMotherboardME21GEM::run(), CSCMotherboardME11GEM::run(), CSCMotherboard::run(), runME11ILT_, runME21ILT_, runME3141ILT_, CSCMotherboardME21GEM::setCSCGeometry(), CSCMotherboardME3141RPC::setCSCGeometry(), CSCMotherboardME11GEM::setCSCGeometry(), CSCMotherboardME21GEM::setGEMGeometry(), CSCMotherboardME11GEM::setGEMGeometry(), CSCMotherboardME3141RPC::setRPCGeometry(), smartME1aME1b, tmb_, and CSCDetId::zendcap().
void CSCTriggerPrimitivesBuilder::setConfigParameters | ( | const CSCDBL1TPParameters * | conf | ) |
Sets configuration parameters obtained via EventSetup mechanism.
Definition at line 128 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, and tmb_.
|
inline |
set CSC and GEM geometries for the matching needs
Definition at line 53 of file CSCTriggerPrimitivesBuilder.h.
|
inline |
Definition at line 54 of file CSCTriggerPrimitivesBuilder.h.
|
inline |
Definition at line 55 of file CSCTriggerPrimitivesBuilder.h.
|
private |
a flag whether to skip chambers from the bad chambers map
Definition at line 92 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), and CSCTriggerPrimitivesBuilder().
|
private |
Definition at line 115 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), and setCSCGeometry().
|
private |
Definition at line 95 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), and CSCTriggerPrimitivesBuilder().
|
private |
SLHC: special switch for disabling ME42
Definition at line 98 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), and CSCTriggerPrimitivesBuilder().
|
private |
Definition at line 116 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), and setGEMGeometry().
|
private |
Definition at line 109 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), and CSCTriggerPrimitivesBuilder().
|
private |
Definition at line 109 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), and CSCTriggerPrimitivesBuilder().
|
private |
Pointer to MPC processor.
Definition at line 120 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), and CSCTriggerPrimitivesBuilder().
|
staticprivate |
Definition at line 89 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), and setConfigParameters().
|
staticprivate |
Definition at line 81 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), and setConfigParameters().
|
staticprivate |
Definition at line 85 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), and setConfigParameters().
|
staticprivate |
Definition at line 83 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), and setConfigParameters().
|
staticprivate |
Definition at line 87 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), and setConfigParameters().
|
staticprivate |
Definition at line 88 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), and setConfigParameters().
|
staticprivate |
Min and max allowed values for various CSC elements, defined in CSCDetId and CSCTriggerNumbering classes.
Definition at line 80 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), and setConfigParameters().
|
staticprivate |
Definition at line 84 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), and setConfigParameters().
|
staticprivate |
Definition at line 82 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), and setConfigParameters().
|
staticprivate |
Definition at line 86 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), and setConfigParameters().
|
private |
Definition at line 117 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), and setRPCGeometry().
|
private |
SLHC: special switch for the upgrade ME1/1 TMB
Definition at line 101 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), and CSCTriggerPrimitivesBuilder().
|
private |
SLHC: special switch for the upgrade ME2/1 TMB
Definition at line 104 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), and CSCTriggerPrimitivesBuilder().
|
private |
SLHC: special switch for the upgrade ME3/1 and ME4/1 TMB
Definition at line 107 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), and CSCTriggerPrimitivesBuilder().
|
private |
SLHC: special configuration parameters for ME11 treatment.
Definition at line 95 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), and CSCTriggerPrimitivesBuilder().
|
private |
Pointers to TMB processors for all possible chambers.
Definition at line 113 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), and setConfigParameters().