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 | |
template<typename T > | |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
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 | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
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 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 () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
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_, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, jsonCalibFile_, and timingCalibrationToken_.
|
private |
Definition at line 187 of file PPSDiamondSampicTimingCalibrationPCLHarvester.cc.
References cond::service::PoolDBOutputService::currentTime(), dqmiodatasetharvest::db, detids_, dqmDir_, pfMETCorrectionType0_cfi::formula, dqm::implementation::IGetter::get(), getDbSampicChannel(), hTimingCalib_, submitPVResolutionJobs::key, min_entries_, CTPPSDetId::nPath, submitPVValidationJobs::params, castor_dqm_sourceclient_file_cfg::path, AlCaHarvesting_cff::PPSTimingCalibration, AlCaHLTBitMon_QueryRunRegistry::string, simBeamSpotPI::timeOffset, and cond::service::PoolDBOutputService::writeOneIOV().
Referenced by dqmEndJob().
|
private |
Definition at line 128 of file PPSDiamondSampicTimingCalibrationPCLHarvester.cc.
References dqmiodatasetharvest::db, detids_, dqmDir_, pfMETCorrectionType0_cfi::formula, dqm::implementation::IGetter::get(), getDbSampicChannel(), jsonCalibFile_, jsonOutputPath_, min_entries_, CTPPSDetId::nPath, castor_dqm_sourceclient_file_cfg::path, AlCaHLTBitMon_QueryRunRegistry::string, and to_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(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 96 of file PPSDiamondSampicTimingCalibrationPCLHarvester.cc.
References dqmiodatasetharvest::db, dqm::implementation::IGetter::get(), and castor_dqm_sourceclient_file_cfg::path.
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().