#include <DPGAnalysis/MuonTools/plugins/MuDTTPGThetaFlatTableProducer.cc>
Public Types | |
enum | TriggerTag { TriggerTag::TM_IN = 0, 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 | |
MuDTTPGThetaFlatTableProducer (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 events. 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::Run &run, const edm::EventSetup &environment) |
Get info from the ES by run. More... | |
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< L1MuDTChambThContainer > | m_token |
The trigger-primitive token. 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 21 of file MuDTTPGThetaFlatTableProducer.cc.
|
strong |
Enumerator | |
---|---|
TM_IN | |
BMTF_IN |
Definition at line 23 of file MuDTTPGThetaFlatTableProducer.cc.
MuDTTPGThetaFlatTableProducer::MuDTTPGThetaFlatTableProducer | ( | const edm::ParameterSet & | config | ) |
Constructor.
Definition at line 47 of file MuDTTPGThetaFlatTableProducer.cc.
|
static |
Fill descriptors.
Definition at line 52 of file MuDTTPGThetaFlatTableProducer.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
finalprotectedvirtual |
Fill tree branches for a given events.
Implements MuBaseFlatTableProducer.
Definition at line 63 of file MuDTTPGThetaFlatTableProducer.cc.
References MuBaseFlatTableProducer::addColumn(), BMTF_IN, nano_mu_digi_cff::bx, nano_mu::EDTokenHandle< T >::conditionalGet(), makeMEIFBenchmarkPlots::ev, MuBaseFlatTableProducer::m_name, m_tag, m_token, eostools::move(), nano_mu_digi_cff::sector, relativeConstraints::station, TableParser::table, ClusterTask_cfi::trig, makeMuonMisalignmentScenario::wheel, and testProducerWithPsetDescEmpty_cfi::x1.
|
private |
Helper function translating config parameter into TriggerTag.
Definition at line 137 of file MuDTTPGThetaFlatTableProducer.cc.
References BMTF_IN, AlCaHLTBitMon_QueryRunRegistry::string, makeGlobalPositionRcd_cfg::tag, dcs_print_summary_cfg::tagName, and TM_IN.
|
private |
Enum to activate "flavour-by-flavour" changes in the filling logic
Definition at line 38 of file MuDTTPGThetaFlatTableProducer.cc.
Referenced by fillTable().
|
private |
The trigger-primitive token.
Definition at line 41 of file MuDTTPGThetaFlatTableProducer.cc.
Referenced by fillTable().