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 | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () 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 | debug_ |
bool | do_correlation_ |
double | dT0_correlate_TP_ |
edm::EDGetTokenT< DTDigiCollection > | dtDigisToken_ |
bool | dump_ |
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_ |
edm::FileInPath | shift_filename_ |
std::map< int, float > | shiftinfo_ |
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 63 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 64 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 66 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 65 of file DTTrigPhase2Prod.cc.
DTTrigPhase2Prod::DTTrigPhase2Prod | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 161 of file DTTrigPhase2Prod.cc.
|
override |
|
private |
Definition at line 608 of file DTTrigPhase2Prod.cc.
References assignIndexPerBX(), L1TStage2uGTEmulatorClient_cff::BX, funct::primitive(), and cmsdt::metaPrimitive::t0.
Referenced by produce().
|
private |
Definition at line 622 of file DTTrigPhase2Prod.cc.
References funct::abs(), assignQualityOrder(), and dqmiodatasetharvest::inf.
Referenced by assignIndex().
|
private |
Definition at line 655 of file DTTrigPhase2Prod.cc.
References qmap_, and cmsdt::metaPrimitive::quality.
Referenced by assignIndexPerBX().
|
override |
Create Trigger Units before starting event processing.
Definition at line 219 of file DTTrigPhase2Prod.cc.
References debug_, dtGeo_, dtGeomH, relativeConstraints::geom, edm::EventSetup::get(), grouping_obj_, edm::RunBase::id(), LogDebug, mpathanalyzer_, mpathassociator_, mpathqualityenhancer_, mpathredundantfilter_, and edm::RunID::run().
|
private |
Definition at line 662 of file DTTrigPhase2Prod.cc.
References processDigi().
Referenced by produce().
|
override |
endRun: finish things
Definition at line 552 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 566 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 561 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 573 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 583 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 681 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 235 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::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, contentValuesCheck::ss, cmsdt::Standard, DTChamberId::station(), DTLayerId::superlayerId(), useRPC_, and DTChamberId::wheel().
int DTTrigPhase2Prod::rango | ( | const metaPrimitive & | mp | ) | const |
Definition at line 600 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 135 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 127 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 112 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), produce(), and ~DTTrigPhase2Prod().
|
private |
Definition at line 115 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 114 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 123 of file DTTrigPhase2Prod.cc.
Referenced by produce().
DTGeometry const* DTTrigPhase2Prod::dtGeo_ |
Definition at line 100 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), and produce().
edm::ESGetToken<DTGeometry, MuonGeometryRecord> DTTrigPhase2Prod::dtGeomH |
Definition at line 101 of file DTTrigPhase2Prod.cc.
Referenced by beginRun().
|
private |
Definition at line 113 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 128 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 129 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 130 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 109 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 106 of file DTTrigPhase2Prod.cc.
std::vector<std::pair<int, MuonPath> > DTTrigPhase2Prod::primitives_ |
Definition at line 102 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 150 of file DTTrigPhase2Prod.cc.
Referenced by assignQualityOrder().
|
private |
Definition at line 143 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 124 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 116 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 119 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 120 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 136 of file DTTrigPhase2Prod.cc.
Referenced by processDigi().
|
private |
Definition at line 137 of file DTTrigPhase2Prod.cc.
Referenced by processDigi().
|
private |
Definition at line 144 of file DTTrigPhase2Prod.cc.
Referenced by produce().