#include <HcalGainsCheck.h>
Public Member Functions | |
void | analyze (const edm::Event &ev, const edm::EventSetup &es) |
virtual void | beginJob () |
virtual void | endJob () |
HcalGainsCheck (edm::ParameterSet const &ps) | |
~HcalGainsCheck () | |
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 |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Attributes | |
TH1F * | diffUpRefCap0 |
TH1F * | diffUpRefCap1 |
TH1F * | diffUpRefCap2 |
TH1F * | diffUpRefCap3 |
std::string | dumprefs |
std::string | dumpupdate |
bool | emapflag |
double | epsilon |
TFile * | f |
TH1F * | gainsRefCap0 |
TH1F * | gainsRefCap0vsEta |
TH1F * | gainsRefCap1 |
TH1F * | gainsRefCap1vsEta |
TH1F * | gainsRefCap2 |
TH1F * | gainsRefCap2vsEta |
TH1F * | gainsRefCap3 |
TH1F * | gainsRefCap3vsEta |
TH1F * | gainsUpCap0 |
TH1F * | gainsUpCap0vsEta |
TH1F * | gainsUpCap1 |
TH1F * | gainsUpCap1vsEta |
TH1F * | gainsUpCap2 |
TH1F * | gainsUpCap2vsEta |
TH1F * | gainsUpCap3 |
TH1F * | gainsUpCap3vsEta |
TH2F * | ocMapRef |
TH2F * | ocMapUp |
std::string | outfile |
TH1F * | ratioUpRefCap0 |
TH1F * | ratioUpRefCap1 |
TH1F * | ratioUpRefCap2 |
TH1F * | ratioUpRefCap3 |
std::string | rootfile |
bool | validategainsflag |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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::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 47 of file HcalGainsCheck.h.
HcalGainsCheck::HcalGainsCheck | ( | edm::ParameterSet const & | ps | ) |
Definition at line 3 of file HcalGainsCheck.cc.
References dumprefs, dumpupdate, emapflag, epsilon, edm::ParameterSet::getUntrackedParameter(), outfile, rootfile, AlCaHLTBitMon_QueryRunRegistry::string, and validategainsflag.
|
inline |
Definition at line 52 of file HcalGainsCheck.h.
References analyze(), beginJob(), endJob(), and ev.
void HcalGainsCheck::analyze | ( | const edm::Event & | ev, |
const edm::EventSetup & | es | ||
) |
Definition at line 49 of file HcalGainsCheck.cc.
References HcalCondObjectContainer< Item >::addValues(), HcalElectronicsMap::allPrecisionId(), gather_cfg::cout, diffUpRefCap0, diffUpRefCap1, diffUpRefCap2, diffUpRefCap3, HcalDbASCIIIO::dumpObject(), dumprefs, dumpupdate, emapflag, epsilon, Exception, spr::find(), gainsRefCap0, gainsRefCap1, gainsRefCap2, gainsRefCap3, gainsUpCap0, gainsUpCap1, gainsUpCap2, gainsUpCap3, edm::EventSetup::get(), HcalCondObjectContainer< Item >::getAllChannels(), HcalGain::getValue(), HcalCondObjectContainer< Item >::getValues(), outfile, edm::ESHandle< T >::product(), ratioUpRefCap0, ratioUpRefCap1, ratioUpRefCap2, ratioUpRefCap3, HcalCondObjectContainerBase::topo(), and validategainsflag.
Referenced by ~HcalGainsCheck().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 14 of file HcalGainsCheck.cc.
References diffUpRefCap0, diffUpRefCap1, diffUpRefCap2, diffUpRefCap3, f, gainsRefCap0, gainsRefCap1, gainsRefCap2, gainsRefCap3, gainsUpCap0, gainsUpCap1, gainsUpCap2, gainsUpCap3, ocMapRef, ocMapUp, ratioUpRefCap0, ratioUpRefCap1, ratioUpRefCap2, ratioUpRefCap3, and rootfile.
Referenced by ~HcalGainsCheck().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 215 of file HcalGainsCheck.cc.
References DEFINE_FWK_MODULE, f, and rootfile.
Referenced by ~HcalGainsCheck().
|
private |
Definition at line 77 of file HcalGainsCheck.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 78 of file HcalGainsCheck.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 79 of file HcalGainsCheck.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 80 of file HcalGainsCheck.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 63 of file HcalGainsCheck.h.
Referenced by analyze(), and HcalGainsCheck().
|
private |
Definition at line 62 of file HcalGainsCheck.h.
Referenced by analyze(), and HcalGainsCheck().
|
private |
Definition at line 66 of file HcalGainsCheck.h.
Referenced by analyze(), and HcalGainsCheck().
|
private |
Definition at line 68 of file HcalGainsCheck.h.
Referenced by analyze(), utils.BinToBin::checkBinningMatches(), utils.BinToBin1percent::checkBinningMatches(), utils.BinToBin::do_test(), and HcalGainsCheck().
|
private |
Definition at line 70 of file HcalGainsCheck.h.
Referenced by beginJob(), Vispa.Views.RootCanvasView.RootCanvasView::createGraph(), Vispa.Views.RootCanvasView.RootCanvasView::createLegoPlot(), endJob(), and ztail.Decoder::initial_synchronize().
|
private |
Definition at line 89 of file HcalGainsCheck.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 97 of file HcalGainsCheck.h.
|
private |
Definition at line 90 of file HcalGainsCheck.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 98 of file HcalGainsCheck.h.
|
private |
Definition at line 91 of file HcalGainsCheck.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 99 of file HcalGainsCheck.h.
|
private |
Definition at line 92 of file HcalGainsCheck.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 100 of file HcalGainsCheck.h.
|
private |
Definition at line 85 of file HcalGainsCheck.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 93 of file HcalGainsCheck.h.
|
private |
Definition at line 86 of file HcalGainsCheck.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 94 of file HcalGainsCheck.h.
|
private |
Definition at line 87 of file HcalGainsCheck.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 95 of file HcalGainsCheck.h.
|
private |
Definition at line 88 of file HcalGainsCheck.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 96 of file HcalGainsCheck.h.
|
private |
Definition at line 73 of file HcalGainsCheck.h.
Referenced by beginJob().
|
private |
Definition at line 72 of file HcalGainsCheck.h.
Referenced by beginJob().
|
private |
Definition at line 65 of file HcalGainsCheck.h.
Referenced by analyze(), and HcalGainsCheck().
|
private |
Definition at line 81 of file HcalGainsCheck.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 82 of file HcalGainsCheck.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 83 of file HcalGainsCheck.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 84 of file HcalGainsCheck.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 64 of file HcalGainsCheck.h.
Referenced by beginJob(), endJob(), and HcalGainsCheck().
|
private |
Definition at line 67 of file HcalGainsCheck.h.
Referenced by analyze(), and HcalGainsCheck().