#include <EcalEndcapDigisValidation.h>
Public Member Functions | |
EcalEndcapDigisValidation (const edm::ParameterSet &ps) | |
Constructor. More... | |
~EcalEndcapDigisValidation () | |
Destructor. More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
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::InputTag | EEdigiCollection_ |
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 |
typedef WorkerT< EDAnalyzer > | WorkerType |
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 36 of file EcalEndcapDigisValidation.h.
|
private |
Definition at line 38 of file EcalEndcapDigisValidation.h.
EcalEndcapDigisValidation::EcalEndcapDigisValidation | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 18 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 146 of file EcalEndcapDigisValidation.cc.
References EcalMGPASample::adc(), EEdigiCollection_, endcapADCtoGeV_, MonitorElement::Fill(), gainConv_, EcalMGPASample::gainId(), edm::Event::getByLabel(), 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 136 of file EcalEndcapDigisValidation.cc.
References checkCalibrations().
|
protected |
Definition at line 276 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 142 of file EcalEndcapDigisValidation.cc.
|
private |
Definition at line 74 of file EcalEndcapDigisValidation.h.
Referenced by checkCalibrations(), and EcalEndcapDigisValidation().
|
private |
Definition at line 66 of file EcalEndcapDigisValidation.h.
Referenced by EcalEndcapDigisValidation().
|
private |
Definition at line 70 of file EcalEndcapDigisValidation.h.
Referenced by analyze().
|
private |
Definition at line 75 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), checkCalibrations(), and EcalEndcapDigisValidation().
|
private |
Definition at line 72 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), checkCalibrations(), 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 88 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), and EcalEndcapDigisValidation().
|
private |
Definition at line 89 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), and EcalEndcapDigisValidation().
|
private |
Definition at line 83 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 92 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 80 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 77 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 100 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 68 of file EcalEndcapDigisValidation.h.
|
private |
Definition at line 64 of file EcalEndcapDigisValidation.h.
Referenced by EcalEndcapDigisValidation().