#include <HcalPedestalMCWidths.h>
Public Member Functions | |
void | analyze (const edm::Event &event, const edm::EventSetup &eventSetup) |
HcalPedestalMCWidths (const edm::ParameterSet &ps) | |
virtual | ~HcalPedestalMCWidths () |
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 () |
Private Attributes | |
std::vector< MCWidthsBunch > | Bunches |
bool | firsttime |
edm::InputTag | hbheDigiCollectionTag_ |
TProfile * | HBMeans [10] |
TProfile * | HEMeans [10] |
edm::InputTag | hfDigiCollectionTag_ |
TProfile * | HFMeans [10] |
bool | histflag |
edm::InputTag | hoDigiCollectionTag_ |
TProfile * | HOMeans [10] |
std::string | pedsADCfilename |
int | runnum |
TFile * | theFile |
const HcalTopology * | theTopology |
std::string | widthsfilename |
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 &) |
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) |
Definition at line 69 of file HcalPedestalMCWidths.h.
HcalPedestalMCWidths::HcalPedestalMCWidths | ( | const edm::ParameterSet & | ps | ) |
Definition at line 12 of file HcalPedestalMCWidths.cc.
References firsttime, edm::ParameterSet::getUntrackedParameter(), and histflag.
|
virtual |
Definition at line 22 of file HcalPedestalMCWidths.cc.
References HcalCovarianceMatrices::addValues(), Bunches, gather_cfg::cout, HcalDbASCIIIO::dumpObject(), HcalObjRepresent::Fill(), HBMeans, HEMeans, HFMeans, histflag, HOMeans, i, edm::isNotFinite(), j, gen::k, EdgesToViz::outfile, HcalCovarianceMatrix::setValue(), theFile, theTopology, and widthsfilename.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 105 of file HcalPedestalMCWidths.cc.
References a, HcalQIESample::adc(), HcalElectronicsMap::allPrecisionId(), Bunches, HcalQIESample::capid(), MCWidthsBunch::detid, firsttime, edm::EventSetup::get(), edm::Event::getByLabel(), hbheDigiCollectionTag_, HBMeans, HEMeans, hfDigiCollectionTag_, HFMeans, hoDigiCollectionTag_, HOMeans, i, HFDataFrame::id(), HBHEDataFrame::id(), HODataFrame::id(), edm::EventBase::id(), j, gen::k, MCWidthsBunch::num, MCWidthsBunch::prod, edm::ESHandle< class >::product(), DetId::rawId(), edm::EventID::run(), runnum, HBHEDataFrame::sample(), HFDataFrame::sample(), HODataFrame::sample(), MCWidthsBunch::sig, AlCaHLTBitMon_QueryRunRegistry::string, theFile, theTopology, MCWidthsBunch::usedflag, and widthsfilename.
|
private |
Definition at line 81 of file HcalPedestalMCWidths.h.
Referenced by analyze(), and ~HcalPedestalMCWidths().
|
private |
Definition at line 96 of file HcalPedestalMCWidths.h.
Referenced by analyze(), and HcalPedestalMCWidths().
|
private |
Definition at line 99 of file HcalPedestalMCWidths.h.
Referenced by analyze().
|
private |
Definition at line 88 of file HcalPedestalMCWidths.h.
Referenced by analyze(), and ~HcalPedestalMCWidths().
|
private |
Definition at line 89 of file HcalPedestalMCWidths.h.
Referenced by analyze(), and ~HcalPedestalMCWidths().
|
private |
Definition at line 101 of file HcalPedestalMCWidths.h.
Referenced by analyze().
|
private |
Definition at line 90 of file HcalPedestalMCWidths.h.
Referenced by analyze(), and ~HcalPedestalMCWidths().
|
private |
Definition at line 97 of file HcalPedestalMCWidths.h.
Referenced by HcalPedestalMCWidths(), and ~HcalPedestalMCWidths().
|
private |
Definition at line 100 of file HcalPedestalMCWidths.h.
Referenced by analyze().
|
private |
Definition at line 91 of file HcalPedestalMCWidths.h.
Referenced by analyze(), and ~HcalPedestalMCWidths().
|
private |
Definition at line 83 of file HcalPedestalMCWidths.h.
|
private |
Definition at line 86 of file HcalPedestalMCWidths.h.
Referenced by analyze().
|
private |
Definition at line 95 of file HcalPedestalMCWidths.h.
Referenced by analyze(), and ~HcalPedestalMCWidths().
|
private |
Definition at line 93 of file HcalPedestalMCWidths.h.
Referenced by analyze(), and ~HcalPedestalMCWidths().
|
private |
Definition at line 84 of file HcalPedestalMCWidths.h.
Referenced by analyze(), and ~HcalPedestalMCWidths().