#include <ECALpedestalPCLHarvester.h>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
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 | |
bool | checkStatusCode (const DetId &id) |
bool | checkVariation (const EcalPedestalsMap &oldPedestals, const EcalPedestalsMap &newPedestals) |
void | dqmEndJob (DQMStore::IBooker &ibooker_, DQMStore::IGetter &igetter_) override |
void | dqmPlots (const EcalPedestals &newpeds, DQMStore::IBooker &ibooker) |
bool | isGood (const DetId &id) |
Private Attributes | |
const edm::ESGetToken < EcalChannelStatus, EcalChannelStatusRcd > | channelsStatusToken_ |
const EcalChannelStatus * | channelStatus_ |
const bool | checkAnomalies_ |
std::vector< int > | chStatusToExclude_ |
const EcalPedestals * | currentPedestals_ |
const std::string | dqmDir_ |
int | entriesEB_ [EBDetId::kSizeForDenseIndexing] |
int | entriesEE_ [EEDetId::kSizeForDenseIndexing] |
const EcalPedestals * | g6g1Pedestals_ |
const edm::ESGetToken < EcalPedestals, EcalPedestalsRcd > | g6g1PedestalsToken_ |
const std::string | labelG6G1_ |
const int | minEntries_ |
const double | nSigma_ |
const edm::ESGetToken < EcalPedestals, EcalPedestalsRcd > | pedestalsToken_ |
const float | threshChannelsAnalyzed_ |
const float | threshDiffEB_ |
const float | threshDiffEE_ |
const double | thresholdAnomalies_ |
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: Fill DQM histograms with pedestals. Intended to be used on laser data from the TestEnablesEcalHcal dataset
Definition at line 35 of file ECALpedestalPCLHarvester.h.
|
explicit |
Definition at line 13 of file ECALpedestalPCLHarvester.cc.
References chStatusToExclude_, and edm::ParameterSet::getParameter().
|
private |
Definition at line 163 of file ECALpedestalPCLHarvester.cc.
References channelStatus_, chStatusToExclude_, spr::find(), EcalCondObjectContainer< T >::find(), and EcalCondObjectContainer< T >::getMap().
Referenced by dqmEndJob().
|
private |
Definition at line 186 of file ECALpedestalPCLHarvester.cc.
References funct::abs(), EBDetId::detIdFromDenseIndex(), EEDetId::detIdFromDenseIndex(), EcalCondObjectContainer< T >::find(), mps_fire::i, EBDetId::kSizeForDenseIndexing, EEDetId::kSizeForDenseIndexing, EcalPedestal::mean_x12, nSigma_, EcalPedestal::rms_x12, and thresholdAnomalies_.
Referenced by dqmEndJob().
|
overrideprivatevirtual |
Implements DQMEDHarvester.
Definition at line 33 of file ECALpedestalPCLHarvester.cc.
References funct::abs(), checkAnomalies_, checkStatusCode(), checkVariation(), currentPedestals_, cond::service::PoolDBOutputService::currentTime(), EBDetId::detIdFromDenseIndex(), EEDetId::detIdFromDenseIndex(), change_name::diff, dqmDir_, dqmPlots(), entriesEB_, entriesEE_, EcalCondObjectContainer< T >::find(), g6g1Pedestals_, dqm::implementation::IGetter::get(), dqm::impl::MonitorElement::getEntries(), dqm::impl::MonitorElement::getMean(), dqm::impl::MonitorElement::getRMS(), mps_fire::i, edm::Service< T >::isAvailable(), EBDetId::kSizeForDenseIndexing, EEDetId::kSizeForDenseIndexing, SiStripPI::mean, EcalPedestal::mean_x1, EcalPedestal::mean_x12, EcalPedestal::mean_x6, minEntries_, SiStripPI::rms, EcalPedestal::rms_x1, EcalPedestal::rms_x12, EcalPedestal::rms_x6, EcalCondObjectContainer< T >::setValue(), AlCaHLTBitMon_QueryRunRegistry::string, threshChannelsAnalyzed_, threshDiffEB_, threshDiffEE_, and cond::service::PoolDBOutputService::writeOneIOV().
|
private |
Definition at line 216 of file ECALpedestalPCLHarvester.cc.
References funct::abs(), dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), dqm::implementation::NavigatorBase::cd(), EBDetId::detIdFromDenseIndex(), EEDetId::detIdFromDenseIndex(), dqmDir_, entriesEB_, entriesEE_, dqm::impl::MonitorElement::Fill(), cond::hash, EBDetId::ieta(), EBDetId::iphi(), isGood(), EEDetId::ix(), EEDetId::iy(), EBDetId::kSizeForDenseIndexing, EEDetId::kSizeForDenseIndexing, SiStripPI::mean, SiStripPI::rms, dqm::implementation::NavigatorBase::setCurrentFolder(), and EEDetId::zside().
Referenced by dqmEndJob().
|
override |
Definition at line 157 of file ECALpedestalPCLHarvester.cc.
References channelsStatusToken_, channelStatus_, currentPedestals_, g6g1Pedestals_, g6g1PedestalsToken_, edm::EventSetup::getData(), and pedestalsToken_.
|
static |
Definition at line 151 of file ECALpedestalPCLHarvester.cc.
References edm::ConfigurationDescriptions::addDefault(), submitPVResolutionJobs::desc, and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 175 of file ECALpedestalPCLHarvester.cc.
References channelStatus_, EcalCondObjectContainer< T >::end(), EcalCondObjectContainer< T >::find(), and EcalCondObjectContainer< T >::getMap().
Referenced by dqmPlots().
|
private |
Definition at line 65 of file ECALpedestalPCLHarvester.h.
Referenced by endRun().
|
private |
Definition at line 71 of file ECALpedestalPCLHarvester.h.
Referenced by checkStatusCode(), endRun(), and isGood().
|
private |
Definition at line 55 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob().
|
private |
Definition at line 50 of file ECALpedestalPCLHarvester.h.
Referenced by checkStatusCode(), and ECALpedestalPCLHarvester().
|
private |
Definition at line 69 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob(), and endRun().
|
private |
Definition at line 58 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob(), and dqmPlots().
|
private |
Definition at line 53 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob(), and dqmPlots().
|
private |
Definition at line 54 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob(), and dqmPlots().
|
private |
Definition at line 70 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob(), and endRun().
|
private |
Definition at line 67 of file ECALpedestalPCLHarvester.h.
Referenced by endRun().
|
private |
Definition at line 59 of file ECALpedestalPCLHarvester.h.
|
private |
Definition at line 51 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob().
|
private |
Definition at line 56 of file ECALpedestalPCLHarvester.h.
Referenced by checkVariation().
|
private |
Definition at line 66 of file ECALpedestalPCLHarvester.h.
Referenced by endRun().
|
private |
Definition at line 62 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob().
|
private |
Definition at line 60 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob().
|
private |
Definition at line 61 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob().
|
private |
Definition at line 57 of file ECALpedestalPCLHarvester.h.
Referenced by checkVariation().