#include <EcalDigisValidation.h>
Public Member Functions | |
EcalDigisValidation (const edm::ParameterSet &ps) | |
Constructor. More... | |
~EcalDigisValidation () | |
Destructor. More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
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 | endJob (void) |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Private Types | |
typedef std::map< uint32_t, float, std::less< uint32_t > > | MapType |
Private Member Functions | |
void | checkCalibrations (edm::EventSetup const &c) |
Private Attributes | |
double | barrelADCtoGeV_ |
DQMStore * | dbe_ |
edm::InputTag | EBdigiCollection_ |
edm::InputTag | EEdigiCollection_ |
double | endcapADCtoGeV_ |
edm::InputTag | ESdigiCollection_ |
std::string | g4InfoLabel |
std::map< int, double, std::less< int > > | gainConv_ |
std::string | HepMCLabel |
MonitorElement * | meEBDigiSimRatio_ |
MonitorElement * | meEBDigiSimRatiogt100ADC_ |
MonitorElement * | meEBDigiSimRatiogt10ADC_ |
MonitorElement * | meEEDigiSimRatio_ |
MonitorElement * | meEEDigiSimRatiogt100ADC_ |
MonitorElement * | meEEDigiSimRatiogt20ADC_ |
MonitorElement * | meGunEnergy_ |
MonitorElement * | meGunEta_ |
MonitorElement * | meGunPhi_ |
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 49 of file EcalDigisValidation.h.
|
private |
Definition at line 51 of file EcalDigisValidation.h.
EcalDigisValidation::EcalDigisValidation | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 21 of file EcalDigisValidation.cc.
References barrelADCtoGeV_, dbe_, endcapADCtoGeV_, gainConv_, edm::ParameterSet::getUntrackedParameter(), interpolateCardsSimple::histo, meEBDigiSimRatio_, meEBDigiSimRatiogt100ADC_, meEBDigiSimRatiogt10ADC_, meEEDigiSimRatio_, meEEDigiSimRatiogt100ADC_, meEEDigiSimRatiogt20ADC_, meGunEnergy_, meGunEta_, meGunPhi_, cppFunctionSkipper::operator, outputFile_, and verbose_.
EcalDigisValidation::~EcalDigisValidation | ( | ) |
Destructor.
Definition at line 115 of file EcalDigisValidation.cc.
References dbe_, outputFile_, and DQMStore::save().
|
protectedvirtual |
Analyze.
Implements edm::EDAnalyzer.
Definition at line 131 of file EcalDigisValidation.cc.
References abs, EcalMGPASample::adc(), barrelADCtoGeV_, EBdigiCollection_, EEdigiCollection_, endcapADCtoGeV_, ESdigiCollection_, edm::EventID::event(), MonitorElement::Fill(), g4InfoLabel, gainConv_, EcalMGPASample::gainId(), edm::Event::getByLabel(), HepMCLabel, EEDataFrame::id(), EBDataFrame::id(), edm::EventBase::id(), EBDetId::ieta(), EBDetId::iphi(), edm::HandleBase::isValid(), EEDetId::ix(), EEDetId::iy(), create_public_lumi_plots::log, LogDebug, M_PI, EcalDataFrame::MAXSAMPLES, meEBDigiSimRatio_, meEBDigiSimRatiogt100ADC_, meEBDigiSimRatiogt10ADC_, meEEDigiSimRatio_, meEEDigiSimRatiogt100ADC_, meEEDigiSimRatiogt20ADC_, meGunEnergy_, meGunEta_, meGunPhi_, ecalTB2006H4_GenSimDigiReco_cfg::mySample, AlCaHLTBitMon_ParallelJobs::p, ESDetId::plane(), edm::Handle< T >::product(), DetId::rawId(), edm::EventID::run(), compare_using_db::sample, ESDetId::six(), ESDetId::siy(), EcalDataFrame::size(), edm::DataFrameContainer::size(), ESDetId::strip(), funct::tan(), ESDetId::zside(), and EEDetId::zside().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 121 of file EcalDigisValidation.cc.
References checkCalibrations().
|
private |
Definition at line 435 of file EcalDigisValidation.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 127 of file EcalDigisValidation.cc.
|
private |
Definition at line 91 of file EcalDigisValidation.h.
Referenced by analyze(), checkCalibrations(), and EcalDigisValidation().
|
private |
Definition at line 81 of file EcalDigisValidation.h.
Referenced by EcalDigisValidation(), and ~EcalDigisValidation().
|
private |
Definition at line 85 of file EcalDigisValidation.h.
Referenced by analyze().
|
private |
Definition at line 86 of file EcalDigisValidation.h.
Referenced by analyze().
|
private |
Definition at line 92 of file EcalDigisValidation.h.
Referenced by analyze(), checkCalibrations(), and EcalDigisValidation().
|
private |
Definition at line 87 of file EcalDigisValidation.h.
Referenced by analyze().
|
private |
Definition at line 77 of file EcalDigisValidation.h.
Referenced by analyze().
|
private |
Definition at line 89 of file EcalDigisValidation.h.
Referenced by analyze(), checkCalibrations(), and EcalDigisValidation().
|
private |
Definition at line 76 of file EcalDigisValidation.h.
Referenced by analyze().
|
private |
Definition at line 98 of file EcalDigisValidation.h.
Referenced by analyze(), and EcalDigisValidation().
|
private |
Definition at line 104 of file EcalDigisValidation.h.
Referenced by analyze(), and EcalDigisValidation().
|
private |
Definition at line 101 of file EcalDigisValidation.h.
Referenced by analyze(), and EcalDigisValidation().
|
private |
Definition at line 99 of file EcalDigisValidation.h.
Referenced by analyze(), and EcalDigisValidation().
|
private |
Definition at line 105 of file EcalDigisValidation.h.
Referenced by analyze(), and EcalDigisValidation().
|
private |
Definition at line 102 of file EcalDigisValidation.h.
Referenced by analyze(), and EcalDigisValidation().
|
private |
Definition at line 94 of file EcalDigisValidation.h.
Referenced by analyze(), and EcalDigisValidation().
|
private |
Definition at line 95 of file EcalDigisValidation.h.
Referenced by analyze(), and EcalDigisValidation().
|
private |
Definition at line 96 of file EcalDigisValidation.h.
Referenced by analyze(), and EcalDigisValidation().
|
private |
Definition at line 83 of file EcalDigisValidation.h.
Referenced by EcalDigisValidation(), and ~EcalDigisValidation().
|
private |
Definition at line 79 of file EcalDigisValidation.h.
Referenced by EcalDigisValidation().