#include <EcalEndcapDigisValidation.h>
Protected Member Functions | |
void | analyze (edm::Event const &e, edm::EventSetup const &c) |
Analyze. More... | |
void | beginRun (edm::Run const &, edm::EventSetup const &c) |
void | checkCalibrations (edm::EventSetup const &c) |
void | endJob (void) |
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) |
Private Types | |
typedef std::map< uint32_t, float, std::less< uint32_t > > | MapType |
Private Attributes | |
double | barrelADCtoGeV_ |
DQMStore * | dbe_ |
edm::EDGetTokenT < EEDigiCollection > | EEdigiCollectionToken_ |
double | endcapADCtoGeV_ |
std::map< int, double, std::less< int > > | gainConv_ |
MonitorElement * | meEEDigiADCAnalog_ [10] |
MonitorElement * | meEEDigiADCg12_ [10] |
MonitorElement * | meEEDigiADCg1_ [10] |
MonitorElement * | meEEDigiADCg6_ [10] |
MonitorElement * | meEEDigiADCGlobal_ |
MonitorElement * | meEEDigiADCgS_ [10] |
MonitorElement * | meEEDigiGain_ [10] |
MonitorElement * | meEEDigiMultiplicityzm_ |
MonitorElement * | meEEDigiMultiplicityzp_ |
MonitorElement * | meEEDigiOccupancyzm_ |
MonitorElement * | meEEDigiOccupancyzp_ |
MonitorElement * | meEEMaximumgt100ADC_ |
MonitorElement * | meEEMaximumgt20ADC_ |
MonitorElement * | meEEnADCafterSwitch_ |
MonitorElement * | meEEPedestal_ |
std::string | outputFile_ |
bool | verbose_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Definition at line 34 of file EcalEndcapDigisValidation.h.
|
private |
Definition at line 36 of file EcalEndcapDigisValidation.h.
EcalEndcapDigisValidation::EcalEndcapDigisValidation | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 15 of file EcalEndcapDigisValidation.cc.
References barrelADCtoGeV_, dbe_, endcapADCtoGeV_, gainConv_, edm::ParameterSet::getUntrackedParameter(), timingPdfMaker::histo, i, meEEDigiADCAnalog_, meEEDigiADCg12_, meEEDigiADCg1_, meEEDigiADCg6_, meEEDigiADCGlobal_, meEEDigiADCgS_, meEEDigiGain_, meEEDigiMultiplicityzm_, meEEDigiMultiplicityzp_, meEEDigiOccupancyzm_, meEEDigiOccupancyzp_, meEEMaximumgt100ADC_, meEEMaximumgt20ADC_, meEEnADCafterSwitch_, meEEPedestal_, cppFunctionSkipper::operator, and verbose_.
EcalEndcapDigisValidation::~EcalEndcapDigisValidation | ( | ) |
|
protectedvirtual |
Analyze.
Implements edm::EDAnalyzer.
Definition at line 143 of file EcalEndcapDigisValidation.cc.
References EcalMGPASample::adc(), EEdigiCollectionToken_, endcapADCtoGeV_, MonitorElement::Fill(), gainConv_, EcalMGPASample::gainId(), edm::Event::getByToken(), i, EEDataFrame::id(), edm::HandleBase::isValid(), EEDetId::ix(), EEDetId::iy(), LogDebug, EcalDataFrame::MAXSAMPLES, meEEDigiADCAnalog_, meEEDigiADCg12_, meEEDigiADCg1_, meEEDigiADCg6_, meEEDigiADCGlobal_, meEEDigiADCgS_, meEEDigiGain_, meEEDigiMultiplicityzm_, meEEDigiMultiplicityzp_, meEEDigiOccupancyzm_, meEEDigiOccupancyzp_, meEEMaximumgt100ADC_, meEEMaximumgt20ADC_, meEEnADCafterSwitch_, meEEPedestal_, ecalTB2006H4_GenSimDigiReco_cfg::mySample, edm::Handle< T >::product(), DetId::rawId(), compare_using_db::sample, EcalDataFrame::size(), and EEDetId::zside().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 133 of file EcalEndcapDigisValidation.cc.
References checkCalibrations().
|
protected |
Definition at line 273 of file EcalEndcapDigisValidation.cc.
References barrelADCtoGeV_, endcapADCtoGeV_, EcalMGPAGainRatio::gain12Over6(), EcalMGPAGainRatio::gain6Over1(), gainConv_, edm::EventSetup::get(), EcalADCToGeVConstant::getEBValue(), EcalADCToGeVConstant::getEEValue(), LogDebug, and edm::ESHandle< class >::product().
Referenced by beginRun().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 139 of file EcalEndcapDigisValidation.cc.
|
private |
Definition at line 72 of file EcalEndcapDigisValidation.h.
Referenced by checkCalibrations(), and EcalEndcapDigisValidation().
|
private |
Definition at line 64 of file EcalEndcapDigisValidation.h.
Referenced by EcalEndcapDigisValidation().
|
private |
Definition at line 68 of file EcalEndcapDigisValidation.h.
Referenced by analyze().
|
private |
Definition at line 73 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), checkCalibrations(), and EcalEndcapDigisValidation().
|
private |
Definition at line 70 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), checkCalibrations(), and EcalEndcapDigisValidation().
|
private |
Definition at line 83 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), and EcalEndcapDigisValidation().
|
private |
Definition at line 88 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), and EcalEndcapDigisValidation().
|
private |
Definition at line 86 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), and EcalEndcapDigisValidation().
|
private |
Definition at line 87 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), and EcalEndcapDigisValidation().
|
private |
Definition at line 81 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), and EcalEndcapDigisValidation().
|
private |
Definition at line 85 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), and EcalEndcapDigisValidation().
|
private |
Definition at line 90 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), and EcalEndcapDigisValidation().
|
private |
Definition at line 79 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), and EcalEndcapDigisValidation().
|
private |
Definition at line 78 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), and EcalEndcapDigisValidation().
|
private |
Definition at line 76 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), and EcalEndcapDigisValidation().
|
private |
Definition at line 75 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), and EcalEndcapDigisValidation().
|
private |
Definition at line 94 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), and EcalEndcapDigisValidation().
|
private |
Definition at line 96 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), and EcalEndcapDigisValidation().
|
private |
Definition at line 98 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), and EcalEndcapDigisValidation().
|
private |
Definition at line 92 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), and EcalEndcapDigisValidation().
|
private |
Definition at line 66 of file EcalEndcapDigisValidation.h.
|
private |
Definition at line 62 of file EcalEndcapDigisValidation.h.
Referenced by EcalEndcapDigisValidation().