Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &) |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | calibDb (DQMStore::IGetter &iGetter) |
void | calibJson (DQMStore::IGetter &iGetter) |
void | dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) override |
bool | getDbSampicChannel (DQMStore::IGetter &iGetter, int &db, int &sampic, int &channel, std::string ch_name, CTPPSDiamondDetId detid) |
Private Attributes | |
std::vector< CTPPSDiamondDetId > | detids_ |
const std::string | dqmDir_ |
edm::ESGetToken< CTPPSGeometry, VeryForwardRealGeometryRecord > | geomEsToken_ |
edm::ESHandle < PPSTimingCalibration > | hTimingCalib_ |
const std::string | jsonCalibFile_ |
const std::string | jsonOutputPath_ |
const unsigned int | min_entries_ |
edm::ESGetToken < PPSTimingCalibration, PPSTimingCalibrationRcd > | timingCalibrationToken_ |
Additional Inherited Members | |
Public Types inherited from DQMEDHarvester | |
typedef dqm::harvesting::DQMStore | DQMStore |
typedef dqm::harvesting::MonitorElement | MonitorElement |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::ProducerBase | |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Protected Attributes inherited from DQMEDHarvester | |
DQMStore * | dqmstore_ |
edm::GetterOfProducts< DQMToken > | jobmegetter_ |
edm::EDPutTokenT< DQMToken > | jobToken_ |
edm::GetterOfProducts< DQMToken > | lumimegetter_ |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::GetterOfProducts< DQMToken > | runmegetter_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
Description: Harvester of the DiamondSampic calibration which produces sqlite file with a new channel alignment
Implementation: [Notes on implementation]
Definition at line 45 of file PPSDiamondSampicTimingCalibrationPCLHarvester.cc.
PPSDiamondSampicTimingCalibrationPCLHarvester::PPSDiamondSampicTimingCalibrationPCLHarvester | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 68 of file PPSDiamondSampicTimingCalibrationPCLHarvester.cc.
References edm::ParameterSet::getParameter(), jsonCalibFile_, AlCaHLTBitMon_QueryRunRegistry::string, and timingCalibrationToken_.
|
override |
Definition at line 82 of file PPSDiamondSampicTimingCalibrationPCLHarvester.cc.
References CTPPSDiamondDetId::check(), detids_, relativeConstraints::geom, geomEsToken_, edm::EventSetup::getData(), edm::EventSetup::getHandle(), hTimingCalib_, jsonCalibFile_, and timingCalibrationToken_.
|
private |
Definition at line 187 of file PPSDiamondSampicTimingCalibrationPCLHarvester.cc.
References PPSTimingCalibration::Key::cell, PPSTimingCalibration::Key::channel, cond::service::PoolDBOutputService::currentTime(), PPSTimingCalibration::Key::db, EcalCondDB::db, detids_, dqmDir_, EcalElecEmulTccOnlyExample_cfg::formula, PPSTimingCalibration::formula(), dqm::implementation::IGetter::get(), getDbSampicChannel(), hTimingCalib_, submitPVResolutionJobs::key, min_entries_, CTPPSDetId::nPath, PPSTimingCalibration::parameters(), submitPVValidationJobs::params, fed_dqm_sourceclient-live_cfg::path, AlCaHarvesting_cff::PPSTimingCalibration, PPSTimingCalibration::Key::sampic, AlCaHLTBitMon_QueryRunRegistry::string, PPSTimingCalibration::timeOffset(), PPSTimingCalibration::timePrecision(), and cond::service::PoolDBOutputService::writeOneIOV().
Referenced by dqmEndJob().
|
private |
Definition at line 128 of file PPSDiamondSampicTimingCalibrationPCLHarvester.cc.
References EcalCondDB::db, detids_, dqmDir_, EcalElecEmulTccOnlyExample_cfg::formula, dqm::implementation::IGetter::get(), getDbSampicChannel(), jsonCalibFile_, jsonOutputPath_, min_entries_, CTPPSDetId::nPath, fed_dqm_sourceclient-live_cfg::path, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dqmEndJob().
|
overrideprivatevirtual |
Implements DQMEDHarvester.
Definition at line 265 of file PPSDiamondSampicTimingCalibrationPCLHarvester.cc.
References calibDb(), calibJson(), dqm::implementation::NavigatorBase::cd(), dqmDir_, jsonCalibFile_, and dqm::implementation::NavigatorBase::setCurrentFolder().
|
static |
Definition at line 276 of file PPSDiamondSampicTimingCalibrationPCLHarvester.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 96 of file PPSDiamondSampicTimingCalibrationPCLHarvester.cc.
References dqm::implementation::IGetter::get().
Referenced by calibDb(), and calibJson().
|
private |
Definition at line 60 of file PPSDiamondSampicTimingCalibrationPCLHarvester.cc.
Referenced by beginRun(), calibDb(), and calibJson().
|
private |
Definition at line 61 of file PPSDiamondSampicTimingCalibrationPCLHarvester.cc.
Referenced by calibDb(), calibJson(), and dqmEndJob().
|
private |
Definition at line 57 of file PPSDiamondSampicTimingCalibrationPCLHarvester.cc.
Referenced by beginRun().
|
private |
Definition at line 59 of file PPSDiamondSampicTimingCalibrationPCLHarvester.cc.
Referenced by beginRun(), and calibDb().
|
private |
Definition at line 63 of file PPSDiamondSampicTimingCalibrationPCLHarvester.cc.
Referenced by beginRun(), calibJson(), dqmEndJob(), and PPSDiamondSampicTimingCalibrationPCLHarvester().
|
private |
Definition at line 63 of file PPSDiamondSampicTimingCalibrationPCLHarvester.cc.
Referenced by calibJson().
|
private |
Definition at line 62 of file PPSDiamondSampicTimingCalibrationPCLHarvester.cc.
Referenced by calibDb(), and calibJson().
|
private |
Definition at line 58 of file PPSDiamondSampicTimingCalibrationPCLHarvester.cc.
Referenced by beginRun(), and PPSDiamondSampicTimingCalibrationPCLHarvester().