#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, CSCALCTDigiCollection &oc_alct, CSCCLCTDigiCollection &oc_clct, CSCCLCTPreTriggerCollection &oc_pretrig, CSCCorrelatedLCTDigiCollection &oc_lct, CSCCorrelatedLCTDigiCollection &oc_sorted_lct) |
CSCTriggerPrimitivesBuilder (const edm::ParameterSet &) | |
void | setConfigParameters (const CSCDBL1TPParameters *conf) |
~CSCTriggerPrimitivesBuilder () | |
Private Attributes | |
int | m_maxBX |
int | m_minBX |
CSCMuonPortCard * | m_muonportcard |
CSCMotherboard * | tmb_ [MAX_ENDCAPS][MAX_STATIONS][MAX_SECTORS][MAX_SUBSECTORS][MAX_CHAMBERS] |
Static Private Attributes | |
static const int | max_chamber |
static const int | max_endcap = CSCDetId::maxEndcapId() |
static const int | max_sector |
static const int | max_station = CSCDetId::maxStationId() |
static const int | max_subsector |
static const int | min_chamber |
static const int | min_endcap = CSCDetId::minEndcapId() |
static const int | min_sector |
static const int | min_station = CSCDetId::minStationId() |
static const int | min_subsector |
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 32 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 60 of file CSCTriggerPrimitivesBuilder.h.
|
explicit |
Configure the algorithm via constructor. Receives ParameterSet percolated down from EDProducer which owns this Builder.
Definition at line 51 of file CSCTriggerPrimitivesBuilder.cc.
References relativeConstraints::cham, 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, and tmb_.
CSCTriggerPrimitivesBuilder::~CSCTriggerPrimitivesBuilder | ( | ) |
Definition at line 94 of file CSCTriggerPrimitivesBuilder.cc.
References relativeConstraints::cham, m_muonportcard, max_chamber, max_endcap, max_sector, max_station, max_subsector, min_chamber, min_endcap, min_sector, min_station, min_subsector, and tmb_.
void CSCTriggerPrimitivesBuilder::build | ( | const CSCBadChambers * | badChambers, |
const CSCWireDigiCollection * | wiredc, | ||
const CSCComparatorDigiCollection * | compdc, | ||
CSCALCTDigiCollection & | oc_alct, | ||
CSCCLCTDigiCollection & | oc_clct, | ||
CSCCLCTPreTriggerCollection & | oc_pretrig, | ||
CSCCorrelatedLCTDigiCollection & | oc_lct, | ||
CSCCorrelatedLCTDigiCollection & | oc_sorted_lct | ||
) |
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 141 of file CSCTriggerPrimitivesBuilder.cc.
References CSCMotherboard::alct, relativeConstraints::cham, CSCTriggerGeomManager::chamber(), CSCTriggerNumbering::chamberFromTriggerLabels(), CSCMotherboard::clct, CSCDetId, cond::rpcobgas::detid, alignCSCRings::e, CSCTriggerGeometry::get(), CSCBadChambers::isInBadChamber(), CSCMuonPortCard::loadDigis(), 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, CSCCathodeLCTProcessor::preTriggerBXs(), CSCAnodeLCTProcessor::readoutALCTs(), CSCCathodeLCTProcessor::readoutCLCTs(), query::result, relativeConstraints::ring, CSCTriggerNumbering::ringFromTriggerLabels(), CSCMotherboard::run(), CSCMuonPortCard::sort(), and tmb_.
Referenced by CSCTriggerPrimitivesProducer::produce().
void CSCTriggerPrimitivesBuilder::setConfigParameters | ( | const CSCDBL1TPParameters * | conf | ) |
Sets configuration parameters obtained via EventSetup mechanism.
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, CSCMotherboard::setConfigParameters(), and tmb_.
Referenced by CSCTriggerPrimitivesProducer::produce().
|
private |
Definition at line 77 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), and CSCTriggerPrimitivesBuilder().
|
private |
Definition at line 77 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), and CSCTriggerPrimitivesBuilder().
|
private |
Pointer to MPC processor.
Definition at line 84 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), and ~CSCTriggerPrimitivesBuilder().
|
staticprivate |
Definition at line 75 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), setConfigParameters(), and ~CSCTriggerPrimitivesBuilder().
|
staticprivate |
Definition at line 67 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), setConfigParameters(), and ~CSCTriggerPrimitivesBuilder().
|
staticprivate |
Definition at line 71 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), setConfigParameters(), and ~CSCTriggerPrimitivesBuilder().
|
staticprivate |
Definition at line 69 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), setConfigParameters(), and ~CSCTriggerPrimitivesBuilder().
|
staticprivate |
Definition at line 73 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), setConfigParameters(), and ~CSCTriggerPrimitivesBuilder().
|
staticprivate |
Definition at line 74 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), setConfigParameters(), and ~CSCTriggerPrimitivesBuilder().
|
staticprivate |
Min and max allowed values for various CSC elements, defined in CSCDetId and CSCTriggerNumbering classes.
Definition at line 66 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), setConfigParameters(), and ~CSCTriggerPrimitivesBuilder().
|
staticprivate |
Definition at line 70 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), setConfigParameters(), and ~CSCTriggerPrimitivesBuilder().
|
staticprivate |
Definition at line 68 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), setConfigParameters(), and ~CSCTriggerPrimitivesBuilder().
|
staticprivate |
Definition at line 72 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), setConfigParameters(), and ~CSCTriggerPrimitivesBuilder().
|
private |
Pointers to TMB processors for all possible chambers.
Definition at line 81 of file CSCTriggerPrimitivesBuilder.h.
Referenced by build(), CSCTriggerPrimitivesBuilder(), setConfigParameters(), and ~CSCTriggerPrimitivesBuilder().