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 | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
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 | cmssw_for_global_ |
bool | debug_ |
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<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Definition at line 66 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 67 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 69 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 68 of file DTTrigPhase2Prod.cc.
DTTrigPhase2Prod::DTTrigPhase2Prod | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 163 of file DTTrigPhase2Prod.cc.
|
override |
|
private |
Definition at line 646 of file DTTrigPhase2Prod.cc.
References assignIndexPerBX(), L1TStage2uGTEmulatorClient_cff::BX, funct::primitive(), and cmsdt::metaPrimitive::t0.
Referenced by produce().
|
private |
Definition at line 660 of file DTTrigPhase2Prod.cc.
References funct::abs(), assignQualityOrder(), and dqmiodatasetharvest::inf.
Referenced by assignIndex().
|
private |
Definition at line 693 of file DTTrigPhase2Prod.cc.
References qmap_, and cmsdt::metaPrimitive::quality.
Referenced by assignIndexPerBX().
|
override |
Create Trigger Units before starting event processing.
Definition at line 229 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 700 of file DTTrigPhase2Prod.cc.
References processDigi().
Referenced by produce().
|
override |
endRun: finish things
Definition at line 590 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 604 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 599 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 611 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 621 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 719 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 246 of file DTTrigPhase2Prod.cc.
References activateBuffer_, algo_, assignIndex(), DTSuperLayerId::chamberId(), DTGeometry::chambers(), cmsdt::CHI2RES_CONV, cmsdt::CHIGHQ, cscdqm::DATA, debug_, 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, 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 638 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 137 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 128 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 120 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 115 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), produce(), and ~DTTrigPhase2Prod().
|
private |
Definition at line 118 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 117 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 124 of file DTTrigPhase2Prod.cc.
Referenced by produce().
DTGeometry const* DTTrigPhase2Prod::dtGeo_ |
Definition at line 103 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), and produce().
edm::ESGetToken<DTGeometry, MuonGeometryRecord> DTTrigPhase2Prod::dtGeomH |
Definition at line 104 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 116 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 121 of file DTTrigPhase2Prod.cc.
Referenced by beginRun().
|
private |
Definition at line 134 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 129 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 130 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 133 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 131 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 132 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 112 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 109 of file DTTrigPhase2Prod.cc.
std::vector<std::pair<int, MuonPath> > DTTrigPhase2Prod::primitives_ |
Definition at line 105 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 152 of file DTTrigPhase2Prod.cc.
Referenced by assignQualityOrder().
|
private |
Definition at line 145 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 125 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 119 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 138 of file DTTrigPhase2Prod.cc.
Referenced by processDigi().
|
private |
Definition at line 139 of file DTTrigPhase2Prod.cc.
Referenced by processDigi().
|
private |
Definition at line 146 of file DTTrigPhase2Prod.cc.
Referenced by produce().