#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) |
virtual void | dqmEndJob (DQMStore::IBooker &ibooker_, DQMStore::IGetter &igetter_) |
Private Attributes | |
const EcalChannelStatus * | channelStatus_ |
bool | checkAnomalies_ |
std::vector< int > | chStatusToExclude_ |
const EcalPedestals * | currentPedestals_ |
std::string | dqmDir_ |
int | minEntries_ |
double | nSigma_ |
double | thresholdAnomalies_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 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) |
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 20 of file ECALpedestalPCLHarvester.cc.
References checkAnomalies_, chStatusToExclude_, dqmDir_, edm::ParameterSet::getParameter(), minEntries_, nSigma_, AlCaHLTBitMon_QueryRunRegistry::string, and thresholdAnomalies_.
|
private |
Definition at line 143 of file ECALpedestalPCLHarvester.cc.
References channelStatus_, chStatusToExclude_, spr::find(), EcalCondObjectContainer< T >::find(), and EcalCondObjectContainer< T >::getMap().
Referenced by dqmEndJob().
|
private |
Definition at line 157 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().
|
privatevirtual |
Implements DQMEDHarvester.
Definition at line 31 of file ECALpedestalPCLHarvester.cc.
References checkAnomalies_, checkStatusCode(), checkVariation(), currentPedestals_, cond::service::PoolDBOutputService::currentTime(), EBDetId::detIdFromDenseIndex(), EEDetId::detIdFromDenseIndex(), dqmDir_, EcalCondObjectContainer< T >::find(), DQMStore::IGetter::get(), MonitorElement::getEntries(), MonitorElement::getMean(), MonitorElement::getRMS(), mps_fire::i, edm::Service< T >::isAvailable(), EBDetId::kSizeForDenseIndexing, EEDetId::kSizeForDenseIndexing, RecoTauDiscriminantConfiguration::mean, EcalPedestal::mean_x1, EcalPedestal::mean_x12, EcalPedestal::mean_x6, minEntries_, RecoTauDiscriminantConfiguration::rms, EcalPedestal::rms_x1, EcalPedestal::rms_x12, EcalPedestal::rms_x6, EcalCondObjectContainer< T >::setValue(), AlCaHLTBitMon_QueryRunRegistry::string, and cond::service::PoolDBOutputService::writeOne().
|
virtual |
Reimplemented from DQMEDHarvester.
Definition at line 130 of file ECALpedestalPCLHarvester.cc.
References channelStatus_, currentPedestals_, edm::EventSetup::get(), and edm::ESHandle< T >::product().
|
static |
Definition at line 122 of file ECALpedestalPCLHarvester.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 44 of file ECALpedestalPCLHarvester.h.
Referenced by checkStatusCode(), and endRun().
|
private |
Definition at line 50 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob(), and ECALpedestalPCLHarvester().
|
private |
Definition at line 47 of file ECALpedestalPCLHarvester.h.
Referenced by checkStatusCode(), and ECALpedestalPCLHarvester().
|
private |
Definition at line 43 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob(), and endRun().
|
private |
Definition at line 53 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob(), and ECALpedestalPCLHarvester().
|
private |
Definition at line 48 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob(), and ECALpedestalPCLHarvester().
|
private |
Definition at line 51 of file ECALpedestalPCLHarvester.h.
Referenced by checkVariation(), and ECALpedestalPCLHarvester().
|
private |
Definition at line 52 of file ECALpedestalPCLHarvester.h.
Referenced by checkVariation(), and ECALpedestalPCLHarvester().