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 | printmPC (const std::string &ss, 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 |
Public Attributes | |
DTGeometry const * | 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) |
Private Attributes | |
bool | activateBuffer_ |
int | algo_ |
bool | debug_ |
int | df_extended_ |
bool | do_correlation_ |
double | dT0_correlate_TP_ |
edm::EDGetTokenT< DTDigiCollection > | dtDigisToken_ |
bool | dump_ |
std::string | geometry_tag_ |
std::shared_ptr< GlobalCoordsObtainer > | globalcoordsobtainer_ |
std::unique_ptr< MotherGrouping > | grouping_obj_ |
std::unique_ptr< MuonPathAnalyzer > | mpathanalyzer_ |
std::unique_ptr< MuonPathAssociator > | mpathassociator_ |
std::unique_ptr< MPFilter > | mpathqualityenhancer_ |
std::unique_ptr< MPFilter > | mpathredundantfilter_ |
int | my_BXoffset_ |
bool | my_CCBValid_ |
const std::unordered_map< int, int > | qmap_ |
std::unique_ptr< RPCIntegrator > | rpc_integrator_ |
edm::EDGetTokenT< RPCRecHitCollection > | rpcRecHitsLabel_ |
int | scenario_ |
int | superCellhalfspacewidth_ |
float | superCelltimewidth_ |
bool | useRPC_ |
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 70 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 71 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 73 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 72 of file DTTrigPhase2Prod.cc.
DTTrigPhase2Prod::DTTrigPhase2Prod | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 168 of file DTTrigPhase2Prod.cc.
|
override |
|
private |
Definition at line 766 of file DTTrigPhase2Prod.cc.
References assignIndexPerBX(), L1TStage2uGTEmulatorClient_cff::BX, funct::primitive(), and cmsdt::metaPrimitive::t0.
Referenced by produce().
|
private |
Definition at line 780 of file DTTrigPhase2Prod.cc.
References funct::abs(), assignQualityOrder(), and dqmiodatasetharvest::inf.
Referenced by assignIndex().
|
private |
Definition at line 813 of file DTTrigPhase2Prod.cc.
References qmap_, and cmsdt::metaPrimitive::quality.
Referenced by assignIndexPerBX().
|
override |
Create Trigger Units before starting event processing.
Definition at line 236 of file DTTrigPhase2Prod.cc.
References debug_, dtGeo_, relativeConstraints::geom, geometry_tag_, edm::EventSetup::get(), get, grouping_obj_, edm::RunBase::id(), LogDebug, mpathanalyzer_, mpathassociator_, mpathqualityenhancer_, mpathredundantfilter_, and edm::RunID::run().
|
private |
Definition at line 820 of file DTTrigPhase2Prod.cc.
References processDigi().
Referenced by produce().
|
override |
endRun: finish things
Definition at line 710 of file DTTrigPhase2Prod.cc.
References grouping_obj_, mpathanalyzer_, mpathassociator_, mpathqualityenhancer_, mpathredundantfilter_, and rpc_integrator_.
MP_QUALITY DTTrigPhase2Prod::getMinimumQuality | ( | void | ) |
bool DTTrigPhase2Prod::hasPosRF | ( | int | wh, |
int | sec | ||
) | const |
bool DTTrigPhase2Prod::inner | ( | const metaPrimitive & | mp | ) | const |
Definition at line 724 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 719 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 |
Definition at line 731 of file DTTrigPhase2Prod.cc.
References cmsdt::metaPrimitive::chi2, createfilelist::int, rango(), cmsdt::metaPrimitive::rawId, contentValuesCheck::ss, 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.
Referenced by produce().
void DTTrigPhase2Prod::printmPC | ( | const std::string & | ss, |
const metaPrimitive & | mP | ||
) | const |
Definition at line 741 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, contentValuesCheck::ss, 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.
Referenced by produce().
|
private |
Definition at line 839 of file DTTrigPhase2Prod.cc.
References Abs(), eostools::move(), superCellhalfspacewidth_, and superCelltimewidth_.
Referenced by distribDigis().
|
override |
Producer: process every event and generates trigger data.
Fitting SECTION;
STORING RESULTs
Definition at line 253 of file DTTrigPhase2Prod.cc.
References activateBuffer_, algo_, assignIndex(), DTSuperLayerId::chamberId(), DTGeometry::chambers(), cmsdt::CHI2RES_CONV, cmsdt::CHIGHQ, cscdqm::DATA, debug_, df_extended_, distribDigis(), dtDigisToken_, dtGeo_, dump_, grouping_obj_, mps_fire::i, DTChamber::id(), iEvent, inner(), createfilelist::int, cmsdt::KRES_CONV, cmsdt::LHC_CLK_FREQ, LogDebug, cmsdt::LOWLOWQ, SiStripPI::max, cmsdt::MC, eostools::move(), mpathanalyzer_, mpathassociator_, mpathqualityenhancer_, mpathredundantfilter_, cmsdt::PHIBRES_CONV, cmsdt::PHIRES_CONV, printmP(), printmPC(), FastTimerService_cff::range, rpc_integrator_, dtTriggerPhase2PrimitiveDigis_cfi::rpcRecHits, rpcRecHitsLabel_, scenario_, DTChamberId::sector(), cmsdt::SLICE_TEST, jetUpdater_cfi::sort, contentValuesCheck::ss, cmsdt::Standard, DTChamberId::station(), DTSuperLayerId::superLayer(), DTLayerId::superlayerId(), useRPC_, DTChamberId::wheel(), and cmsdt::ZRES_CONV.
int DTTrigPhase2Prod::rango | ( | const metaPrimitive & | mp | ) | const |
Definition at line 758 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 142 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 132 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 119 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), produce(), and ~DTTrigPhase2Prod().
|
private |
Definition at line 124 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 122 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 121 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 128 of file DTTrigPhase2Prod.cc.
Referenced by produce().
DTGeometry const* DTTrigPhase2Prod::dtGeo_ |
Definition at line 107 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), and produce().
edm::ESGetToken<DTGeometry, MuonGeometryRecord> DTTrigPhase2Prod::dtGeomH |
Definition at line 108 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 120 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 125 of file DTTrigPhase2Prod.cc.
Referenced by beginRun().
|
private |
Definition at line 139 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 133 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 134 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 138 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 135 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 136 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 116 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 113 of file DTTrigPhase2Prod.cc.
std::vector<std::pair<int, MuonPath> > DTTrigPhase2Prod::primitives_ |
Definition at line 109 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 157 of file DTTrigPhase2Prod.cc.
Referenced by assignQualityOrder().
|
private |
Definition at line 150 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 129 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 123 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 143 of file DTTrigPhase2Prod.cc.
Referenced by processDigi().
|
private |
Definition at line 144 of file DTTrigPhase2Prod.cc.
Referenced by processDigi().
|
private |
Definition at line 151 of file DTTrigPhase2Prod.cc.
Referenced by produce().