Public Member Functions | |
MuDTSegmentExtTableProducer (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... | |
void | getFromES (const edm::EventSetup &) final |
Get info from the ES for a given event. 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) |
Private Attributes | |
nano_mu::ESTokenHandle< DTGeometry, MuonGeometryRecord, edm::Transition::BeginRun > | m_dtGeometry |
DT Geometry. More... | |
std::unique_ptr< DTTTrigBaseSync > | m_dtSync |
Handle DT trigger time pedestals. More... | |
bool | m_fillExtr |
Fill segment extrapolation table. More... | |
bool | m_fillHits |
Fill rec-hit table. More... | |
nano_mu::EDTokenHandle< DTRecSegment4DCollection > | m_token |
The segment token. More... | |
nano_mu::ESTokenHandle< GlobalTrackingGeometry, GlobalTrackingGeometryRecord > | m_trackingGeometry |
Tracking Geometry. More... | |
Static Private Attributes | |
static const int | FIRST_LAYER {1} |
static const int | LAST_LAYER {4} |
static const int | THETA_SL {2} |
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 |
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 segment TableProducer for Phase-1 / Phase2 segments (the DataFormat is the same)
Definition at line 32 of file MuDTSegmentExtTableProducer.cc.
MuDTSegmentExtTableProducer::MuDTSegmentExtTableProducer | ( | const edm::ParameterSet & | config | ) |
Constructor.
Definition at line 73 of file MuDTSegmentExtTableProducer.cc.
|
static |
Fill descriptors.
Definition at line 93 of file MuDTSegmentExtTableProducer.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
finalprotectedvirtual |
Fill tree branches for a given event.
Implements MuBaseFlatTableProducer.
Definition at line 130 of file MuDTSegmentExtTableProducer.cc.
References MuBaseFlatTableProducer::addColumn(), anyDirection, DTGeometry::chamber(), nano_mu::EDTokenHandle< T >::conditionalGet(), MuBaseFlatTableProducer::DEFAULT_DOUBLE_VAL, MuBaseFlatTableProducer::DEFAULT_INT_VAL_POS, DeadROC_duringRun::dir, makeMEIFBenchmarkPlots::ev, FIRST_LAYER, GlobalTrackingGeometry::idToDet(), LAST_LAYER, nano_mu_digi_cff::layer, DTGeometry::layer(), m_dtGeometry, m_dtSync, m_fillExtr, m_fillHits, MuBaseFlatTableProducer::m_name, m_token, m_trackingGeometry, eostools::move(), nHits, GeomDet::position(), FastTimerService_cff::range, rpcPointValidation_cfi::recHit, FastTrackerRecHitMaskProducer_cfi::recHits, nano_mu_digi_cff::sector, findQualityFiles::size, DTRecSegment2D::specificRecHits(), relativeConstraints::station, summarizeEdmComparisonLogfiles::success, TableParser::table, THETA_SL, dttriganalyzer_cfi::tTrig, trackerHitRTTI::vector, makeMuonMisalignmentScenario::wheel, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
finalprotectedvirtual |
Get info from the ES by run.
Reimplemented from MuBaseFlatTableProducer.
Definition at line 121 of file MuDTSegmentExtTableProducer.cc.
References reco_calib_source_client_cfg::environment, nano_mu::ESTokenHandle< T, R, TR >::getFromES(), and m_dtGeometry.
|
finalprotectedvirtual |
Get info from the ES for a given event.
Reimplemented from MuBaseFlatTableProducer.
Definition at line 125 of file MuDTSegmentExtTableProducer.cc.
References reco_calib_source_client_cfg::environment, nano_mu::ESTokenHandle< T, R, TR >::getFromES(), m_dtSync, and m_trackingGeometry.
|
staticprivate |
Definition at line 51 of file MuDTSegmentExtTableProducer.cc.
Referenced by fillTable().
|
staticprivate |
Definition at line 52 of file MuDTSegmentExtTableProducer.cc.
Referenced by fillTable().
|
private |
DT Geometry.
Definition at line 64 of file MuDTSegmentExtTableProducer.cc.
Referenced by fillTable(), and getFromES().
|
private |
Handle DT trigger time pedestals.
Definition at line 70 of file MuDTSegmentExtTableProducer.cc.
Referenced by fillTable(), and getFromES().
|
private |
Fill segment extrapolation table.
Definition at line 61 of file MuDTSegmentExtTableProducer.cc.
Referenced by fillTable().
|
private |
Fill rec-hit table.
Definition at line 58 of file MuDTSegmentExtTableProducer.cc.
Referenced by fillTable().
|
private |
The segment token.
Definition at line 55 of file MuDTSegmentExtTableProducer.cc.
Referenced by fillTable().
|
private |
Tracking Geometry.
Definition at line 67 of file MuDTSegmentExtTableProducer.cc.
Referenced by fillTable(), and getFromES().
|
staticprivate |
Definition at line 53 of file MuDTSegmentExtTableProducer.cc.
Referenced by fillTable().