#include <EcalBarrelDigisValidation.h>
Public Member Functions | |
EcalBarrelDigisValidation (const edm::ParameterSet &ps) | |
Constructor. More... | |
~EcalBarrelDigisValidation () | |
Destructor. More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) 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::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 < EBDigiCollection > | EBdigiCollection_ |
double | endcapADCtoGeV_ |
std::map< int, double, std::less< int > > | gainConv_ |
MonitorElement * | meEBDigiADCAnalog_ [10] |
MonitorElement * | meEBDigiADCg12_ [10] |
MonitorElement * | meEBDigiADCg1_ [10] |
MonitorElement * | meEBDigiADCg6_ [10] |
MonitorElement * | meEBDigiADCGlobal_ |
MonitorElement * | meEBDigiADCgS_ [10] |
MonitorElement * | meEBDigiGain_ [10] |
MonitorElement * | meEBDigiMultiplicity_ |
MonitorElement * | meEBDigiOccupancy_ |
MonitorElement * | meEBMaximumgt100ADC_ |
MonitorElement * | meEBMaximumgt10ADC_ |
MonitorElement * | meEBnADCafterSwitch_ |
MonitorElement * | meEBPedestal_ |
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 EcalBarrelDigisValidation.h.
|
private |
Definition at line 36 of file EcalBarrelDigisValidation.h.
EcalBarrelDigisValidation::EcalBarrelDigisValidation | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 16 of file EcalBarrelDigisValidation.cc.
References barrelADCtoGeV_, dbe_, endcapADCtoGeV_, gainConv_, edm::ParameterSet::getUntrackedParameter(), timingPdfMaker::histo, i, meEBDigiADCAnalog_, meEBDigiADCg12_, meEBDigiADCg1_, meEBDigiADCg6_, meEBDigiADCGlobal_, meEBDigiADCgS_, meEBDigiGain_, meEBDigiMultiplicity_, meEBDigiOccupancy_, meEBMaximumgt100ADC_, meEBMaximumgt10ADC_, meEBnADCafterSwitch_, meEBPedestal_, cppFunctionSkipper::operator, and verbose_.
EcalBarrelDigisValidation::~EcalBarrelDigisValidation | ( | ) |
|
protectedvirtual |
Analyze.
Implements edm::EDAnalyzer.
Definition at line 137 of file EcalBarrelDigisValidation.cc.
References EcalMGPASample::adc(), barrelADCtoGeV_, EBdigiCollection_, MonitorElement::Fill(), gainConv_, EcalMGPASample::gainId(), edm::Event::getByToken(), i, EBDataFrame::id(), EBDetId::ieta(), EBDetId::iphi(), edm::HandleBase::isValid(), LogDebug, EcalDataFrame::MAXSAMPLES, meEBDigiADCAnalog_, meEBDigiADCg12_, meEBDigiADCg1_, meEBDigiADCg6_, meEBDigiADCGlobal_, meEBDigiADCgS_, meEBDigiGain_, meEBDigiMultiplicity_, meEBDigiOccupancy_, meEBMaximumgt100ADC_, meEBMaximumgt10ADC_, meEBnADCafterSwitch_, meEBPedestal_, edm::Handle< T >::product(), DetId::rawId(), compare_using_db::sample, and EcalDataFrame::size().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 127 of file EcalBarrelDigisValidation.cc.
References checkCalibrations().
|
protected |
Definition at line 262 of file EcalBarrelDigisValidation.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 133 of file EcalBarrelDigisValidation.cc.
|
private |
Definition at line 71 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), checkCalibrations(), and EcalBarrelDigisValidation().
|
private |
Definition at line 63 of file EcalBarrelDigisValidation.h.
Referenced by EcalBarrelDigisValidation().
|
private |
Definition at line 67 of file EcalBarrelDigisValidation.h.
Referenced by analyze().
|
private |
Definition at line 72 of file EcalBarrelDigisValidation.h.
Referenced by checkCalibrations(), and EcalBarrelDigisValidation().
|
private |
Definition at line 69 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), checkCalibrations(), and EcalBarrelDigisValidation().
|
private |
Definition at line 80 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), and EcalBarrelDigisValidation().
|
private |
Definition at line 85 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), and EcalBarrelDigisValidation().
|
private |
Definition at line 83 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), and EcalBarrelDigisValidation().
|
private |
Definition at line 84 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), and EcalBarrelDigisValidation().
|
private |
Definition at line 78 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), and EcalBarrelDigisValidation().
|
private |
Definition at line 82 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), and EcalBarrelDigisValidation().
|
private |
Definition at line 87 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), and EcalBarrelDigisValidation().
|
private |
Definition at line 76 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), and EcalBarrelDigisValidation().
|
private |
Definition at line 74 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), and EcalBarrelDigisValidation().
|
private |
Definition at line 91 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), and EcalBarrelDigisValidation().
|
private |
Definition at line 93 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), and EcalBarrelDigisValidation().
|
private |
Definition at line 95 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), and EcalBarrelDigisValidation().
|
private |
Definition at line 89 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), and EcalBarrelDigisValidation().
|
private |
Definition at line 65 of file EcalBarrelDigisValidation.h.
|
private |
Definition at line 61 of file EcalBarrelDigisValidation.h.
Referenced by EcalBarrelDigisValidation().