#include <DPGAnalysis/MuonTools/src/MuDTTPGPhiFlatTableProducer.cc>
Public Types | |
enum | TriggerTag { TriggerTag::TM_IN = 0, TriggerTag::TM_OUT, TriggerTag::BMTF_IN } |
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 |
Public Member Functions | |
MuDTTPGPhiFlatTableProducer (const edm::ParameterSet &) | |
Constructor. More... | |
Public Member Functions inherited from MuBaseFlatTableProducer | |
void | beginRun (const edm::Run &run, const edm::EventSetup &config) final |
Configure event setup for each run. More... | |
void | endRun (const edm::Run &, const edm::EventSetup &) final |
Empty, needed by interface. More... | |
MuBaseFlatTableProducer (const edm::ParameterSet &) | |
Constructor. More... | |
void | produce (edm::Event &, const edm::EventSetup &) final |
Fill ntuples event by event. 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 &) |
Fill descriptors. More... | |
Protected Member Functions | |
void | fillTable (edm::Event &) final |
Fill tree branches for a given event. More... | |
void | getFromES (const edm::Run &, const edm::EventSetup &) final |
Get info from the ES by run. More... | |
Protected Member Functions inherited from MuBaseFlatTableProducer | |
template<typename T > | |
void | addColumn (std::unique_ptr< nanoaod::FlatTable > &table, const std::string name, const std::vector< T > &vec, const std::string descr) |
virtual void | getFromES (const edm::EventSetup &environment) |
Get info from the ES for a given event. More... | |
Private Member Functions | |
TriggerTag | getTag (const edm::ParameterSet &) |
Helper function translating config parameter into TriggerTag. More... | |
Private Attributes | |
TriggerTag | m_tag |
nano_mu::EDTokenHandle< L1MuDTChambPhContainer > | m_token |
The trigger-primitive token. More... | |
nano_mu::DTTrigGeomUtils | m_trigGeomUtils |
The class to perform DT local trigger coordinate conversions. More... | |
Additional Inherited Members | |
Protected Attributes inherited from MuBaseFlatTableProducer | |
std::string | m_name |
The label name of the FlatTableProducer. More... | |
Static Protected Attributes inherited from MuBaseFlatTableProducer | |
static constexpr double | DEFAULT_DOUBLE_VAL {-999.0} |
Definition of default values for float variables. More... | |
static constexpr double | DEFAULT_DOUBLE_VAL_POS {-1.0} |
Definition of default values for positive float variables. More... | |
static constexpr int8_t | DEFAULT_INT8_VAL {-99} |
Definition of default values for int8 variables. More... | |
static constexpr int | DEFAULT_INT_VAL {-999} |
Definition of default values for int variables. More... | |
static constexpr int | DEFAULT_INT_VAL_POS {-1} |
Definition of default values for positive int variables. More... | |
Helper class : the Phase-1 local trigger FlatTableProducer for TwinMux in/out and BMTF in (the DataFormat is the same)
Definition at line 22 of file MuDTTPGPhiFlatTableProducer.cc.
|
strong |
Enumerator | |
---|---|
TM_IN | |
TM_OUT | |
BMTF_IN |
Definition at line 24 of file MuDTTPGPhiFlatTableProducer.cc.
MuDTTPGPhiFlatTableProducer::MuDTTPGPhiFlatTableProducer | ( | const edm::ParameterSet & | config | ) |
Constructor.
Definition at line 54 of file MuDTTPGPhiFlatTableProducer.cc.
|
static |
Fill descriptors.
Definition at line 62 of file MuDTTPGPhiFlatTableProducer.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
finalprotectedvirtual |
Fill tree branches for a given event.
Implements MuBaseFlatTableProducer.
Definition at line 77 of file MuDTTPGPhiFlatTableProducer.cc.
References MuBaseFlatTableProducer::addColumn(), BMTF_IN, nano_mu_digi_cff::bx, nano_mu::EDTokenHandle< T >::conditionalGet(), DeadROC_duringRun::dir, makeMEIFBenchmarkPlots::ev, MuBaseFlatTableProducer::m_name, m_tag, m_token, m_trigGeomUtils, eostools::move(), phi, nano_mu_local_reco_cff::posLoc_x, quality, nano_mu_digi_cff::sector, relativeConstraints::station, TableParser::table, TM_IN, TM_OUT, ClusterTask_cfi::trig, nano_mu::DTTrigGeomUtils::trigToReco(), makeMuonMisalignmentScenario::wheel, and x.
|
finalprotectedvirtual |
Get info from the ES by run.
Reimplemented from MuBaseFlatTableProducer.
Definition at line 73 of file MuDTTPGPhiFlatTableProducer.cc.
References reco_calib_source_client_cfg::environment, nano_mu::DTTrigGeomUtils::getFromES(), m_trigGeomUtils, and writedatasetfile::run.
|
private |
Helper function translating config parameter into TriggerTag.
Definition at line 186 of file MuDTTPGPhiFlatTableProducer.cc.
References BMTF_IN, AlCaHLTBitMon_QueryRunRegistry::string, makeGlobalPositionRcd_cfg::tag, TauJetAlgoParameters_cfi::tagName, TM_IN, and TM_OUT.
|
private |
Enum to activate "flavour-by-flavour" changes in the filling logic
Definition at line 42 of file MuDTTPGPhiFlatTableProducer.cc.
Referenced by fillTable().
|
private |
The trigger-primitive token.
Definition at line 45 of file MuDTTPGPhiFlatTableProducer.cc.
Referenced by fillTable().
|
private |
The class to perform DT local trigger coordinate conversions.
Definition at line 48 of file MuDTTPGPhiFlatTableProducer.cc.
Referenced by fillTable(), and getFromES().