Public Member Functions | |
void | beginRun (edm::Run const &iRun, const edm::EventSetup &iEventSetup) override |
Create Trigger Units before starting event processing. More... | |
DTTrigPhase2Prod (const edm::ParameterSet &pset) | |
Constructor. More... | |
void | endRun (edm::Run const &iRun, const edm::EventSetup &iEventSetup) override |
endRun: finish things More... | |
MP_QUALITY | getMinimumQuality (void) |
bool | hasPosRF (int wh, int sec) const |
bool | inner (const metaPrimitive &mp) const |
bool | outer (const metaPrimitive &mp) const |
void | printmP (const std::string &ss, const metaPrimitive &mP) const |
void | printmP (const metaPrimitive &mP) const |
void | printmPC (const std::string &ss, const metaPrimitive &mP) const |
void | printmPC (const metaPrimitive &mP) const |
void | produce (edm::Event &iEvent, const edm::EventSetup &iEventSetup) override |
Producer: process every event and generates trigger data. More... | |
int | rango (const metaPrimitive &mp) const |
void | setChiSquareThreshold (float ch2Thr) |
void | setMinimumQuality (MP_QUALITY q) |
~DTTrigPhase2Prod () override | |
Destructor. More... | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Public Attributes | |
const DTGeometry * | dtGeo_ |
edm::ESGetToken< DTGeometry, MuonGeometryRecord > | dtGeomH |
std::vector< std::pair< int, MuonPath > > | primitives_ |
Private Types | |
typedef std::map< DTChamberId, DTDigiCollection, std::less< DTChamberId > > | DTDigiMap |
typedef DTDigiMap::const_iterator | DTDigiMap_const_iterator |
typedef DTDigiMap::iterator | DTDigiMap_iterator |
Private Member Functions | |
void | assignIndex (std::vector< metaPrimitive > &inMPaths) |
void | assignIndexPerBX (std::vector< metaPrimitive > &inMPaths) |
int | assignQualityOrder (const metaPrimitive &mP) const |
std::vector< DTDigiCollection * > | distribDigis (std::queue< std::pair< DTLayerId, DTDigi >> &inQ) |
void | processDigi (std::queue< std::pair< DTLayerId, DTDigi >> &inQ, std::vector< std::queue< std::pair< DTLayerId, DTDigi >> *> &vec) |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Definition at line 80 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 81 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 83 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 82 of file DTTrigPhase2Prod.cc.
DTTrigPhase2Prod::DTTrigPhase2Prod | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 194 of file DTTrigPhase2Prod.cc.
|
override |
|
private |
Definition at line 1130 of file DTTrigPhase2Prod.cc.
References assignIndexPerBX(), L1TStage2uGTEmulatorClient_cff::BX, max_index_, funct::primitive(), and cmsdt::metaPrimitive::t0.
Referenced by produce().
|
private |
Definition at line 1145 of file DTTrigPhase2Prod.cc.
References funct::abs(), assignQualityOrder(), dqmiodatasetharvest::inf, and nano_mu_digi_cff::rawId.
Referenced by assignIndex().
|
private |
Definition at line 1178 of file DTTrigPhase2Prod.cc.
References qmap_, and cmsdt::metaPrimitive::quality.
Referenced by assignIndexPerBX().
|
override |
Create Trigger Units before starting event processing.
Definition at line 274 of file DTTrigPhase2Prod.cc.
References debug_, dtGeo_, dtGeomH, relativeConstraints::geom, edm::EventSetup::getHandle(), grouping_obj_, edm::RunBase::id(), LogDebug, mpathanalyzer_, mpathassociator_, mpathcorfilter_, mpathhitsfilter_, mpathqualityenhancer_, mpathqualityenhancerbayes_, mpathredundantfilter_, and edm::RunID::run().
|
private |
Definition at line 1185 of file DTTrigPhase2Prod.cc.
References processDigi().
Referenced by produce().
|
override |
endRun: finish things
Definition at line 1045 of file DTTrigPhase2Prod.cc.
References grouping_obj_, mpathanalyzer_, mpathassociator_, mpathhitsfilter_, mpathqualityenhancer_, mpathqualityenhancerbayes_, mpathredundantfilter_, and rpc_integrator_.
|
static |
Definition at line 1234 of file DTTrigPhase2Prod.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), submitPVResolutionJobs::desc, and ProducerED_cfi::InputTag.
MP_QUALITY DTTrigPhase2Prod::getMinimumQuality | ( | void | ) |
bool DTTrigPhase2Prod::hasPosRF | ( | int | wh, |
int | sec | ||
) | const |
bool DTTrigPhase2Prod::inner | ( | const metaPrimitive & | mp | ) | const |
Definition at line 1061 of file DTTrigPhase2Prod.cc.
References cmsdt::metaPrimitive::wi1, cmsdt::metaPrimitive::wi2, cmsdt::metaPrimitive::wi3, and cmsdt::metaPrimitive::wi4.
Referenced by produce().
bool DTTrigPhase2Prod::outer | ( | const metaPrimitive & | mp | ) | const |
Definition at line 1056 of file DTTrigPhase2Prod.cc.
References cmsdt::metaPrimitive::wi5, cmsdt::metaPrimitive::wi6, cmsdt::metaPrimitive::wi7, and cmsdt::metaPrimitive::wi8.
void DTTrigPhase2Prod::printmP | ( | const std::string & | ss, |
const metaPrimitive & | mP | ||
) | const |
Referenced by produce().
void DTTrigPhase2Prod::printmP | ( | const metaPrimitive & | mP | ) | const |
Definition at line 1078 of file DTTrigPhase2Prod.cc.
References cmsdt::metaPrimitive::chi2, createfilelist::int, rango(), cmsdt::metaPrimitive::rawId, cmsdt::metaPrimitive::t0, cmsdt::metaPrimitive::tanPhi, cmsdt::metaPrimitive::tdc1, cmsdt::metaPrimitive::tdc2, cmsdt::metaPrimitive::tdc3, cmsdt::metaPrimitive::tdc4, cmsdt::metaPrimitive::wi1, cmsdt::metaPrimitive::wi2, cmsdt::metaPrimitive::wi3, cmsdt::metaPrimitive::wi4, and cmsdt::metaPrimitive::x.
void DTTrigPhase2Prod::printmPC | ( | const std::string & | ss, |
const metaPrimitive & | mP | ||
) | const |
Referenced by produce().
void DTTrigPhase2Prod::printmPC | ( | const metaPrimitive & | mP | ) | const |
Definition at line 1105 of file DTTrigPhase2Prod.cc.
References cmsdt::metaPrimitive::chi2, IntegrityClient_cfi::ChId, createfilelist::int, cmsdt::metaPrimitive::lat1, cmsdt::metaPrimitive::lat2, cmsdt::metaPrimitive::lat3, cmsdt::metaPrimitive::lat4, cmsdt::metaPrimitive::lat5, cmsdt::metaPrimitive::lat6, cmsdt::metaPrimitive::lat7, cmsdt::metaPrimitive::lat8, rango(), cmsdt::metaPrimitive::rawId, cmsdt::metaPrimitive::t0, cmsdt::metaPrimitive::tanPhi, cmsdt::metaPrimitive::tdc1, cmsdt::metaPrimitive::tdc2, cmsdt::metaPrimitive::tdc3, cmsdt::metaPrimitive::tdc4, cmsdt::metaPrimitive::tdc5, cmsdt::metaPrimitive::tdc6, cmsdt::metaPrimitive::tdc7, cmsdt::metaPrimitive::tdc8, cmsdt::metaPrimitive::wi1, cmsdt::metaPrimitive::wi2, cmsdt::metaPrimitive::wi3, cmsdt::metaPrimitive::wi4, cmsdt::metaPrimitive::wi5, cmsdt::metaPrimitive::wi6, cmsdt::metaPrimitive::wi7, cmsdt::metaPrimitive::wi8, and cmsdt::metaPrimitive::x.
|
private |
Definition at line 1204 of file DTTrigPhase2Prod.cc.
References eostools::move(), superCellhalfspacewidth_, and superCelltimewidth_.
Referenced by distribDigis().
|
override |
Producer: process every event and generates trigger data.
Fitting SECTION;
STORING RESULTs
Definition at line 294 of file DTTrigPhase2Prod.cc.
References activateBuffer_, algo_, allow_confirmation_, assignIndex(), DTSuperLayerId::chamberId(), DTGeometry::chambers(), cmsdt::CHI2RES_CONV, cmsdt::CHIGHQ, cscdqm::DATA, debug_, df_extended_, distribDigis(), dtDigisToken_, dtGeo_, dump_, nano_mu_digi_cff::float, grouping_obj_, mps_fire::i, DTChamber::id(), iEvent, inner(), createfilelist::int, cmsdt::KRES_CONV, latprovider_, cmsdt::LHC_CLK_FREQ, LogDebug, cmsdt::LOWLOWQ, SiStripPI::max, cmsdt::MC, eostools::move(), mpathanalyzer_, mpathassociator_, mpathconfirmator_, mpathcorfilter_, mpathhitsfilter_, mpathqualityenhancer_, mpathredundantfilter_, output_confirmed_, output_latpredictor_, output_matcher_, output_mixer_, output_slfilter_, output_slfitter_, cmsdt::PHIBRES_CONV, cmsdt::PHIRES_CONV, printmP(), printmPC(), FastTimerService_cff::range, DetId::rawId(), rpc_integrator_, dtTriggerPhase2PrimitiveDigis_cfi::rpcRecHits, rpcRecHitsLabel_, scenario_, DTChamberId::sector(), skip_processing_, cmsdt::SLICE_TEST, jetUpdater_cfi::sort, contentValuesCheck::ss, cmsdt::Standard, DTChamberId::station(), DTSuperLayerId::superLayer(), DTLayerId::superlayerId(), cmsdt::TIME_TO_TDC_COUNTS, useRPC_, DTChamberId::wheel(), and cmsdt::ZRES_CONV.
int DTTrigPhase2Prod::rango | ( | const metaPrimitive & | mp | ) | const |
Definition at line 1122 of file DTTrigPhase2Prod.cc.
References or, and cmsdt::metaPrimitive::quality.
Referenced by printmP(), and printmPC().
void DTTrigPhase2Prod::setChiSquareThreshold | ( | float | ch2Thr | ) |
void DTTrigPhase2Prod::setMinimumQuality | ( | MP_QUALITY | q | ) |
|
private |
Definition at line 168 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 154 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 147 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 133 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), produce(), and ~DTTrigPhase2Prod().
|
private |
Definition at line 137 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 135 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 150 of file DTTrigPhase2Prod.cc.
Referenced by produce().
const DTGeometry* DTTrigPhase2Prod::dtGeo_ |
Definition at line 121 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), and produce().
edm::ESGetToken<DTGeometry, MuonGeometryRecord> DTTrigPhase2Prod::dtGeomH |
Definition at line 122 of file DTTrigPhase2Prod.cc.
Referenced by beginRun().
|
private |
Definition at line 134 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 165 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 155 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 157 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 138 of file DTTrigPhase2Prod.cc.
Referenced by assignIndex().
|
private |
Definition at line 156 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 162 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 163 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 164 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), and produce().
|
private |
Definition at line 161 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 158 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 159 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), and endRun().
|
private |
Definition at line 160 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 130 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 127 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 144 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 141 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 145 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 140 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 143 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 142 of file DTTrigPhase2Prod.cc.
Referenced by produce().
std::vector<std::pair<int, MuonPath> > DTTrigPhase2Prod::primitives_ |
Definition at line 123 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 183 of file DTTrigPhase2Prod.cc.
Referenced by assignQualityOrder().
|
private |
Definition at line 176 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 151 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 136 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 146 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 169 of file DTTrigPhase2Prod.cc.
Referenced by processDigi().
|
private |
Definition at line 170 of file DTTrigPhase2Prod.cc.
Referenced by processDigi().
|
private |
Definition at line 177 of file DTTrigPhase2Prod.cc.
Referenced by produce().