#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 EcalChannelStatus * | channelStatus_ |
bool | checkAnomalies_ |
std::vector< int > | chStatusToExclude_ |
const EcalPedestals * | currentPedestals_ |
std::string | dqmDir_ |
int | entriesEB_ [EBDetId::kSizeForDenseIndexing] |
int | entriesEE_ [EEDetId::kSizeForDenseIndexing] |
const EcalPedestals * | g6g1Pedestals_ |
std::string | labelG6G1_ |
int | minEntries_ |
double | nSigma_ |
float | threshChannelsAnalyzed_ |
float | threshDiffEB_ |
float | threshDiffEE_ |
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 | |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
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) |
template<Transition B> | |
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 (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (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) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Protected Attributes inherited from DQMEDHarvester | |
DQMStore * | dqmstore_ |
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 33 of file ECALpedestalPCLHarvester.h.
|
explicit |
Definition at line 18 of file ECALpedestalPCLHarvester.cc.
References checkAnomalies_, chStatusToExclude_, dqmDir_, edm::ParameterSet::getParameter(), labelG6G1_, minEntries_, nSigma_, AlCaHLTBitMon_QueryRunRegistry::string, threshChannelsAnalyzed_, threshDiffEB_, threshDiffEE_, and thresholdAnomalies_.
|
private |
Definition at line 171 of file ECALpedestalPCLHarvester.cc.
References channelStatus_, chStatusToExclude_, spr::find(), EcalCondObjectContainer< T >::find(), and EcalCondObjectContainer< T >::getMap().
Referenced by dqmEndJob().
|
private |
Definition at line 194 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::writeOne().
|
private |
Definition at line 224 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 channelStatus_, currentPedestals_, g6g1Pedestals_, edm::EventSetup::get(), get, labelG6G1_, and edm::ESHandle< T >::product().
|
static |
Definition at line 151 of file ECALpedestalPCLHarvester.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 183 of file ECALpedestalPCLHarvester.cc.
References channelStatus_, EcalCondObjectContainer< T >::end(), EcalCondObjectContainer< T >::find(), and EcalCondObjectContainer< T >::getMap().
Referenced by dqmPlots().
|
private |
Definition at line 46 of file ECALpedestalPCLHarvester.h.
Referenced by checkStatusCode(), endRun(), and isGood().
|
private |
Definition at line 56 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob(), and ECALpedestalPCLHarvester().
|
private |
Definition at line 51 of file ECALpedestalPCLHarvester.h.
Referenced by checkStatusCode(), and ECALpedestalPCLHarvester().
|
private |
Definition at line 44 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob(), and endRun().
|
private |
Definition at line 59 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob(), dqmPlots(), and ECALpedestalPCLHarvester().
|
private |
Definition at line 54 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob(), and dqmPlots().
|
private |
Definition at line 55 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob(), and dqmPlots().
|
private |
Definition at line 45 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob(), and endRun().
|
private |
Definition at line 60 of file ECALpedestalPCLHarvester.h.
Referenced by ECALpedestalPCLHarvester(), and endRun().
|
private |
Definition at line 52 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob(), and ECALpedestalPCLHarvester().
|
private |
Definition at line 57 of file ECALpedestalPCLHarvester.h.
Referenced by checkVariation(), and ECALpedestalPCLHarvester().
|
private |
Definition at line 63 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob(), and ECALpedestalPCLHarvester().
|
private |
Definition at line 61 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob(), and ECALpedestalPCLHarvester().
|
private |
Definition at line 62 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob(), and ECALpedestalPCLHarvester().
|
private |
Definition at line 58 of file ECALpedestalPCLHarvester.h.
Referenced by checkVariation(), and ECALpedestalPCLHarvester().