#include <DQM/SiStripMonitorSummary/plugins/SiStripPlotGain.cc>
Public Member Functions | |
SiStripPlotGain (const edm::ParameterSet &) | |
~SiStripPlotGain () override | |
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 |
~EDAnalyzer () override | |
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 Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginRun (const edm::Run &run, const edm::EventSetup &es) override |
void | DoAnalysis (const edm::EventSetup &es, const SiStripApvGain &) |
void | endJob () override |
unsigned long long | getCache (const edm::EventSetup &eSetup) |
TH1F * | getHisto (const long unsigned int &index) |
void | getHistos (const uint32_t &detid, const TrackerTopology *tTopo, std::vector< TH1F * > &histos) |
Private Attributes | |
unsigned long long | cacheID |
TFile * | file |
SiStripDetInfoFileReader * | fr |
edm::ESHandle< SiStripApvGain > | Handle_ |
TrackerMap * | tkmap |
std::vector< TH1F * > | vTH1 |
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) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 49 of file SiStripPlotGain.h.
|
explicit |
Definition at line 8 of file SiStripPlotGain.cc.
References file, fr, Utilities::operator, and tkmap.
|
override |
Definition at line 26 of file SiStripPlotGain.cc.
|
inlineoverrideprivate |
Definition at line 57 of file SiStripPlotGain.h.
References DoAnalysis(), endJob(), getHisto(), getHistos(), plotFactory::histos, and diffTreeTool::index.
|
overrideprivate |
Definition at line 32 of file SiStripPlotGain.cc.
References cacheID, DoAnalysis(), edm::EventSetup::get(), getCache(), Handle_, and edm::ESHandle< T >::product().
|
private |
Definition at line 47 of file SiStripPlotGain.cc.
References SiStripApvGain::RegistryPointers::detid_begin, SiStripApvGain::RegistryPointers::detid_end, TrackerMap::fill(), HcalObjRepresent::Fill(), edm::EventSetup::get(), SiStripApvGain::getApvGain(), SiStripApvGain::RegistryPointers::getFirstElement(), getHistos(), SiStripApvGain::RegistryPointers::getLastElement(), SiStripApvGain::getRegistryPointers(), plotFactory::histos, mps_fire::i, AlCaHLTBitMon_ParallelJobs::p, edm::ESHandle< T >::product(), tkmap, and relativeConstraints::value.
Referenced by analyze(), and beginRun().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 128 of file SiStripPlotGain.cc.
References file, mps_fire::i, TrackerMap::save(), tkmap, and vTH1.
Referenced by analyze().
|
inlineprivate |
Definition at line 64 of file SiStripPlotGain.h.
References edm::EventSetup::get().
Referenced by beginRun().
|
private |
Definition at line 113 of file SiStripPlotGain.cc.
References diffTreeTool::index, dataset::name, and vTH1.
Referenced by analyze(), and getHistos().
|
private |
Definition at line 84 of file SiStripPlotGain.cc.
References a, getHisto(), diffTreeTool::index, DetId::subdetId(), TrackerTopology::tecSide(), TrackerTopology::tecWheel(), TrackerTopology::tibLayer(), TrackerTopology::tidSide(), TrackerTopology::tidWheel(), and TrackerTopology::tobLayer().
Referenced by analyze(), and DoAnalysis().
|
private |
Definition at line 81 of file SiStripPlotGain.h.
Referenced by beginRun().
|
private |
Definition at line 75 of file SiStripPlotGain.h.
Referenced by endJob(), ztee.GZipLog::finish(), and SiStripPlotGain().
|
private |
Definition at line 70 of file SiStripPlotGain.h.
Referenced by SiStripPlotGain().
|
private |
Definition at line 72 of file SiStripPlotGain.h.
Referenced by beginRun().
|
private |
Definition at line 78 of file SiStripPlotGain.h.
Referenced by DoAnalysis(), endJob(), and SiStripPlotGain().
|
private |
Definition at line 76 of file SiStripPlotGain.h.
Referenced by endJob(), and getHisto().