CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Member Functions | Private Attributes
SiStripCorrelateNoise Class Reference

#include <SiStripCorrelateNoise.h>

Inheritance diagram for SiStripCorrelateNoise:
edm::EDAnalyzer edm::EDConsumerBase

Classes

struct  Data
 

Public Member Functions

 SiStripCorrelateNoise (const edm::ParameterSet &)
 
 ~SiStripCorrelateNoise () override
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
 ~EDAnalyzer () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
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
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
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 checkGainCache (const edm::EventSetup &es)
 
void DoAnalysis (const edm::EventSetup &, const SiStripNoises &, SiStripNoises &)
 
void DoPlots ()
 
void endJob () override
 
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
 
SiStripDetInfoFileReaderfr
 
edm::ESHandle< SiStripApvGaingainHandle_
 
SiStripApvGainnewGain
 
edm::ESHandle< SiStripNoisesnoiseHandle_
 
SiStripApvGainoldGain
 
SiStripNoisesrefNoise
 
uint32_t theRun
 
TrackerMaptkmap
 
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 &)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsInputProcessBlocks ()
 
static bool wantsProcessBlocks ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

DQM/SiStripMonitorSummary/plugins/SiStripCorrelateNoise.cc

Description: <one line="" class="" summary>="">

Implementation: <Notes on="" implementation>="">

Definition at line 49 of file SiStripCorrelateNoise.h.

Constructor & Destructor Documentation

◆ SiStripCorrelateNoise()

SiStripCorrelateNoise::SiStripCorrelateNoise ( const edm::ParameterSet iConfig)
explicit

Definition at line 9 of file SiStripCorrelateNoise.cc.

10  : refNoise(nullptr), oldGain(nullptr), newGain(nullptr), cacheID_noise(0xFFFFFFFF), cacheID_gain(0xFFFFFFFF) {
11  // now do what ever initialization is needed
12  file = new TFile("correlTest.root", "RECREATE");
13 
14  file->cd();
15  tkmap = new TrackerMap();
16 }

References file, and tkmap.

◆ ~SiStripCorrelateNoise()

SiStripCorrelateNoise::~SiStripCorrelateNoise ( )
override

Definition at line 18 of file SiStripCorrelateNoise.cc.

18 {}

Member Function Documentation

◆ analyze()

void SiStripCorrelateNoise::analyze ( const edm::Event ,
const edm::EventSetup  
)
inlineoverrideprivatevirtual

Implements edm::EDAnalyzer.

Definition at line 56 of file SiStripCorrelateNoise.h.

56 {};

◆ beginRun()

void SiStripCorrelateNoise::beginRun ( const edm::Run run,
const edm::EventSetup es 
)
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 22 of file SiStripCorrelateNoise.cc.

22  {
23  if (getNoiseCache(es) == cacheID_noise)
24  return;
25 
26  edm::LogInfo("") << "[SiStripCorrelateNoise::beginRun] cacheID_noise " << cacheID_noise << std::endl;
27 
30 
31  // Check if gain is the same from one noise iov to the other, otherwise cache
32  // the new gain (and the old one) to rescale
33 
34  checkGainCache(es);
35 
36  if (cacheID_noise != 0xFFFFFFFF) {
37  char dir[128];
38  theRun = run.run();
39  sprintf(dir, "Run_%d", theRun);
40  file->cd("");
41  file->mkdir(dir);
42  file->cd(dir);
44  DoPlots();
45  }
46 
48  if (refNoise != nullptr)
49  delete refNoise;
50  refNoise = aNoise;
51 }

References cacheID_noise, checkGainCache(), DeadROC_duringRun::dir, DoAnalysis(), DoPlots(), file, edm::EventSetup::get(), get, getNoiseCache(), noiseHandle_, edm::ESHandle< T >::product(), refNoise, writedatasetfile::run, and theRun.

◆ checkGainCache()

void SiStripCorrelateNoise::checkGainCache ( const edm::EventSetup es)
private

Definition at line 53 of file SiStripCorrelateNoise.cc.

53  {
54  equalGain = true;
55  if (getGainCache(es) != cacheID_gain) {
57  if (oldGain != nullptr)
58  delete oldGain;
59 
60  oldGain = newGain;
62 
63  if (cacheID_gain != 0xFFFFFFFF)
64  equalGain = false;
66  edm::LogInfo("") << "[SiStripCorrelateNoise::checkGainCache] cacheID_gain " << cacheID_gain << std::endl;
67  }
68 }

References cacheID_gain, equalGain, gainHandle_, edm::EventSetup::get(), get, getGainCache(), newGain, oldGain, and edm::ESHandle< T >::product().

Referenced by beginRun().

◆ DoAnalysis()

void SiStripCorrelateNoise::DoAnalysis ( const edm::EventSetup es,
const SiStripNoises _Noise,
SiStripNoises refNoise 
)
private

Definition at line 100 of file SiStripCorrelateNoise.cc.

102  {
103  SiStripNoises Noise = _Noise;
104  typedef std::vector<SiStripNoises::ratioData> collection;
105  collection divNoise = Noise / refNoise;
106 
107  edm::LogInfo("") << "[Doanalysis]";
108 
109  // Retrieve tracker topology from geometry
110  edm::ESHandle<TrackerTopology> tTopoHandle;
111  es.get<TrackerTopologyRcd>().get(tTopoHandle);
112  const TrackerTopology *const tTopo = tTopoHandle.product();
113 
114  std::vector<TH1F *> histos;
115 
116  collection::const_iterator iter = divNoise.begin();
117  collection::const_iterator iterE = divNoise.end();
118 
119  float value;
120  float gainRatio = 1.;
121  // Divide result by d
122  for (; iter != iterE; ++iter) {
123  getHistos(iter->detid, tTopo, histos);
124 
125  size_t strip = 0, stripE = iter->values.size();
126  size_t apvNb = 7;
127 
128  for (; strip < stripE; ++strip) {
129  if (!equalGain && strip / 128 != apvNb) {
130  apvNb = strip / 128;
131  if (apvNb < 6)
132  gainRatio = getGainRatio(iter->detid, apvNb);
133  else
134  edm::LogInfo("") << "[Doanalysis] detid " << iter->detid << " strip " << strip << " apvNb " << apvNb;
135  }
136  // edm::LogInfo("") << "[Doanalysis] detid " << iter->detid << " strip "
137  // << strip << " value " << iter->values[strip];
138  value = iter->values[strip] * gainRatio;
139  tkmap->fill(iter->detid, value);
140  for (size_t i = 0; i < histos.size(); ++i)
141  histos[i]->Fill(value);
142  }
143  }
144 }

References universalConfigTemplate::collection, equalGain, TrackerMap::fill(), HcalObjRepresent::Fill(), edm::EventSetup::get(), get, getGainRatio(), getHistos(), combine::histos, mps_fire::i, DigiDM_cff::Noise, edm::ESHandle< T >::product(), refNoise, digitizers_cfi::strip, tkmap, and relativeConstraints::value.

Referenced by beginRun().

◆ DoPlots()

void SiStripCorrelateNoise::DoPlots ( )
private

Definition at line 70 of file SiStripCorrelateNoise.cc.

70  {
71  TCanvas *C = new TCanvas();
72  C->Divide(2, 2);
73 
74  char outName[128];
75  sprintf(outName, "Run_%d.png", theRun);
76  for (size_t i = 0; i < vTH1.size(); i++)
77  if (vTH1[i] != nullptr) {
78  if (i % 100 == 0) {
79  C->cd(i / 100);
80  vTH1[i]->SetLineColor(i / 100);
81  vTH1[i]->Draw();
82  C->cd(i / 100)->SetLogy();
83  }
84  vTH1[i]->Write();
85  }
86 
87  C->Print(outName);
88  delete C;
89 
90  vTH1.clear();
91  file->cd("");
92 
93  char dir[128];
94  sprintf(dir, "Run_%d_TkMap.png", theRun);
95  tkmap->save(false, 0, 5, dir);
96  delete tkmap;
97  tkmap = new TrackerMap();
98 }

References gen::C, DeadROC_duringRun::dir, file, mps_fire::i, dataset::outName, TrackerMap::save(), theRun, tkmap, and vTH1.

Referenced by beginRun().

◆ endJob()

void SiStripCorrelateNoise::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 217 of file SiStripCorrelateNoise.cc.

217  {
218  file->Write();
219  file->Close();
220 }

References file.

◆ getGainCache()

unsigned long long SiStripCorrelateNoise::getGainCache ( const edm::EventSetup eSetup)
inlineprivate

Definition at line 67 of file SiStripCorrelateNoise.h.

67  {
68  return eSetup.get<SiStripApvGainRcd>().cacheIdentifier();
69  }

References edm::EventSetup::get().

Referenced by checkGainCache().

◆ getGainRatio()

float SiStripCorrelateNoise::getGainRatio ( const uint32_t &  detid,
const uint16_t &  apv 
)
private

Definition at line 146 of file SiStripCorrelateNoise.cc.

146  {
147  SiStripApvGain::Range oldRange = oldGain->getRange(detid);
148  SiStripApvGain::Range newRange = newGain->getRange(detid);
149 
150  if (oldRange.first == oldRange.second || newRange.first == newRange.second)
151  return 1.;
152 
153  return oldGain->getApvGain(apv, oldRange) / newGain->getApvGain(apv, newRange);
154 }

References SiStripApvGain::getApvGain(), SiStripApvGain::getRange(), newGain, and oldGain.

Referenced by DoAnalysis().

◆ getHisto()

TH1F * SiStripCorrelateNoise::getHisto ( const long unsigned int &  index)
private

Definition at line 194 of file SiStripCorrelateNoise.cc.

194  {
195  if (vTH1.size() < index + 1)
196  vTH1.resize(index + 1, nullptr);
197 
198  if (vTH1[index] == nullptr) {
199  char name[128];
200  std::string SubD;
201  if (index < 200)
202  SubD = "TIB";
203  else if (index < 300)
204  SubD = "TID";
205  else if (index < 400)
206  SubD = "TOB";
207  else
208  SubD = "TEC";
209  sprintf(name, "%d_%lu__%s", theRun, index, SubD.c_str());
210  edm::LogInfo("") << "[getHisto] creating index " << index << std::endl;
211  vTH1[index] = new TH1F(name, name, 200, -0.5, 10.5);
212  }
213 
214  return vTH1[index];
215 }

References Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, theRun, and vTH1.

Referenced by getHistos().

◆ getHistos()

void SiStripCorrelateNoise::getHistos ( const uint32_t &  detid,
const TrackerTopology tTopo,
std::vector< TH1F * > &  histos 
)
private

Definition at line 166 of file SiStripCorrelateNoise.cc.

168  {
169  histos.clear();
170 
171  int subdet = -999;
172  int component = -999;
173  SiStripDetId a(detid);
174  if (a.subdetId() == 3) {
175  subdet = 0;
176  component = tTopo->tibLayer(detid);
177  } else if (a.subdetId() == 4) {
178  subdet = 1;
179  component = tTopo->tidSide(detid) == 2 ? tTopo->tidWheel(detid) : tTopo->tidWheel(detid) + 3;
180  } else if (a.subdetId() == 5) {
181  subdet = 2;
182  component = tTopo->tobLayer(detid);
183  } else if (a.subdetId() == 6) {
184  subdet = 3;
185  component = tTopo->tecSide(detid) == 2 ? tTopo->tecWheel(detid) : tTopo->tecWheel(detid) + 9;
186  }
187 
188  int index = 100 + subdet * 100 + component;
189 
190  histos.push_back(getHisto(100 + 100 * subdet));
191  histos.push_back(getHisto(index));
192 }

References a, getHisto(), combine::histos, TrackerTopology::tecSide(), TrackerTopology::tecWheel(), TrackerTopology::tibLayer(), TrackerTopology::tidSide(), TrackerTopology::tidWheel(), and TrackerTopology::tobLayer().

Referenced by DoAnalysis().

◆ getMeanNoise()

float SiStripCorrelateNoise::getMeanNoise ( const SiStripNoises::Range noiseRange,
const uint32_t &  first,
const uint32_t &  range 
)
private

Definition at line 156 of file SiStripCorrelateNoise.cc.

158  {
159  float mean = 0;
160  for (size_t istrip = firstStrip; istrip < firstStrip + range; istrip++) {
161  mean += noiseHandle_->getNoise(istrip, noiseRange);
162  }
163  return mean / (1. * range);
164 }

References SiStripNoises::getNoise(), SiStripPI::mean, noiseHandle_, and FastTimerService_cff::range.

◆ getNoiseCache()

unsigned long long SiStripCorrelateNoise::getNoiseCache ( const edm::EventSetup eSetup)
inlineprivate

Definition at line 64 of file SiStripCorrelateNoise.h.

64  {
65  return eSetup.get<SiStripNoisesRcd>().cacheIdentifier();
66  }

References edm::EventSetup::get().

Referenced by beginRun().

Member Data Documentation

◆ cacheID_gain

unsigned long long SiStripCorrelateNoise::cacheID_gain
private

Definition at line 98 of file SiStripCorrelateNoise.h.

Referenced by checkGainCache().

◆ cacheID_noise

unsigned long long SiStripCorrelateNoise::cacheID_noise
private

Definition at line 97 of file SiStripCorrelateNoise.h.

Referenced by beginRun().

◆ equalGain

bool SiStripCorrelateNoise::equalGain
private

Definition at line 90 of file SiStripCorrelateNoise.h.

Referenced by checkGainCache(), and DoAnalysis().

◆ file

TFile* SiStripCorrelateNoise::file
private

◆ fr

SiStripDetInfoFileReader* SiStripCorrelateNoise::fr
private

Definition at line 82 of file SiStripCorrelateNoise.h.

◆ gainHandle_

edm::ESHandle<SiStripApvGain> SiStripCorrelateNoise::gainHandle_
private

Definition at line 83 of file SiStripCorrelateNoise.h.

Referenced by checkGainCache().

◆ newGain

SiStripApvGain * SiStripCorrelateNoise::newGain
private

Definition at line 89 of file SiStripCorrelateNoise.h.

Referenced by checkGainCache(), and getGainRatio().

◆ noiseHandle_

edm::ESHandle<SiStripNoises> SiStripCorrelateNoise::noiseHandle_
private

Definition at line 84 of file SiStripCorrelateNoise.h.

Referenced by beginRun(), and getMeanNoise().

◆ oldGain

SiStripApvGain* SiStripCorrelateNoise::oldGain
private

Definition at line 89 of file SiStripCorrelateNoise.h.

Referenced by checkGainCache(), and getGainRatio().

◆ refNoise

SiStripNoises* SiStripCorrelateNoise::refNoise
private

Definition at line 87 of file SiStripCorrelateNoise.h.

Referenced by beginRun(), and DoAnalysis().

◆ theRun

uint32_t SiStripCorrelateNoise::theRun
private

Definition at line 86 of file SiStripCorrelateNoise.h.

Referenced by beginRun(), DoPlots(), and getHisto().

◆ tkmap

TrackerMap* SiStripCorrelateNoise::tkmap
private

Definition at line 95 of file SiStripCorrelateNoise.h.

Referenced by DoAnalysis(), DoPlots(), and SiStripCorrelateNoise().

◆ vTH1

std::vector<TH1F *> SiStripCorrelateNoise::vTH1
private

Definition at line 93 of file SiStripCorrelateNoise.h.

Referenced by DoPlots(), and getHisto().

edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
FastTimerService_cff.range
range
Definition: FastTimerService_cff.py:34
mps_fire.i
i
Definition: mps_fire.py:428
SiStripPI::mean
Definition: SiStripPayloadInspectorHelper.h:169
SiStripNoises
Definition: SiStripNoises.h:25
SiStripCorrelateNoise::newGain
SiStripApvGain * newGain
Definition: SiStripCorrelateNoise.h:89
TrackerTopology
Definition: TrackerTopology.h:16
digitizers_cfi.strip
strip
Definition: digitizers_cfi.py:19
TrackerMap::fill
void fill(int layer, int ring, int nmod, float x)
Definition: TrackerMap.cc:3288
SiStripCorrelateNoise::refNoise
SiStripNoises * refNoise
Definition: SiStripCorrelateNoise.h:87
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
SiStripApvGain::getRange
const Range getRange(const uint32_t detID) const
Definition: SiStripApvGain.cc:30
SiStripNoisesRcd
Definition: SiStripCondDataRecords.h:40
TrackerTopology::tidWheel
unsigned int tidWheel(const DetId &id) const
Definition: TrackerTopology.h:201
edm::EventSetup::get
T get() const
Definition: EventSetup.h:80
SiStripCorrelateNoise::file
TFile * file
Definition: SiStripCorrelateNoise.h:92
SiStripCorrelateNoise::DoAnalysis
void DoAnalysis(const edm::EventSetup &, const SiStripNoises &, SiStripNoises &)
Definition: SiStripCorrelateNoise.cc:100
SiStripCorrelateNoise::getGainRatio
float getGainRatio(const uint32_t &detid, const uint16_t &apv)
Definition: SiStripCorrelateNoise.cc:146
SiStripCorrelateNoise::vTH1
std::vector< TH1F * > vTH1
Definition: SiStripCorrelateNoise.h:93
SiStripCorrelateNoise::theRun
uint32_t theRun
Definition: SiStripCorrelateNoise.h:86
edm::ESHandle< TrackerTopology >
TrackerMap
Definition: TrackerMap.h:76
SiStripCorrelateNoise::noiseHandle_
edm::ESHandle< SiStripNoises > noiseHandle_
Definition: SiStripCorrelateNoise.h:84
dataset.outName
outName
Definition: dataset.py:938
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiStripCorrelateNoise::oldGain
SiStripApvGain * oldGain
Definition: SiStripCorrelateNoise.h:89
SiStripCorrelateNoise::gainHandle_
edm::ESHandle< SiStripApvGain > gainHandle_
Definition: SiStripCorrelateNoise.h:83
a
double a
Definition: hdecay.h:119
SiStripCorrelateNoise::getHisto
TH1F * getHisto(const long unsigned int &index)
Definition: SiStripCorrelateNoise.cc:194
SiStripCorrelateNoise::getGainCache
unsigned long long getGainCache(const edm::EventSetup &eSetup)
Definition: SiStripCorrelateNoise.h:67
TrackerTopology::tidSide
unsigned int tidSide(const DetId &id) const
Definition: TrackerTopology.h:190
universalConfigTemplate.collection
collection
Definition: universalConfigTemplate.py:81
value
Definition: value.py:1
get
#define get
SiStripCorrelateNoise::getHistos
void getHistos(const uint32_t &detid, const TrackerTopology *tTopo, std::vector< TH1F * > &histos)
Definition: SiStripCorrelateNoise.cc:166
HcalObjRepresent::Fill
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
Definition: HcalObjRepresent.h:1053
SiStripApvGainRcd
Definition: SiStripCondDataRecords.h:8
combine.histos
histos
Definition: combine.py:4
TrackerMap::save
void save(bool print_total=true, float minval=0., float maxval=0., std::string s="svgmap.svg", int width=1500, int height=800)
Definition: TrackerMap.cc:810
TrackerTopology::tobLayer
unsigned int tobLayer(const DetId &id) const
Definition: TrackerTopology.h:147
writedatasetfile.run
run
Definition: writedatasetfile.py:27
gen::C
C
Definition: PomwigHadronizer.cc:78
SiStripApvGain::Range
std::pair< ContainerIterator, ContainerIterator > Range
Definition: SiStripApvGain.h:28
relativeConstraints.value
value
Definition: relativeConstraints.py:53
SiStripCorrelateNoise::equalGain
bool equalGain
Definition: SiStripCorrelateNoise.h:90
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
SiStripCorrelateNoise::cacheID_gain
unsigned long long cacheID_gain
Definition: SiStripCorrelateNoise.h:98
DigiDM_cff.Noise
Noise
Definition: DigiDM_cff.py:38
TrackerTopologyRcd
Definition: TrackerTopologyRcd.h:10
SiStripDetId
Detector identifier class for the strip tracker.
Definition: SiStripDetId.h:18
SiStripNoises::getNoise
static float getNoise(uint16_t strip, const Range &range)
Definition: SiStripNoises.h:73
SiStripCorrelateNoise::DoPlots
void DoPlots()
Definition: SiStripCorrelateNoise.cc:70
SiStripApvGain
Definition: SiStripApvGain.h:25
TrackerTopology::tecWheel
unsigned int tecWheel(const DetId &id) const
Definition: TrackerTopology.h:198
SiStripApvGain::getApvGain
static float getApvGain(uint16_t apv, const Range &range)
Definition: SiStripApvGain.h:82
SiStripCorrelateNoise::cacheID_noise
unsigned long long cacheID_noise
Definition: SiStripCorrelateNoise.h:97
SiStripCorrelateNoise::getNoiseCache
unsigned long long getNoiseCache(const edm::EventSetup &eSetup)
Definition: SiStripCorrelateNoise.h:64
SiStripCorrelateNoise::tkmap
TrackerMap * tkmap
Definition: SiStripCorrelateNoise.h:95
SiStripCorrelateNoise::checkGainCache
void checkGainCache(const edm::EventSetup &es)
Definition: SiStripCorrelateNoise.cc:53
DeadROC_duringRun.dir
dir
Definition: DeadROC_duringRun.py:23
TrackerTopology::tibLayer
unsigned int tibLayer(const DetId &id) const
Definition: TrackerTopology.h:150
TrackerTopology::tecSide
unsigned int tecSide(const DetId &id) const
Definition: TrackerTopology.h:184