#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 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::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) |
Protected Attributes inherited from DQMEDHarvester | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
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 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 192 of file ECALpedestalPCLHarvester.cc.
References channelStatus_, chStatusToExclude_, spr::find(), EcalCondObjectContainer< T >::find(), and EcalCondObjectContainer< T >::getMap().
Referenced by dqmEndJob().
|
private |
Definition at line 217 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(), diffTreeTool::diff, dqmDir_, dqmPlots(), entriesEB_, entriesEE_, EcalCondObjectContainer< T >::find(), g6g1Pedestals_, DQMStore::IGetter::get(), MonitorElement::getEntries(), MonitorElement::getMean(), 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 255 of file ECALpedestalPCLHarvester.cc.
References funct::abs(), DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DQMStore::IBooker::cd(), EBDetId::detIdFromDenseIndex(), EEDetId::detIdFromDenseIndex(), dqmDir_, entriesEB_, entriesEE_, MonitorElement::Fill(), cond::hash, EBDetId::ieta(), EBDetId::iphi(), isGood(), EEDetId::ix(), EEDetId::iy(), EBDetId::kSizeForDenseIndexing, EEDetId::kSizeForDenseIndexing, SiStripPI::mean, SiStripPI::rms, DQMStore::IBooker::setCurrentFolder(), and EEDetId::zside().
Referenced by dqmEndJob().
|
override |
Definition at line 175 of file ECALpedestalPCLHarvester.cc.
References channelStatus_, currentPedestals_, g6g1Pedestals_, edm::EventSetup::get(), labelG6G1_, and edm::ESHandle< T >::product().
|
static |
Definition at line 167 of file ECALpedestalPCLHarvester.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 205 of file ECALpedestalPCLHarvester.cc.
References channelStatus_, EcalCondObjectContainer< T >::end(), EcalCondObjectContainer< T >::find(), and EcalCondObjectContainer< T >::getMap().
Referenced by dqmPlots().
|
private |
Definition at line 50 of file ECALpedestalPCLHarvester.h.
Referenced by checkStatusCode(), endRun(), and isGood().
|
private |
Definition at line 61 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob(), and ECALpedestalPCLHarvester().
|
private |
Definition at line 55 of file ECALpedestalPCLHarvester.h.
Referenced by checkStatusCode(), and ECALpedestalPCLHarvester().
|
private |
Definition at line 48 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob(), and endRun().
|
private |
Definition at line 64 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob(), dqmPlots(), and ECALpedestalPCLHarvester().
|
private |
Definition at line 59 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob(), and dqmPlots().
|
private |
Definition at line 60 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob(), and dqmPlots().
|
private |
Definition at line 49 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob(), and endRun().
|
private |
Definition at line 65 of file ECALpedestalPCLHarvester.h.
Referenced by ECALpedestalPCLHarvester(), and endRun().
|
private |
Definition at line 56 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob(), and ECALpedestalPCLHarvester().
|
private |
Definition at line 62 of file ECALpedestalPCLHarvester.h.
Referenced by checkVariation(), and ECALpedestalPCLHarvester().
|
private |
Definition at line 68 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob(), and ECALpedestalPCLHarvester().
|
private |
Definition at line 66 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob(), and ECALpedestalPCLHarvester().
|
private |
Definition at line 67 of file ECALpedestalPCLHarvester.h.
Referenced by dqmEndJob(), and ECALpedestalPCLHarvester().
|
private |
Definition at line 63 of file ECALpedestalPCLHarvester.h.
Referenced by checkVariation(), and ECALpedestalPCLHarvester().