#include <DQM/SiStripMonitorSummary/plugins/SiStripCorrelateNoise.cc>
Classes | |
struct | Data |
Public Member Functions | |
SiStripCorrelateNoise (const edm::ParameterSet &) | |
~SiStripCorrelateNoise () | |
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 (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &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 () |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginRun (const edm::Run &run, const edm::EventSetup &es) |
void | checkGainCache (const edm::EventSetup &es) |
void | DoAnalysis (const edm::EventSetup &, const SiStripNoises &, SiStripNoises &) |
void | DoPlots () |
virtual void | endJob () |
unsigned long long | getGainCache (const edm::EventSetup &eSetup) |
float | getGainRatio (const uint32_t &detid, const uint16_t &apv) |
TH1F * | getHisto (const long unsigned int &index) |
void | getHistos (const uint32_t &detid, const TrackerTopology *tTopo, std::vector< TH1F * > &histos) |
float | getMeanNoise (const SiStripNoises::Range &noiseRange, const uint32_t &first, const uint32_t &range) |
unsigned long long | getNoiseCache (const edm::EventSetup &eSetup) |
Private Attributes | |
unsigned long long | cacheID_gain |
unsigned long long | cacheID_noise |
bool | equalGain |
TFile * | file |
SiStripDetInfoFileReader * | fr |
edm::ESHandle< SiStripApvGain > | gainHandle_ |
SiStripApvGain * | newGain |
edm::ESHandle< SiStripNoises > | noiseHandle_ |
SiStripApvGain * | oldGain |
SiStripNoises * | refNoise |
uint32_t | theRun |
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 50 of file SiStripCorrelateNoise.h.
|
explicit |
Definition at line 9 of file SiStripCorrelateNoise.cc.
References file, fr, cppFunctionSkipper::operator, and tkmap.
SiStripCorrelateNoise::~SiStripCorrelateNoise | ( | ) |
Definition at line 29 of file SiStripCorrelateNoise.cc.
|
inlineprivatevirtual |
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 35 of file SiStripCorrelateNoise.cc.
References cacheID_noise, checkGainCache(), dir, DoAnalysis(), DoPlots(), file, edm::EventSetup::get(), getNoiseCache(), noiseHandle_, edm::ESHandle< class >::product(), refNoise, edm::RunBase::run(), and theRun.
|
private |
Definition at line 67 of file SiStripCorrelateNoise.cc.
References cacheID_gain, equalGain, gainHandle_, edm::EventSetup::get(), getGainCache(), newGain, oldGain, and edm::ESHandle< class >::product().
Referenced by beginRun().
|
private |
Definition at line 116 of file SiStripCorrelateNoise.cc.
References runEdmFileComparison::collection, equalGain, TrackerMap::fill(), HcalObjRepresent::Fill(), edm::EventSetup::get(), getGainRatio(), getHistos(), mergeVDriftHistosByStation::histos, i, edm::ESHandle< class >::product(), refNoise, tkmap, and relativeConstraints::value.
Referenced by beginRun().
|
private |
Definition at line 85 of file SiStripCorrelateNoise.cc.
References funct::C, dir, file, i, TrackerMap::save(), theRun, tkmap, and vTH1.
Referenced by beginRun().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 237 of file SiStripCorrelateNoise.cc.
References file.
|
inlineprivate |
Definition at line 67 of file SiStripCorrelateNoise.h.
References edm::EventSetup::get().
Referenced by checkGainCache().
|
private |
Definition at line 160 of file SiStripCorrelateNoise.cc.
References SiStripApvGain::getApvGain(), SiStripApvGain::getRange(), newGain, and oldGain.
Referenced by DoAnalysis().
|
private |
Definition at line 213 of file SiStripCorrelateNoise.cc.
References cmsHarvester::index, mergeVDriftHistosByStation::name, AlCaHLTBitMon_QueryRunRegistry::string, theRun, and vTH1.
Referenced by getHistos().
|
private |
Definition at line 184 of file SiStripCorrelateNoise.cc.
References a, getHisto(), cmsHarvester::index, DetId::subdetId(), TrackerTopology::tecSide(), TrackerTopology::tecWheel(), TrackerTopology::tibLayer(), TrackerTopology::tidSide(), TrackerTopology::tidWheel(), and TrackerTopology::tobLayer().
Referenced by DoAnalysis().
|
private |
Definition at line 174 of file SiStripCorrelateNoise.cc.
References timingPdfMaker::mean, and noiseHandle_.
|
inlineprivate |
Definition at line 66 of file SiStripCorrelateNoise.h.
References edm::EventSetup::get().
Referenced by beginRun().
|
private |
Definition at line 98 of file SiStripCorrelateNoise.h.
Referenced by checkGainCache().
|
private |
Definition at line 97 of file SiStripCorrelateNoise.h.
Referenced by beginRun().
|
private |
Definition at line 88 of file SiStripCorrelateNoise.h.
Referenced by checkGainCache(), and DoAnalysis().
|
private |
Definition at line 91 of file SiStripCorrelateNoise.h.
Referenced by beginRun(), DoPlots(), endJob(), ztee.GZipLog::finish(), and SiStripCorrelateNoise().
|
private |
Definition at line 80 of file SiStripCorrelateNoise.h.
Referenced by SiStripCorrelateNoise().
|
private |
Definition at line 81 of file SiStripCorrelateNoise.h.
Referenced by checkGainCache().
|
private |
Definition at line 87 of file SiStripCorrelateNoise.h.
Referenced by checkGainCache(), and getGainRatio().
|
private |
Definition at line 82 of file SiStripCorrelateNoise.h.
Referenced by beginRun(), and getMeanNoise().
|
private |
Definition at line 87 of file SiStripCorrelateNoise.h.
Referenced by checkGainCache(), and getGainRatio().
|
private |
Definition at line 85 of file SiStripCorrelateNoise.h.
Referenced by beginRun(), and DoAnalysis().
|
private |
Definition at line 84 of file SiStripCorrelateNoise.h.
Referenced by beginRun(), DoPlots(), and getHisto().
|
private |
Definition at line 94 of file SiStripCorrelateNoise.h.
Referenced by DoAnalysis(), DoPlots(), and SiStripCorrelateNoise().
|
private |
Definition at line 92 of file SiStripCorrelateNoise.h.
Referenced by DoPlots(), and getHisto().