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 |
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) |
Private Attributes | |
bool | activateBuffer_ |
int | algo_ |
bool | debug_ |
int | df_extended_ |
double | dT0_correlate_TP_ |
edm::EDGetTokenT< DTDigiCollection > | dtDigisToken_ |
bool | dump_ |
std::shared_ptr< GlobalCoordsObtainer > | globalcoordsobtainer_ |
std::unique_ptr< MotherGrouping > | grouping_obj_ |
int | max_index_ |
std::unique_ptr< MuonPathAnalyzer > | mpathanalyzer_ |
std::unique_ptr< MuonPathAssociator > | mpathassociator_ |
std::unique_ptr< MPFilter > | mpathhitsfilter_ |
std::unique_ptr< MPFilter > | mpathqualityenhancer_ |
std::unique_ptr< MPFilter > | mpathqualityenhancerbayes_ |
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 72 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 73 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 75 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 74 of file DTTrigPhase2Prod.cc.
DTTrigPhase2Prod::DTTrigPhase2Prod | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 172 of file DTTrigPhase2Prod.cc.
|
override |
|
private |
Definition at line 775 of file DTTrigPhase2Prod.cc.
References assignIndexPerBX(), L1TStage2uGTEmulatorClient_cff::BX, max_index_, funct::primitive(), and cmsdt::metaPrimitive::t0.
Referenced by produce().
|
private |
Definition at line 790 of file DTTrigPhase2Prod.cc.
References funct::abs(), assignQualityOrder(), and dqmiodatasetharvest::inf.
Referenced by assignIndex().
|
private |
Definition at line 823 of file DTTrigPhase2Prod.cc.
References qmap_, and cmsdt::metaPrimitive::quality.
Referenced by assignIndexPerBX().
|
override |
Create Trigger Units before starting event processing.
Definition at line 239 of file DTTrigPhase2Prod.cc.
References debug_, dtGeo_, dtGeomH, relativeConstraints::geom, edm::EventSetup::getHandle(), grouping_obj_, edm::RunBase::id(), LogDebug, mpathanalyzer_, mpathassociator_, mpathhitsfilter_, mpathqualityenhancer_, mpathqualityenhancerbayes_, mpathredundantfilter_, and edm::RunID::run().
|
private |
Definition at line 830 of file DTTrigPhase2Prod.cc.
References processDigi().
Referenced by produce().
|
override |
endRun: finish things
Definition at line 717 of file DTTrigPhase2Prod.cc.
References grouping_obj_, mpathanalyzer_, mpathassociator_, mpathhitsfilter_, mpathqualityenhancer_, mpathqualityenhancerbayes_, mpathredundantfilter_, and rpc_integrator_.
|
static |
Definition at line 879 of file DTTrigPhase2Prod.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), submitPVResolutionJobs::desc, and HLT_2022v15_cff::InputTag.
MP_QUALITY DTTrigPhase2Prod::getMinimumQuality | ( | void | ) |
bool DTTrigPhase2Prod::hasPosRF | ( | int | wh, |
int | sec | ||
) | const |
bool DTTrigPhase2Prod::inner | ( | const metaPrimitive & | mp | ) | const |
Definition at line 733 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 728 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 740 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 750 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 849 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 258 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_, mpathhitsfilter_, mpathqualityenhancer_, mpathredundantfilter_, cmsdt::PHIBRES_CONV, cmsdt::PHIRES_CONV, printmP(), printmPC(), FastTimerService_cff::range, rpc_integrator_, rpcRecHits_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 767 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 146 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 135 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 123 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), produce(), and ~DTTrigPhase2Prod().
|
private |
Definition at line 127 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 125 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 131 of file DTTrigPhase2Prod.cc.
Referenced by produce().
const DTGeometry* DTTrigPhase2Prod::dtGeo_ |
Definition at line 111 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), and produce().
edm::ESGetToken<DTGeometry, MuonGeometryRecord> DTTrigPhase2Prod::dtGeomH |
Definition at line 112 of file DTTrigPhase2Prod.cc.
Referenced by beginRun().
|
private |
Definition at line 124 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 143 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 136 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 128 of file DTTrigPhase2Prod.cc.
Referenced by assignIndex().
|
private |
Definition at line 137 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 142 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 141 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 139 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), and endRun().
|
private |
Definition at line 140 of file DTTrigPhase2Prod.cc.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 120 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 117 of file DTTrigPhase2Prod.cc.
std::vector<std::pair<int, MuonPath> > DTTrigPhase2Prod::primitives_ |
Definition at line 113 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 161 of file DTTrigPhase2Prod.cc.
Referenced by assignQualityOrder().
|
private |
Definition at line 154 of file DTTrigPhase2Prod.cc.
|
private |
Definition at line 132 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 126 of file DTTrigPhase2Prod.cc.
Referenced by produce().
|
private |
Definition at line 147 of file DTTrigPhase2Prod.cc.
Referenced by processDigi().
|
private |
Definition at line 148 of file DTTrigPhase2Prod.cc.
Referenced by processDigi().
|
private |
Definition at line 155 of file DTTrigPhase2Prod.cc.
Referenced by produce().