CMS 3D CMS Logo

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

#include <CalibTracker/SiStripQuality/src/SiStripBadAPVAlgorithmFromClusterOccupancy.cc>

Classes

struct  Apv
 
struct  pHisto
 

Public Types

typedef SiStrip::QualityHistosMap HistoMap
 

Public Member Functions

void extractBadAPVs (SiStripQuality *, HistoMap &, edm::ESHandle< SiStripQuality > &)
 
void setAbsoluteLowThreshold (long double absolute_low)
 
void setAbsoluteOccupancyThreshold (long double occupancy)
 
void setHighOccupancyThreshold (long double high_occupancy)
 
void setLowOccupancyThreshold (long double low_occupancy)
 
void setMinNumOfEvents ()
 
void setNumberIterations (int number_iterations)
 
void setNumberOfEvents (double Nevents)
 
void setOutputFileName (std::string OutputFileName, bool WriteOutputFile)
 
void setTrackerGeometry (const TrackerGeometry *tkgeom)
 
 SiStripBadAPVAlgorithmFromClusterOccupancy (const edm::ParameterSet &, const TrackerTopology *)
 
virtual ~SiStripBadAPVAlgorithmFromClusterOccupancy ()
 

Private Member Functions

void AnalyzeOccupancy (SiStripQuality *, std::vector< Apv > &, std::pair< double, double > *, std::vector< unsigned int > &, edm::ESHandle< SiStripQuality > &)
 
void CalculateMeanAndRMS (const std::vector< Apv > &, std::pair< double, double > *, int)
 

Private Attributes

long double absolutelow_
 
int apv_number
 
double apvAbsoluteOccupancy
 
double apvMedianOccupancy
 
TTree * apvtree
 
uint32_t detrawid
 
int disc
 
TFile * f
 
float global_position_x
 
float global_position_y
 
float global_position_z
 
long double highoccupancy_
 
int isback
 
int isexternalstring
 
int isstereo
 
int iszminusside
 
int layer_ring
 
long double lowoccupancy_
 
std::pair< double, double > MeanAndRms_TECMinus_Disc1 [7]
 
std::pair< double, double > MeanAndRms_TECMinus_Disc2 [7]
 
std::pair< double, double > MeanAndRms_TECMinus_Disc3 [7]
 
std::pair< double, double > MeanAndRms_TECMinus_Disc4 [7]
 
std::pair< double, double > MeanAndRms_TECMinus_Disc5 [7]
 
std::pair< double, double > MeanAndRms_TECMinus_Disc6 [7]
 
std::pair< double, double > MeanAndRms_TECMinus_Disc7 [7]
 
std::pair< double, double > MeanAndRms_TECMinus_Disc8 [7]
 
std::pair< double, double > MeanAndRms_TECMinus_Disc9 [7]
 
std::pair< double, double > MeanAndRms_TECPlus_Disc1 [7]
 
std::pair< double, double > MeanAndRms_TECPlus_Disc2 [7]
 
std::pair< double, double > MeanAndRms_TECPlus_Disc3 [7]
 
std::pair< double, double > MeanAndRms_TECPlus_Disc4 [7]
 
std::pair< double, double > MeanAndRms_TECPlus_Disc5 [7]
 
std::pair< double, double > MeanAndRms_TECPlus_Disc6 [7]
 
std::pair< double, double > MeanAndRms_TECPlus_Disc7 [7]
 
std::pair< double, double > MeanAndRms_TECPlus_Disc8 [7]
 
std::pair< double, double > MeanAndRms_TECPlus_Disc9 [7]
 
std::pair< double, double > MeanAndRms_TIB_Layer1 [7]
 
std::pair< double, double > MeanAndRms_TIB_Layer2 [7]
 
std::pair< double, double > MeanAndRms_TIB_Layer3 [7]
 
std::pair< double, double > MeanAndRms_TIB_Layer4 [7]
 
std::pair< double, double > MeanAndRms_TIDMinus_Disc1 [7]
 
std::pair< double, double > MeanAndRms_TIDMinus_Disc2 [7]
 
std::pair< double, double > MeanAndRms_TIDMinus_Disc3 [7]
 
std::pair< double, double > MeanAndRms_TIDPlus_Disc1 [7]
 
std::pair< double, double > MeanAndRms_TIDPlus_Disc2 [7]
 
std::pair< double, double > MeanAndRms_TIDPlus_Disc3 [7]
 
std::pair< double, double > MeanAndRms_TOB_Layer1 [7]
 
std::pair< double, double > MeanAndRms_TOB_Layer2 [7]
 
std::pair< double, double > MeanAndRms_TOB_Layer3 [7]
 
std::pair< double, double > MeanAndRms_TOB_Layer4 [7]
 
std::pair< double, double > MeanAndRms_TOB_Layer5 [7]
 
std::pair< double, double > MeanAndRms_TOB_Layer6 [7]
 
std::vector< ApvmedianValues_TECMinus_Disc1
 
std::vector< ApvmedianValues_TECMinus_Disc2
 
std::vector< ApvmedianValues_TECMinus_Disc3
 
std::vector< ApvmedianValues_TECMinus_Disc4
 
std::vector< ApvmedianValues_TECMinus_Disc5
 
std::vector< ApvmedianValues_TECMinus_Disc6
 
std::vector< ApvmedianValues_TECMinus_Disc7
 
std::vector< ApvmedianValues_TECMinus_Disc8
 
std::vector< ApvmedianValues_TECMinus_Disc9
 
std::vector< ApvmedianValues_TECPlus_Disc1
 
std::vector< ApvmedianValues_TECPlus_Disc2
 
std::vector< ApvmedianValues_TECPlus_Disc3
 
std::vector< ApvmedianValues_TECPlus_Disc4
 
std::vector< ApvmedianValues_TECPlus_Disc5
 
std::vector< ApvmedianValues_TECPlus_Disc6
 
std::vector< ApvmedianValues_TECPlus_Disc7
 
std::vector< ApvmedianValues_TECPlus_Disc8
 
std::vector< ApvmedianValues_TECPlus_Disc9
 
std::vector< ApvmedianValues_TIB_Layer1
 
std::vector< ApvmedianValues_TIB_Layer2
 
std::vector< ApvmedianValues_TIB_Layer3
 
std::vector< ApvmedianValues_TIB_Layer4
 
std::vector< ApvmedianValues_TIDMinus_Disc1
 
std::vector< ApvmedianValues_TIDMinus_Disc2
 
std::vector< ApvmedianValues_TIDMinus_Disc3
 
std::vector< ApvmedianValues_TIDPlus_Disc1
 
std::vector< ApvmedianValues_TIDPlus_Disc2
 
std::vector< ApvmedianValues_TIDPlus_Disc3
 
std::vector< ApvmedianValues_TOB_Layer1
 
std::vector< ApvmedianValues_TOB_Layer2
 
std::vector< ApvmedianValues_TOB_Layer3
 
std::vector< ApvmedianValues_TOB_Layer4
 
std::vector< ApvmedianValues_TOB_Layer5
 
std::vector< ApvmedianValues_TOB_Layer6
 
double minNevents_
 
int module_number
 
double Nevents_
 
int number_apvs
 
int number_strips
 
int numberiterations_
 
long double occupancy_
 
std::string OutFileName_
 
SiStripQualitypQuality
 
int rodstringpetal
 
std::stringstream ss
 
double stripOccupancy [6][128]
 
double stripWeight [6][128]
 
int subdetid
 
const TrackerGeometryTkGeom
 
const TrackerTopologytTopo
 
bool UseInputDB_
 
bool WriteOutputFile_
 

Detailed Description

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

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

Definition at line 41 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Member Typedef Documentation

◆ HistoMap

Definition at line 43 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Constructor & Destructor Documentation

◆ SiStripBadAPVAlgorithmFromClusterOccupancy()

SiStripBadAPVAlgorithmFromClusterOccupancy::SiStripBadAPVAlgorithmFromClusterOccupancy ( const edm::ParameterSet iConfig,
const TrackerTopology theTopo 
)

Definition at line 11 of file SiStripBadAPVAlgorithmFromClusterOccupancy.cc.

13  : lowoccupancy_(0),
14  highoccupancy_(100),
15  absolutelow_(0),
17  Nevents_(0),
18  occupancy_(0),
19  OutFileName_("Occupancy.root"),
20  UseInputDB_(iConfig.getUntrackedParameter<bool>("UseInputDB", false)),
21  tTopo(theTopo) {
23 }

References minNevents_, Nevents_, and occupancy_.

◆ ~SiStripBadAPVAlgorithmFromClusterOccupancy()

SiStripBadAPVAlgorithmFromClusterOccupancy::~SiStripBadAPVAlgorithmFromClusterOccupancy ( )
virtual

Definition at line 25 of file SiStripBadAPVAlgorithmFromClusterOccupancy.cc.

25  {
26  LogTrace("SiStripBadAPVAlgorithmFromClusterOccupancy")
27  << "[SiStripBadAPVAlgorithmFromClusterOccupancy::~SiStripBadAPVAlgorithmFromClusterOccupancy] " << std::endl;
28 }

References LogTrace.

Member Function Documentation

◆ AnalyzeOccupancy()

void SiStripBadAPVAlgorithmFromClusterOccupancy::AnalyzeOccupancy ( SiStripQuality quality,
std::vector< Apv > &  medianValues,
std::pair< double, double > *  MeanAndRms,
std::vector< unsigned int > &  BadStripList,
edm::ESHandle< SiStripQuality > &  InSiStripQuality 
)
private

Definition at line 449 of file SiStripBadAPVAlgorithmFromClusterOccupancy.cc.

453  {
454  int Moduleposition;
455  uint32_t Detid;
456 
457  for (uint32_t it = 0; it < medianValues.size(); it++) {
458  Moduleposition = (medianValues[it].modulePosition) - 1;
459  Detid = medianValues[it].detrawId;
460 
461  for (int apv = 0; apv < medianValues[it].numberApvs; apv++) {
462  if (UseInputDB_) {
463  if (InSiStripQuality->IsApvBad(Detid, apv)) {
464  continue; //if the apv is already flagged as bad, continue.
465  }
466  }
467  if (medianValues[it].apvMedian[apv] > minNevents_) {
468  if ((medianValues[it].apvMedian[apv] >
469  (MeanAndRms[Moduleposition].first + highoccupancy_ * MeanAndRms[Moduleposition].second)) &&
470  (medianValues[it].apvMedian[apv] > absolutelow_))
471  BadStripList.push_back(pQuality->encode((apv * 128), 128, 0));
472  } else if (medianValues[it].apvMedian[apv] <
473  (MeanAndRms[Moduleposition].first - lowoccupancy_ * MeanAndRms[Moduleposition].second) &&
474  (MeanAndRms[Moduleposition].first > 2 || medianValues[it].apvabsoluteOccupancy[apv] == 0)) {
475  BadStripList.push_back(pQuality->encode((apv * 128), 128, 0));
476  std::cout << "Dead APV! DetId: " << medianValues[it].detrawId << ", APV number: " << apv + 1
477  << ", APVMedian: " << medianValues[it].apvMedian[apv]
478  << ", Mean: " << MeanAndRms[Moduleposition].first << ", RMS: " << MeanAndRms[Moduleposition].second
479  << ", LowThreshold: " << lowoccupancy_ << ", Mean-Low*RMS: "
480  << (MeanAndRms[Moduleposition].first - lowoccupancy_ * MeanAndRms[Moduleposition].second)
481  << std::endl;
482  }
483  }
484  if (BadStripList.begin() != BadStripList.end()) {
485  quality->compact(Detid, BadStripList);
486  SiStripQuality::Range range(BadStripList.begin(), BadStripList.end());
487  quality->put(Detid, range);
488  }
489  BadStripList.clear();
490  }
491 }

References absolutelow_, gather_cfg::cout, SiStripBadStrip::encode(), dqmdumpme::first, highoccupancy_, SiStripQuality::IsApvBad(), lowoccupancy_, minNevents_, pQuality, qcdUeDQM_cfi::quality, FastTimerService_cff::range, edm::second(), and UseInputDB_.

Referenced by extractBadAPVs().

◆ CalculateMeanAndRMS()

void SiStripBadAPVAlgorithmFromClusterOccupancy::CalculateMeanAndRMS ( const std::vector< Apv > &  a,
std::pair< double, double > *  MeanRMS,
int  number_iterations 
)
private

Definition at line 402 of file SiStripBadAPVAlgorithmFromClusterOccupancy.cc.

404  {
405  Double_t tot[7], tot2[7];
406  Double_t n[7];
407 
408  Double_t Mean[7] = {0};
409  Double_t Rms[7] = {1000, 1000, 1000, 1000, 1000, 1000, 1000};
410 
411  int Moduleposition;
412 
413  for (int i = 0; i < number_iterations; i++) {
414  for (int j = 0; j < 7; j++) {
415  n[j] = 0;
416  tot[j] = 0;
417  tot2[j] = 0;
418  }
419 
420  for (uint32_t it = 0; it < a.size(); it++) {
421  Moduleposition = (a[it].modulePosition) - 1;
422 
423  for (int apv = 0; apv < a[it].numberApvs; apv++) {
424  if (i > 0) {
425  if (a[it].apvMedian[apv] < (Mean[Moduleposition] - 3 * Rms[Moduleposition]) ||
426  (a[it].apvMedian[apv] > (Mean[Moduleposition] + 5 * Rms[Moduleposition]))) {
427  continue;
428  }
429  }
430  tot[Moduleposition] += a[it].apvMedian[apv];
431  tot2[Moduleposition] += (a[it].apvMedian[apv]) * (a[it].apvMedian[apv]);
432  n[Moduleposition]++;
433  }
434  }
435 
436  for (int j = 0; j < 7; j++) {
437  if (n[j] != 0) {
438  Mean[j] = tot[j] / n[j];
439  Rms[j] = TMath::Sqrt(TMath::Abs(tot2[j] / n[j] - Mean[j] * Mean[j]));
440  }
441  }
442  }
443 
444  for (int j = 0; j < 7; j++) {
445  MeanRMS[j] = std::make_pair(Mean[j], Rms[j]);
446  }
447 }

References a, Abs(), mps_fire::i, dqmiolumiharvest::j, Mean, and dqmiodumpmetadata::n.

Referenced by extractBadAPVs().

◆ extractBadAPVs()

void SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs ( SiStripQuality siStripQuality,
HistoMap DM,
edm::ESHandle< SiStripQuality > &  inSiStripQuality 
)

Definition at line 30 of file SiStripBadAPVAlgorithmFromClusterOccupancy.cc.

32  {
33  LogTrace("SiStripBadAPVAlgorithmFromClusterOccupancy")
34  << "[SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs] " << std::endl;
35 
36  if (WriteOutputFile_ == true) {
37  f = new TFile(OutFileName_.c_str(), "RECREATE");
38  f->cd();
39 
40  apvtree = new TTree("moduleOccupancy", "tree");
41 
42  apvtree->Branch("DetRawId", &detrawid, "DetRawId/I");
43  apvtree->Branch("SubDetId", &subdetid, "SubDetId/I");
44  apvtree->Branch("Layer_Ring", &layer_ring, "Layer_Ring/I");
45  apvtree->Branch("Disc", &disc, "Disc/I");
46  apvtree->Branch("IsBack", &isback, "IsBack/I");
47  apvtree->Branch("IsExternalString", &isexternalstring, "IsExternalString/I");
48  apvtree->Branch("IsZMinusSide", &iszminusside, "IsZMinusSide/I");
49  apvtree->Branch("RodStringPetal", &rodstringpetal, "RodStringPetal/I");
50  apvtree->Branch("IsStereo", &isstereo, "IsStereo/I");
51  apvtree->Branch("ModuleNumber", &module_number, "ModuleNumber/I");
52  apvtree->Branch("NumberOfStrips", &number_strips, "NumberOfStrips/I");
53  apvtree->Branch("APVGlobalPositionX", &global_position_x, "APVGlobalPositionX/F");
54  apvtree->Branch("APVGlobalPositionY", &global_position_y, "APVGlobalPositionY/F");
55  apvtree->Branch("APVGlobalPositionZ", &global_position_z, "APVGlobalPositionZ/F");
56  apvtree->Branch("APVNumber", &apv_number, "APVNumber/I");
57  apvtree->Branch("APVAbsoluteOccupancy", &apvAbsoluteOccupancy, "apvAbsoluteOccupancy/D");
58  apvtree->Branch("APVMedianOccupancy", &apvMedianOccupancy, "apvMedianOccupancy/D");
59  }
60 
61  HistoMap::iterator it = DM.begin();
62  HistoMap::iterator itEnd = DM.end();
63  std::vector<unsigned int> badStripList;
64  uint32_t detid;
65  for (; it != itEnd; ++it) {
66  Apv APV;
67 
68  for (int apv = 0; apv < 6; apv++) {
69  APV.apvMedian[apv] = 0;
70  APV.apvabsoluteOccupancy[apv] = 0;
71 
72  for (int strip = 0; strip < 128; strip++) {
73  stripOccupancy[apv][strip] = 0;
74  stripWeight[apv][strip] = 0;
75  }
76  }
77 
78  pHisto phisto;
79  phisto._th1f = it->second.get();
80  phisto._NEntries = (int)phisto._th1f->GetEntries();
81  phisto._NBins = phisto._th1f->GetNbinsX();
82 
83  number_strips = (int)phisto._NBins;
84  number_apvs = number_strips / 128;
85  APV.numberApvs = number_apvs;
86 
87  for (int apv = 0; apv < number_apvs; apv++) {
88  for (int strip = 0; strip < 128; strip++) {
89  stripOccupancy[apv][strip] =
90  phisto._th1f->GetBinContent((apv * 128) + strip + 1); // Remember: Bin=0 is underflow bin!
91  stripWeight[apv][strip] = 1;
92  APV.apvabsoluteOccupancy[apv] +=
93  phisto._th1f->GetBinContent((apv * 128) + strip + 1); // Remember: Bin=0 is underflow bin!
94  }
95  }
96 
97  for (int apv = 0; apv < number_apvs; apv++) {
98  APV.apvMedian[apv] = TMath::Median(128, stripOccupancy[apv], stripWeight[apv]);
99  }
100 
101  detid = it->first;
102  DetId detectorId = DetId(detid);
103 
104  if (edm::isDebugEnabled())
105  LogTrace("SiStripBadAPV") << "Analyzing detid " << detid << std::endl;
106 
107  detrawid = detid;
108  APV.detrawId = detrawid;
109  subdetid = detectorId.subdetId();
110  switch (detectorId.subdetId()) {
113  disc = -1;
115  isback = -1;
117  isexternalstring = 1;
118  else
119  isexternalstring = 0;
121  iszminusside = 1;
122  else
123  iszminusside = 0;
126  APV.modulePosition = module_number;
127 
128  if (layer_ring == 1)
129  medianValues_TIB_Layer1.push_back(APV);
130  else if (layer_ring == 2)
131  medianValues_TIB_Layer2.push_back(APV);
132  else if (layer_ring == 3)
133  medianValues_TIB_Layer3.push_back(APV);
134  else if (layer_ring == 4)
135  medianValues_TIB_Layer4.push_back(APV);
136  break;
137 
143  isback = 1;
144  else
145  isback = 0;
147  iszminusside = 1;
148  else
149  iszminusside = 0;
150  isexternalstring = -1;
151  rodstringpetal = -1;
153  APV.modulePosition = layer_ring;
154 
155  if (iszminusside == 0) {
156  if (disc == 1)
157  medianValues_TIDPlus_Disc1.push_back(APV);
158  else if (disc == 2)
159  medianValues_TIDPlus_Disc2.push_back(APV);
160  else if (disc == 3)
161  medianValues_TIDPlus_Disc3.push_back(APV);
162  } else if (iszminusside == 1) {
163  if (disc == 1)
164  medianValues_TIDMinus_Disc1.push_back(APV);
165  else if (disc == 2)
166  medianValues_TIDMinus_Disc2.push_back(APV);
167  else if (disc == 3)
168  medianValues_TIDMinus_Disc3.push_back(APV);
169  }
170  break;
171 
174  disc = -1;
176  isback = -1;
178  iszminusside = 1;
179  else
180  iszminusside = 0;
181  isexternalstring = -1;
184  APV.modulePosition = module_number;
185 
186  if (layer_ring == 1)
187  medianValues_TOB_Layer1.push_back(APV);
188  else if (layer_ring == 2)
189  medianValues_TOB_Layer2.push_back(APV);
190  else if (layer_ring == 3)
191  medianValues_TOB_Layer3.push_back(APV);
192  else if (layer_ring == 4)
193  medianValues_TOB_Layer4.push_back(APV);
194  else if (layer_ring == 5)
195  medianValues_TOB_Layer5.push_back(APV);
196  else if (layer_ring == 6)
197  medianValues_TOB_Layer6.push_back(APV);
198  break;
199 
205  isback = 1;
206  else
207  isback = 0;
209  iszminusside = 1;
210  else
211  iszminusside = 0;
212  isexternalstring = -1;
215  APV.modulePosition = layer_ring;
216 
217  if (iszminusside == 0) {
218  if (disc == 1)
219  medianValues_TECPlus_Disc1.push_back(APV);
220  else if (disc == 2)
221  medianValues_TECPlus_Disc2.push_back(APV);
222  else if (disc == 3)
223  medianValues_TECPlus_Disc3.push_back(APV);
224  else if (disc == 4)
225  medianValues_TECPlus_Disc4.push_back(APV);
226  else if (disc == 5)
227  medianValues_TECPlus_Disc5.push_back(APV);
228  else if (disc == 6)
229  medianValues_TECPlus_Disc6.push_back(APV);
230  else if (disc == 7)
231  medianValues_TECPlus_Disc7.push_back(APV);
232  else if (disc == 8)
233  medianValues_TECPlus_Disc8.push_back(APV);
234  else if (disc == 9)
235  medianValues_TECPlus_Disc9.push_back(APV);
236  } else if (iszminusside == 1) {
237  if (disc == 1)
238  medianValues_TECMinus_Disc1.push_back(APV);
239  else if (disc == 2)
240  medianValues_TECMinus_Disc2.push_back(APV);
241  else if (disc == 3)
242  medianValues_TECMinus_Disc3.push_back(APV);
243  else if (disc == 4)
244  medianValues_TECMinus_Disc4.push_back(APV);
245  else if (disc == 5)
246  medianValues_TECMinus_Disc5.push_back(APV);
247  else if (disc == 6)
248  medianValues_TECMinus_Disc6.push_back(APV);
249  else if (disc == 7)
250  medianValues_TECMinus_Disc7.push_back(APV);
251  else if (disc == 8)
252  medianValues_TECMinus_Disc8.push_back(APV);
253  else if (disc == 9)
254  medianValues_TECMinus_Disc9.push_back(APV);
255  }
256  break;
257 
258  default:
259  std::cout << "### Detector does not belong to TIB, TID, TOB or TEC !? ###" << std::endl;
260  std::cout << "### DetRawId: " << detrawid << " ###" << std::endl;
261  }
262 
263  const StripGeomDetUnit* theStripDet = dynamic_cast<const StripGeomDetUnit*>((TkGeom->idToDet(detectorId)));
264  const StripTopology* theStripTopol = dynamic_cast<const StripTopology*>(&(theStripDet->specificTopology()));
265 
266  for (int apv = 0; apv < number_apvs; apv++) {
267  apv_number = apv + 1;
268  apvMedianOccupancy = APV.apvMedian[apv];
269  apvAbsoluteOccupancy = APV.apvabsoluteOccupancy[apv];
270 
271  LocalPoint pos_strip_local = theStripTopol->localPosition((apv * 128));
272  GlobalPoint pos_strip_global = (TkGeom->idToDet(detectorId))->surface().toGlobal(pos_strip_local);
273 
274  global_position_x = pos_strip_global.x();
275  global_position_y = pos_strip_global.y();
276  global_position_z = pos_strip_global.z();
277 
278  if (WriteOutputFile_ == true)
279  apvtree->Fill();
280  }
281 
282  } // end loop on modules
283 
284  // Calculate Mean and RMS for each Layer
289 
296 
303 
313 
323 
324  pQuality = siStripQuality;
325  badStripList.clear();
326 
327  // Analyze the APV Occupancy for hot APVs
328  AnalyzeOccupancy(siStripQuality, medianValues_TIB_Layer1, MeanAndRms_TIB_Layer1, badStripList, inSiStripQuality);
329  AnalyzeOccupancy(siStripQuality, medianValues_TIB_Layer2, MeanAndRms_TIB_Layer2, badStripList, inSiStripQuality);
330  AnalyzeOccupancy(siStripQuality, medianValues_TIB_Layer3, MeanAndRms_TIB_Layer3, badStripList, inSiStripQuality);
331  AnalyzeOccupancy(siStripQuality, medianValues_TIB_Layer4, MeanAndRms_TIB_Layer4, badStripList, inSiStripQuality);
332 
333  AnalyzeOccupancy(siStripQuality, medianValues_TOB_Layer1, MeanAndRms_TOB_Layer1, badStripList, inSiStripQuality);
334  AnalyzeOccupancy(siStripQuality, medianValues_TOB_Layer2, MeanAndRms_TOB_Layer2, badStripList, inSiStripQuality);
335  AnalyzeOccupancy(siStripQuality, medianValues_TOB_Layer3, MeanAndRms_TOB_Layer3, badStripList, inSiStripQuality);
336  AnalyzeOccupancy(siStripQuality, medianValues_TOB_Layer4, MeanAndRms_TOB_Layer4, badStripList, inSiStripQuality);
337  AnalyzeOccupancy(siStripQuality, medianValues_TOB_Layer5, MeanAndRms_TOB_Layer5, badStripList, inSiStripQuality);
338  AnalyzeOccupancy(siStripQuality, medianValues_TOB_Layer6, MeanAndRms_TOB_Layer6, badStripList, inSiStripQuality);
339 
341  siStripQuality, medianValues_TIDPlus_Disc1, MeanAndRms_TIDPlus_Disc1, badStripList, inSiStripQuality);
343  siStripQuality, medianValues_TIDPlus_Disc2, MeanAndRms_TIDPlus_Disc2, badStripList, inSiStripQuality);
345  siStripQuality, medianValues_TIDPlus_Disc3, MeanAndRms_TIDPlus_Disc3, badStripList, inSiStripQuality);
347  siStripQuality, medianValues_TIDMinus_Disc1, MeanAndRms_TIDMinus_Disc1, badStripList, inSiStripQuality);
349  siStripQuality, medianValues_TIDMinus_Disc2, MeanAndRms_TIDMinus_Disc2, badStripList, inSiStripQuality);
351  siStripQuality, medianValues_TIDMinus_Disc3, MeanAndRms_TIDMinus_Disc3, badStripList, inSiStripQuality);
352 
354  siStripQuality, medianValues_TECPlus_Disc1, MeanAndRms_TECPlus_Disc1, badStripList, inSiStripQuality);
356  siStripQuality, medianValues_TECPlus_Disc2, MeanAndRms_TECPlus_Disc2, badStripList, inSiStripQuality);
358  siStripQuality, medianValues_TECPlus_Disc3, MeanAndRms_TECPlus_Disc3, badStripList, inSiStripQuality);
360  siStripQuality, medianValues_TECPlus_Disc4, MeanAndRms_TECPlus_Disc4, badStripList, inSiStripQuality);
362  siStripQuality, medianValues_TECPlus_Disc5, MeanAndRms_TECPlus_Disc5, badStripList, inSiStripQuality);
364  siStripQuality, medianValues_TECPlus_Disc6, MeanAndRms_TECPlus_Disc6, badStripList, inSiStripQuality);
366  siStripQuality, medianValues_TECPlus_Disc7, MeanAndRms_TECPlus_Disc7, badStripList, inSiStripQuality);
368  siStripQuality, medianValues_TECPlus_Disc8, MeanAndRms_TECPlus_Disc8, badStripList, inSiStripQuality);
370  siStripQuality, medianValues_TECPlus_Disc9, MeanAndRms_TECPlus_Disc9, badStripList, inSiStripQuality);
371 
373  siStripQuality, medianValues_TECMinus_Disc1, MeanAndRms_TECMinus_Disc1, badStripList, inSiStripQuality);
375  siStripQuality, medianValues_TECMinus_Disc2, MeanAndRms_TECMinus_Disc2, badStripList, inSiStripQuality);
377  siStripQuality, medianValues_TECMinus_Disc3, MeanAndRms_TECMinus_Disc3, badStripList, inSiStripQuality);
379  siStripQuality, medianValues_TECMinus_Disc4, MeanAndRms_TECMinus_Disc4, badStripList, inSiStripQuality);
381  siStripQuality, medianValues_TECMinus_Disc5, MeanAndRms_TECMinus_Disc5, badStripList, inSiStripQuality);
383  siStripQuality, medianValues_TECMinus_Disc6, MeanAndRms_TECMinus_Disc6, badStripList, inSiStripQuality);
385  siStripQuality, medianValues_TECMinus_Disc7, MeanAndRms_TECMinus_Disc7, badStripList, inSiStripQuality);
387  siStripQuality, medianValues_TECMinus_Disc8, MeanAndRms_TECMinus_Disc8, badStripList, inSiStripQuality);
389  siStripQuality, medianValues_TECMinus_Disc9, MeanAndRms_TECMinus_Disc9, badStripList, inSiStripQuality);
390 
391  siStripQuality->fillBadComponents();
392 
393  if (WriteOutputFile_ == true) {
394  f->cd();
395  apvtree->Write();
396  f->Close();
397  }
398 
399  LogTrace("SiStripBadAPV") << ss.str() << std::endl;
400 }

References SiStripBadAPVAlgorithmFromClusterOccupancy::pHisto::_NBins, SiStripBadAPVAlgorithmFromClusterOccupancy::pHisto::_NEntries, SiStripBadAPVAlgorithmFromClusterOccupancy::pHisto::_th1f, AnalyzeOccupancy(), sistrip::APV, apv_number, apvAbsoluteOccupancy, apvMedianOccupancy, apvtree, CalculateMeanAndRMS(), SiStripQuality::clear(), gather_cfg::cout, detrawid, disc, f, SiStripQuality::fillBadComponents(), cms::cuda::for(), global_position_x, global_position_y, global_position_z, TrackerGeometry::idToDet(), createfilelist::int, isback, edm::isDebugEnabled(), isexternalstring, isstereo, iszminusside, layer_ring, StripTopology::localPosition(), LogTrace, MeanAndRms_TECMinus_Disc1, MeanAndRms_TECMinus_Disc2, MeanAndRms_TECMinus_Disc3, MeanAndRms_TECMinus_Disc4, MeanAndRms_TECMinus_Disc5, MeanAndRms_TECMinus_Disc6, MeanAndRms_TECMinus_Disc7, MeanAndRms_TECMinus_Disc8, MeanAndRms_TECMinus_Disc9, MeanAndRms_TECPlus_Disc1, MeanAndRms_TECPlus_Disc2, MeanAndRms_TECPlus_Disc3, MeanAndRms_TECPlus_Disc4, MeanAndRms_TECPlus_Disc5, MeanAndRms_TECPlus_Disc6, MeanAndRms_TECPlus_Disc7, MeanAndRms_TECPlus_Disc8, MeanAndRms_TECPlus_Disc9, MeanAndRms_TIB_Layer1, MeanAndRms_TIB_Layer2, MeanAndRms_TIB_Layer3, MeanAndRms_TIB_Layer4, MeanAndRms_TIDMinus_Disc1, MeanAndRms_TIDMinus_Disc2, MeanAndRms_TIDMinus_Disc3, MeanAndRms_TIDPlus_Disc1, MeanAndRms_TIDPlus_Disc2, MeanAndRms_TIDPlus_Disc3, MeanAndRms_TOB_Layer1, MeanAndRms_TOB_Layer2, MeanAndRms_TOB_Layer3, MeanAndRms_TOB_Layer4, MeanAndRms_TOB_Layer5, MeanAndRms_TOB_Layer6, medianValues_TECMinus_Disc1, medianValues_TECMinus_Disc2, medianValues_TECMinus_Disc3, medianValues_TECMinus_Disc4, medianValues_TECMinus_Disc5, medianValues_TECMinus_Disc6, medianValues_TECMinus_Disc7, medianValues_TECMinus_Disc8, medianValues_TECMinus_Disc9, medianValues_TECPlus_Disc1, medianValues_TECPlus_Disc2, medianValues_TECPlus_Disc3, medianValues_TECPlus_Disc4, medianValues_TECPlus_Disc5, medianValues_TECPlus_Disc6, medianValues_TECPlus_Disc7, medianValues_TECPlus_Disc8, medianValues_TECPlus_Disc9, medianValues_TIB_Layer1, medianValues_TIB_Layer2, medianValues_TIB_Layer3, medianValues_TIB_Layer4, medianValues_TIDMinus_Disc1, medianValues_TIDMinus_Disc2, medianValues_TIDMinus_Disc3, medianValues_TIDPlus_Disc1, medianValues_TIDPlus_Disc2, medianValues_TIDPlus_Disc3, medianValues_TOB_Layer1, medianValues_TOB_Layer2, medianValues_TOB_Layer3, medianValues_TOB_Layer4, medianValues_TOB_Layer5, medianValues_TOB_Layer6, module_number, number_apvs, number_strips, numberiterations_, OutFileName_, pQuality, rodstringpetal, StripGeomDetUnit::specificTopology(), ss, digitizers_cfi::strip, stripOccupancy, stripWeight, DetId::subdetId(), subdetid, StripSubdetector::TEC, TrackerTopology::tecIsBackPetal(), TrackerTopology::tecIsStereo(), TrackerTopology::tecIsZMinusSide(), TrackerTopology::tecModule(), TrackerTopology::tecPetalNumber(), TrackerTopology::tecRing(), TrackerTopology::tecWheel(), StripSubdetector::TIB, TrackerTopology::tibIsExternalString(), TrackerTopology::tibIsStereo(), TrackerTopology::tibIsZMinusSide(), TrackerTopology::tibLayer(), TrackerTopology::tibModule(), TrackerTopology::tibString(), StripSubdetector::TID, TrackerTopology::tidIsBackRing(), TrackerTopology::tidIsStereo(), TrackerTopology::tidIsZMinusSide(), TrackerTopology::tidModule(), TrackerTopology::tidRing(), TrackerTopology::tidWheel(), TkGeom, StripSubdetector::TOB, TrackerTopology::tobIsStereo(), TrackerTopology::tobIsZMinusSide(), TrackerTopology::tobLayer(), TrackerTopology::tobModule(), TrackerTopology::tobRod(), tTopo, WriteOutputFile_, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

Referenced by SiStripQualityHotStripIdentifierRoot::getNewObject().

◆ setAbsoluteLowThreshold()

void SiStripBadAPVAlgorithmFromClusterOccupancy::setAbsoluteLowThreshold ( long double  absolute_low)
inline

Definition at line 51 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

51 { absolutelow_ = absolute_low; }

References absolutelow_.

Referenced by SiStripQualityHotStripIdentifierRoot::getNewObject().

◆ setAbsoluteOccupancyThreshold()

void SiStripBadAPVAlgorithmFromClusterOccupancy::setAbsoluteOccupancyThreshold ( long double  occupancy)
inline

Definition at line 53 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

53 { occupancy_ = occupancy; }

References occupancy_.

Referenced by SiStripQualityHotStripIdentifierRoot::getNewObject().

◆ setHighOccupancyThreshold()

void SiStripBadAPVAlgorithmFromClusterOccupancy::setHighOccupancyThreshold ( long double  high_occupancy)
inline

Definition at line 50 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

50 { highoccupancy_ = high_occupancy; }

References highoccupancy_.

Referenced by SiStripQualityHotStripIdentifierRoot::getNewObject().

◆ setLowOccupancyThreshold()

void SiStripBadAPVAlgorithmFromClusterOccupancy::setLowOccupancyThreshold ( long double  low_occupancy)
inline

Definition at line 49 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

49 { lowoccupancy_ = low_occupancy; }

References lowoccupancy_.

Referenced by SiStripQualityHotStripIdentifierRoot::getNewObject().

◆ setMinNumOfEvents()

void SiStripBadAPVAlgorithmFromClusterOccupancy::setMinNumOfEvents ( )

◆ setNumberIterations()

void SiStripBadAPVAlgorithmFromClusterOccupancy::setNumberIterations ( int  number_iterations)
inline

Definition at line 52 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

52 { numberiterations_ = number_iterations; }

References numberiterations_.

Referenced by SiStripQualityHotStripIdentifierRoot::getNewObject().

◆ setNumberOfEvents()

void SiStripBadAPVAlgorithmFromClusterOccupancy::setNumberOfEvents ( double  Nevents)
inline

Definition at line 54 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

54 { Nevents_ = Nevents; }

References Nevents_.

Referenced by SiStripQualityHotStripIdentifierRoot::getNewObject().

◆ setOutputFileName()

void SiStripBadAPVAlgorithmFromClusterOccupancy::setOutputFileName ( std::string  OutputFileName,
bool  WriteOutputFile 
)
inline

◆ setTrackerGeometry()

void SiStripBadAPVAlgorithmFromClusterOccupancy::setTrackerGeometry ( const TrackerGeometry tkgeom)
inline

Definition at line 60 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

60 { TkGeom = tkgeom; }

References TkGeom.

Referenced by SiStripQualityHotStripIdentifierRoot::getNewObject().

Member Data Documentation

◆ absolutelow_

long double SiStripBadAPVAlgorithmFromClusterOccupancy::absolutelow_
private

◆ apv_number

int SiStripBadAPVAlgorithmFromClusterOccupancy::apv_number
private

Definition at line 194 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ apvAbsoluteOccupancy

double SiStripBadAPVAlgorithmFromClusterOccupancy::apvAbsoluteOccupancy
private

Definition at line 200 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ apvMedianOccupancy

double SiStripBadAPVAlgorithmFromClusterOccupancy::apvMedianOccupancy
private

Definition at line 201 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ apvtree

TTree* SiStripBadAPVAlgorithmFromClusterOccupancy::apvtree
private

Definition at line 180 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ detrawid

uint32_t SiStripBadAPVAlgorithmFromClusterOccupancy::detrawid
private

Definition at line 182 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ disc

int SiStripBadAPVAlgorithmFromClusterOccupancy::disc
private

Definition at line 185 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ f

TFile* SiStripBadAPVAlgorithmFromClusterOccupancy::f
private

◆ global_position_x

float SiStripBadAPVAlgorithmFromClusterOccupancy::global_position_x
private

Definition at line 196 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ global_position_y

float SiStripBadAPVAlgorithmFromClusterOccupancy::global_position_y
private

Definition at line 197 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ global_position_z

float SiStripBadAPVAlgorithmFromClusterOccupancy::global_position_z
private

Definition at line 198 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ highoccupancy_

long double SiStripBadAPVAlgorithmFromClusterOccupancy::highoccupancy_
private

◆ isback

int SiStripBadAPVAlgorithmFromClusterOccupancy::isback
private

Definition at line 186 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ isexternalstring

int SiStripBadAPVAlgorithmFromClusterOccupancy::isexternalstring
private

Definition at line 187 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ isstereo

int SiStripBadAPVAlgorithmFromClusterOccupancy::isstereo
private

Definition at line 190 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ iszminusside

int SiStripBadAPVAlgorithmFromClusterOccupancy::iszminusside
private

Definition at line 188 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ layer_ring

int SiStripBadAPVAlgorithmFromClusterOccupancy::layer_ring
private

Definition at line 184 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ lowoccupancy_

long double SiStripBadAPVAlgorithmFromClusterOccupancy::lowoccupancy_
private

◆ MeanAndRms_TECMinus_Disc1

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECMinus_Disc1[7]
private

Definition at line 161 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TECMinus_Disc2

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECMinus_Disc2[7]
private

Definition at line 163 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TECMinus_Disc3

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECMinus_Disc3[7]
private

Definition at line 165 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TECMinus_Disc4

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECMinus_Disc4[7]
private

Definition at line 167 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TECMinus_Disc5

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECMinus_Disc5[7]
private

Definition at line 169 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TECMinus_Disc6

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECMinus_Disc6[7]
private

Definition at line 171 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TECMinus_Disc7

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECMinus_Disc7[7]
private

Definition at line 173 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TECMinus_Disc8

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECMinus_Disc8[7]
private

Definition at line 175 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TECMinus_Disc9

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECMinus_Disc9[7]
private

Definition at line 177 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TECPlus_Disc1

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECPlus_Disc1[7]
private

Definition at line 142 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TECPlus_Disc2

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECPlus_Disc2[7]
private

Definition at line 144 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TECPlus_Disc3

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECPlus_Disc3[7]
private

Definition at line 146 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TECPlus_Disc4

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECPlus_Disc4[7]
private

Definition at line 148 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TECPlus_Disc5

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECPlus_Disc5[7]
private

Definition at line 150 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TECPlus_Disc6

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECPlus_Disc6[7]
private

Definition at line 152 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TECPlus_Disc7

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECPlus_Disc7[7]
private

Definition at line 154 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TECPlus_Disc8

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECPlus_Disc8[7]
private

Definition at line 156 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TECPlus_Disc9

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECPlus_Disc9[7]
private

Definition at line 158 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TIB_Layer1

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TIB_Layer1[7]
private

Definition at line 106 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TIB_Layer2

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TIB_Layer2[7]
private

Definition at line 108 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TIB_Layer3

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TIB_Layer3[7]
private

Definition at line 110 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TIB_Layer4

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TIB_Layer4[7]
private

Definition at line 112 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TIDMinus_Disc1

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TIDMinus_Disc1[7]
private

Definition at line 135 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TIDMinus_Disc2

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TIDMinus_Disc2[7]
private

Definition at line 137 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TIDMinus_Disc3

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TIDMinus_Disc3[7]
private

Definition at line 139 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TIDPlus_Disc1

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TIDPlus_Disc1[7]
private

Definition at line 128 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TIDPlus_Disc2

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TIDPlus_Disc2[7]
private

Definition at line 130 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TIDPlus_Disc3

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TIDPlus_Disc3[7]
private

Definition at line 132 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TOB_Layer1

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TOB_Layer1[7]
private

Definition at line 115 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TOB_Layer2

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TOB_Layer2[7]
private

Definition at line 117 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TOB_Layer3

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TOB_Layer3[7]
private

Definition at line 119 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TOB_Layer4

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TOB_Layer4[7]
private

Definition at line 121 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TOB_Layer5

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TOB_Layer5[7]
private

Definition at line 123 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ MeanAndRms_TOB_Layer6

std::pair<double, double> SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TOB_Layer6[7]
private

Definition at line 125 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TECMinus_Disc1

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECMinus_Disc1
private

Definition at line 160 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TECMinus_Disc2

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECMinus_Disc2
private

Definition at line 162 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TECMinus_Disc3

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECMinus_Disc3
private

Definition at line 164 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TECMinus_Disc4

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECMinus_Disc4
private

Definition at line 166 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TECMinus_Disc5

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECMinus_Disc5
private

Definition at line 168 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TECMinus_Disc6

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECMinus_Disc6
private

Definition at line 170 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TECMinus_Disc7

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECMinus_Disc7
private

Definition at line 172 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TECMinus_Disc8

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECMinus_Disc8
private

Definition at line 174 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TECMinus_Disc9

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECMinus_Disc9
private

Definition at line 176 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TECPlus_Disc1

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECPlus_Disc1
private

Definition at line 141 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TECPlus_Disc2

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECPlus_Disc2
private

Definition at line 143 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TECPlus_Disc3

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECPlus_Disc3
private

Definition at line 145 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TECPlus_Disc4

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECPlus_Disc4
private

Definition at line 147 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TECPlus_Disc5

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECPlus_Disc5
private

Definition at line 149 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TECPlus_Disc6

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECPlus_Disc6
private

Definition at line 151 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TECPlus_Disc7

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECPlus_Disc7
private

Definition at line 153 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TECPlus_Disc8

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECPlus_Disc8
private

Definition at line 155 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TECPlus_Disc9

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECPlus_Disc9
private

Definition at line 157 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TIB_Layer1

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TIB_Layer1
private

Definition at line 105 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TIB_Layer2

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TIB_Layer2
private

Definition at line 107 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TIB_Layer3

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TIB_Layer3
private

Definition at line 109 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TIB_Layer4

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TIB_Layer4
private

Definition at line 111 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TIDMinus_Disc1

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TIDMinus_Disc1
private

Definition at line 134 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TIDMinus_Disc2

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TIDMinus_Disc2
private

Definition at line 136 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TIDMinus_Disc3

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TIDMinus_Disc3
private

Definition at line 138 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TIDPlus_Disc1

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TIDPlus_Disc1
private

Definition at line 127 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TIDPlus_Disc2

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TIDPlus_Disc2
private

Definition at line 129 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TIDPlus_Disc3

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TIDPlus_Disc3
private

Definition at line 131 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TOB_Layer1

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TOB_Layer1
private

Definition at line 114 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TOB_Layer2

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TOB_Layer2
private

Definition at line 116 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TOB_Layer3

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TOB_Layer3
private

Definition at line 118 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TOB_Layer4

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TOB_Layer4
private

Definition at line 120 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TOB_Layer5

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TOB_Layer5
private

Definition at line 122 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ medianValues_TOB_Layer6

std::vector<Apv> SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TOB_Layer6
private

Definition at line 124 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ minNevents_

double SiStripBadAPVAlgorithmFromClusterOccupancy::minNevents_
private

◆ module_number

int SiStripBadAPVAlgorithmFromClusterOccupancy::module_number
private

Definition at line 191 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ Nevents_

double SiStripBadAPVAlgorithmFromClusterOccupancy::Nevents_
private

◆ number_apvs

int SiStripBadAPVAlgorithmFromClusterOccupancy::number_apvs
private

Definition at line 193 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ number_strips

int SiStripBadAPVAlgorithmFromClusterOccupancy::number_strips
private

Definition at line 192 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ numberiterations_

int SiStripBadAPVAlgorithmFromClusterOccupancy::numberiterations_
private

◆ occupancy_

long double SiStripBadAPVAlgorithmFromClusterOccupancy::occupancy_
private

◆ OutFileName_

std::string SiStripBadAPVAlgorithmFromClusterOccupancy::OutFileName_
private

◆ pQuality

SiStripQuality* SiStripBadAPVAlgorithmFromClusterOccupancy::pQuality
private

◆ rodstringpetal

int SiStripBadAPVAlgorithmFromClusterOccupancy::rodstringpetal
private

Definition at line 189 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ ss

std::stringstream SiStripBadAPVAlgorithmFromClusterOccupancy::ss
private

Definition at line 203 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ stripOccupancy

double SiStripBadAPVAlgorithmFromClusterOccupancy::stripOccupancy[6][128]
private

Definition at line 102 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ stripWeight

double SiStripBadAPVAlgorithmFromClusterOccupancy::stripWeight[6][128]
private

Definition at line 103 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ subdetid

int SiStripBadAPVAlgorithmFromClusterOccupancy::subdetid
private

Definition at line 183 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ TkGeom

const TrackerGeometry* SiStripBadAPVAlgorithmFromClusterOccupancy::TkGeom
private

◆ tTopo

const TrackerTopology* SiStripBadAPVAlgorithmFromClusterOccupancy::tTopo
private

Definition at line 98 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by extractBadAPVs().

◆ UseInputDB_

bool SiStripBadAPVAlgorithmFromClusterOccupancy::UseInputDB_
private

Definition at line 96 of file SiStripBadAPVAlgorithmFromClusterOccupancy.h.

Referenced by AnalyzeOccupancy().

◆ WriteOutputFile_

bool SiStripBadAPVAlgorithmFromClusterOccupancy::WriteOutputFile_
private
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECMinus_Disc1
std::pair< double, double > MeanAndRms_TECMinus_Disc1[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:161
TrackerGeometry::idToDet
const TrackerGeomDet * idToDet(DetId) const override
Definition: TrackerGeometry.cc:193
SiStripBadAPVAlgorithmFromClusterOccupancy::occupancy_
long double occupancy_
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:92
FastTimerService_cff.range
range
Definition: FastTimerService_cff.py:34
TrackerTopology::tidIsZMinusSide
bool tidIsZMinusSide(const DetId &id) const
Definition: TrackerTopology.h:259
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECMinus_Disc2
std::pair< double, double > MeanAndRms_TECMinus_Disc2[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:163
mps_fire.i
i
Definition: mps_fire.py:355
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TIDMinus_Disc3
std::pair< double, double > MeanAndRms_TIDMinus_Disc3[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:139
SiStripBadAPVAlgorithmFromClusterOccupancy::WriteOutputFile_
bool WriteOutputFile_
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:95
TrackerTopology::tibIsExternalString
bool tibIsExternalString(const DetId &id) const
Definition: TrackerTopology.h:431
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TIDMinus_Disc1
std::pair< double, double > MeanAndRms_TIDMinus_Disc1[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:135
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TOB_Layer5
std::vector< Apv > medianValues_TOB_Layer5
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:122
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
SiStripBadAPVAlgorithmFromClusterOccupancy::rodstringpetal
int rodstringpetal
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:189
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECMinus_Disc3
std::pair< double, double > MeanAndRms_TECMinus_Disc3[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:165
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECPlus_Disc9
std::vector< Apv > medianValues_TECPlus_Disc9
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:157
SiStripBadAPVAlgorithmFromClusterOccupancy::apvtree
TTree * apvtree
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:180
SiStripBadAPVAlgorithmFromClusterOccupancy::numberiterations_
int numberiterations_
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:90
TrackerTopology::tobIsStereo
bool tobIsStereo(const DetId &id) const
Definition: TrackerTopology.h:264
SiStripBadAPVAlgorithmFromClusterOccupancy::TkGeom
const TrackerGeometry * TkGeom
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:97
SiStripBadAPVAlgorithmFromClusterOccupancy::stripOccupancy
double stripOccupancy[6][128]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:102
PV3DBase::x
T x() const
Definition: PV3DBase.h:59
TrackerTopology::tecIsZMinusSide
bool tecIsZMinusSide(const DetId &id) const
Definition: TrackerTopology.h:262
StripTopology::localPosition
virtual LocalPoint localPosition(float strip) const =0
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECPlus_Disc6
std::pair< double, double > MeanAndRms_TECPlus_Disc6[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:152
digitizers_cfi.strip
strip
Definition: digitizers_cfi.py:19
SiStripBadAPVAlgorithmFromClusterOccupancy::tTopo
const TrackerTopology * tTopo
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:98
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TIB_Layer3
std::pair< double, double > MeanAndRms_TIB_Layer3[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:110
SiStripBadAPVAlgorithmFromClusterOccupancy::pQuality
SiStripQuality * pQuality
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:100
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TOB_Layer3
std::pair< double, double > MeanAndRms_TOB_Layer3[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:119
gather_cfg.cout
cout
Definition: gather_cfg.py:144
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TOB_Layer6
std::pair< double, double > MeanAndRms_TOB_Layer6[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:125
SiStripBadAPVAlgorithmFromClusterOccupancy::layer_ring
int layer_ring
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:184
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TIB_Layer4
std::vector< Apv > medianValues_TIB_Layer4
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:111
TrackerTopology::tecIsStereo
bool tecIsStereo(const DetId &id) const
Definition: TrackerTopology.h:265
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TIDMinus_Disc2
std::vector< Apv > medianValues_TIDMinus_Disc2
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:136
edm::second
U second(std::pair< T, U > const &p)
Definition: ParameterSet.cc:215
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TOB_Layer4
std::vector< Apv > medianValues_TOB_Layer4
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:120
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TIB_Layer3
std::vector< Apv > medianValues_TIB_Layer3
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:109
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECPlus_Disc2
std::vector< Apv > medianValues_TECPlus_Disc2
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:143
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECMinus_Disc1
std::vector< Apv > medianValues_TECMinus_Disc1
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:160
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TOB_Layer2
std::pair< double, double > MeanAndRms_TOB_Layer2[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:117
TrackerTopology::tidModule
unsigned int tidModule(const DetId &id) const
Definition: TrackerTopology.h:175
OutputFileName
string OutputFileName
Definition: PFMETBenchmarkAnalyzer.cc:73
dqmdumpme.first
first
Definition: dqmdumpme.py:55
TrackerTopology::tidRing
unsigned int tidRing(const DetId &id) const
Definition: TrackerTopology.h:218
TrackerTopology::tobRod
unsigned int tobRod(const DetId &id) const
Definition: TrackerTopology.h:195
TrackerTopology::tidWheel
unsigned int tidWheel(const DetId &id) const
Definition: TrackerTopology.h:201
Mean
Definition: SiPixelActionExecutor.h:21
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TOB_Layer3
std::vector< Apv > medianValues_TOB_Layer3
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:118
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECPlus_Disc6
std::vector< Apv > medianValues_TECPlus_Disc6
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:151
TrackerTopology::tidIsStereo
bool tidIsStereo(const DetId &id) const
Definition: TrackerTopology.h:267
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TIDPlus_Disc1
std::pair< double, double > MeanAndRms_TIDPlus_Disc1[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:128
PV3DBase::z
T z() const
Definition: PV3DBase.h:61
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECMinus_Disc6
std::vector< Apv > medianValues_TECMinus_Disc6
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:170
SiStripBadAPVAlgorithmFromClusterOccupancy::global_position_y
float global_position_y
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:197
DetId
Definition: DetId.h:17
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TOB_Layer6
std::vector< Apv > medianValues_TOB_Layer6
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:124
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TIDMinus_Disc2
std::pair< double, double > MeanAndRms_TIDMinus_Disc2[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:137
SiStripBadStrip::Range
std::pair< ContainerIterator, ContainerIterator > Range
Definition: SiStripBadStrip.h:53
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TIB_Layer1
std::vector< Apv > medianValues_TIB_Layer1
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:105
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TOB_Layer2
std::vector< Apv > medianValues_TOB_Layer2
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:116
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TOB_Layer1
std::vector< Apv > medianValues_TOB_Layer1
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:114
Abs
T Abs(T a)
Definition: MathUtil.h:49
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TIDPlus_Disc3
std::pair< double, double > MeanAndRms_TIDPlus_Disc3[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:132
SiStripBadAPVAlgorithmFromClusterOccupancy::subdetid
int subdetid
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:183
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECPlus_Disc4
std::pair< double, double > MeanAndRms_TECPlus_Disc4[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:148
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TOB_Layer1
std::pair< double, double > MeanAndRms_TOB_Layer1[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:115
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECPlus_Disc7
std::vector< Apv > medianValues_TECPlus_Disc7
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:153
SiStripBadAPVAlgorithmFromClusterOccupancy::AnalyzeOccupancy
void AnalyzeOccupancy(SiStripQuality *, std::vector< Apv > &, std::pair< double, double > *, std::vector< unsigned int > &, edm::ESHandle< SiStripQuality > &)
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.cc:449
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECMinus_Disc9
std::vector< Apv > medianValues_TECMinus_Disc9
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:176
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECMinus_Disc7
std::vector< Apv > medianValues_TECMinus_Disc7
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:172
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TIDPlus_Disc1
std::vector< Apv > medianValues_TIDPlus_Disc1
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:127
TrackerTopology::tibIsStereo
bool tibIsStereo(const DetId &id) const
Definition: TrackerTopology.h:266
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECMinus_Disc2
std::vector< Apv > medianValues_TECMinus_Disc2
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:162
StripSubdetector::TIB
static constexpr auto TIB
Definition: StripSubdetector.h:16
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECMinus_Disc9
std::pair< double, double > MeanAndRms_TECMinus_Disc9[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:177
SiStripBadAPVAlgorithmFromClusterOccupancy::apvMedianOccupancy
double apvMedianOccupancy
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:201
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECPlus_Disc8
std::pair< double, double > MeanAndRms_TECPlus_Disc8[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:156
SiStripBadAPVAlgorithmFromClusterOccupancy::f
TFile * f
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:179
Point3DBase< float, LocalTag >
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TIDPlus_Disc2
std::pair< double, double > MeanAndRms_TIDPlus_Disc2[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:130
SiStripBadAPVAlgorithmFromClusterOccupancy::minNevents_
double minNevents_
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:93
DetId::subdetId
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
Definition: DetId.h:48
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TIB_Layer2
std::vector< Apv > medianValues_TIB_Layer2
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:107
SiStripBadAPVAlgorithmFromClusterOccupancy::disc
int disc
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:185
TrackerTopology::tibString
unsigned int tibString(const DetId &id) const
Definition: TrackerTopology.h:419
SiStripBadAPVAlgorithmFromClusterOccupancy::global_position_x
float global_position_x
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:196
a
double a
Definition: hdecay.h:119
TrackerTopology::tecPetalNumber
unsigned int tecPetalNumber(const DetId &id) const
Definition: TrackerTopology.h:221
TrackerTopology::tobIsZMinusSide
bool tobIsZMinusSide(const DetId &id) const
Definition: TrackerTopology.h:253
rctMonitor_cfi.WriteOutputFile
WriteOutputFile
Name of root file for histograms.
Definition: rctMonitor_cfi.py:8
SiStripBadAPVAlgorithmFromClusterOccupancy::OutFileName_
std::string OutFileName_
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:94
PV3DBase::y
T y() const
Definition: PV3DBase.h:60
TrackerTopology::tibModule
unsigned int tibModule(const DetId &id) const
Definition: TrackerTopology.h:172
sistrip::APV
Definition: ConstantsForGranularity.h:79
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TOB_Layer4
std::pair< double, double > MeanAndRms_TOB_Layer4[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:121
createfilelist.int
int
Definition: createfilelist.py:10
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECPlus_Disc3
std::pair< double, double > MeanAndRms_TECPlus_Disc3[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:146
TrackerTopology::tecRing
unsigned int tecRing(const DetId &id) const
ring id
Definition: TrackerTopology.h:217
SiStripBadAPVAlgorithmFromClusterOccupancy::stripWeight
double stripWeight[6][128]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:103
SiStripQuality::fillBadComponents
void fillBadComponents()
Definition: SiStripQuality.cc:536
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECPlus_Disc5
std::pair< double, double > MeanAndRms_TECPlus_Disc5[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:150
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TIDMinus_Disc3
std::vector< Apv > medianValues_TIDMinus_Disc3
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:138
cms::cuda::for
for(int i=first, nt=offsets[nh];i< nt;i+=gridDim.x *blockDim.x)
Definition: HistoContainer.h:27
SiStripBadAPVAlgorithmFromClusterOccupancy::module_number
int module_number
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:191
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TIDPlus_Disc3
std::vector< Apv > medianValues_TIDPlus_Disc3
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:131
SiStripQuality::IsApvBad
bool IsApvBad(const uint32_t &detid, const short &apvNb) const
Definition: SiStripQuality.cc:620
SiStripBadAPVAlgorithmFromClusterOccupancy::Nevents_
double Nevents_
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:91
TrackerTopology::tobLayer
unsigned int tobLayer(const DetId &id) const
Definition: TrackerTopology.h:147
SiStripBadAPVAlgorithmFromClusterOccupancy::apv_number
int apv_number
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:194
TrackerTopology::tidIsBackRing
bool tidIsBackRing(const DetId &id) const
Definition: TrackerTopology.h:441
SiStripBadAPVAlgorithmFromClusterOccupancy::UseInputDB_
bool UseInputDB_
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:96
StripSubdetector::TEC
static constexpr auto TEC
Definition: StripSubdetector.h:19
TrackerTopology::tobModule
unsigned int tobModule(const DetId &id) const
Definition: TrackerTopology.h:166
SiStripBadAPVAlgorithmFromClusterOccupancy::isexternalstring
int isexternalstring
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:187
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TIDPlus_Disc2
std::vector< Apv > medianValues_TIDPlus_Disc2
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:129
SiStripBadAPVAlgorithmFromClusterOccupancy::highoccupancy_
long double highoccupancy_
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:88
qcdUeDQM_cfi.quality
quality
Definition: qcdUeDQM_cfi.py:31
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECPlus_Disc4
std::vector< Apv > medianValues_TECPlus_Disc4
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:147
SiStripBadAPVAlgorithmFromClusterOccupancy::lowoccupancy_
long double lowoccupancy_
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:87
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TIDMinus_Disc1
std::vector< Apv > medianValues_TIDMinus_Disc1
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:134
SiStripBadAPVAlgorithmFromClusterOccupancy::global_position_z
float global_position_z
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:198
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TIB_Layer1
std::pair< double, double > MeanAndRms_TIB_Layer1[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:106
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TOB_Layer5
std::pair< double, double > MeanAndRms_TOB_Layer5[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:123
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECMinus_Disc3
std::vector< Apv > medianValues_TECMinus_Disc3
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:164
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECMinus_Disc8
std::vector< Apv > medianValues_TECMinus_Disc8
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:174
StripSubdetector::TOB
static constexpr auto TOB
Definition: StripSubdetector.h:18
SiStripBadAPVAlgorithmFromClusterOccupancy::isstereo
int isstereo
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:190
SiStripBadAPVAlgorithmFromClusterOccupancy::absolutelow_
long double absolutelow_
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:89
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECPlus_Disc1
std::pair< double, double > MeanAndRms_TECPlus_Disc1[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:142
SiStripBadAPVAlgorithmFromClusterOccupancy::number_apvs
int number_apvs
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:193
SiStripBadAPVAlgorithmFromClusterOccupancy::detrawid
uint32_t detrawid
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:182
TrackerTopology::tecModule
unsigned int tecModule(const DetId &id) const
Definition: TrackerTopology.h:169
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECPlus_Disc5
std::vector< Apv > medianValues_TECPlus_Disc5
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:149
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECPlus_Disc3
std::vector< Apv > medianValues_TECPlus_Disc3
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:145
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TIB_Layer2
std::pair< double, double > MeanAndRms_TIB_Layer2[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:108
edm::isDebugEnabled
bool isDebugEnabled()
Definition: MessageLogger.cc:71
StripGeomDetUnit::specificTopology
virtual const StripTopology & specificTopology() const
Returns a reference to the strip proxy topology.
Definition: StripGeomDetUnit.cc:17
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECMinus_Disc8
std::pair< double, double > MeanAndRms_TECMinus_Disc8[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:175
SiStripBadAPVAlgorithmFromClusterOccupancy::number_strips
int number_strips
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:192
LogTrace
#define LogTrace(id)
Definition: MessageLogger.h:671
SiStripBadAPVAlgorithmFromClusterOccupancy::apvAbsoluteOccupancy
double apvAbsoluteOccupancy
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:200
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECPlus_Disc1
std::vector< Apv > medianValues_TECPlus_Disc1
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:141
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECPlus_Disc7
std::pair< double, double > MeanAndRms_TECPlus_Disc7[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:154
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TIB_Layer4
std::pair< double, double > MeanAndRms_TIB_Layer4[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:112
TrackerTopology::tecIsBackPetal
bool tecIsBackPetal(const DetId &id) const
Definition: TrackerTopology.h:414
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
SiStripBadAPVAlgorithmFromClusterOccupancy::ss
std::stringstream ss
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:203
SiStripQuality::clear
void clear()
Definition: SiStripQuality.h:52
SiStripBadStrip::encode
unsigned int encode(const unsigned short &first, const unsigned short &NconsecutiveBadStrips, const unsigned short &flag=0)
Definition: SiStripBadStrip.h:86
TrackerTopology::tibIsZMinusSide
bool tibIsZMinusSide(const DetId &id) const
Definition: TrackerTopology.h:256
TrackerTopology::tecWheel
unsigned int tecWheel(const DetId &id) const
Definition: TrackerTopology.h:198
StripTopology
Definition: StripTopology.h:11
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECMinus_Disc6
std::pair< double, double > MeanAndRms_TECMinus_Disc6[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:171
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECPlus_Disc2
std::pair< double, double > MeanAndRms_TECPlus_Disc2[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:144
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECMinus_Disc5
std::pair< double, double > MeanAndRms_TECMinus_Disc5[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:169
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECPlus_Disc8
std::vector< Apv > medianValues_TECPlus_Disc8
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:155
SiStripBadAPVAlgorithmFromClusterOccupancy::isback
int isback
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:186
StripSubdetector::TID
static constexpr auto TID
Definition: StripSubdetector.h:17
SiStripBadAPVAlgorithmFromClusterOccupancy::CalculateMeanAndRMS
void CalculateMeanAndRMS(const std::vector< Apv > &, std::pair< double, double > *, int)
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.cc:402
SiStripBadAPVAlgorithmFromClusterOccupancy::iszminusside
int iszminusside
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:188
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECMinus_Disc7
std::pair< double, double > MeanAndRms_TECMinus_Disc7[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:173
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECMinus_Disc4
std::vector< Apv > medianValues_TECMinus_Disc4
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:166
SiStripBadAPVAlgorithmFromClusterOccupancy::medianValues_TECMinus_Disc5
std::vector< Apv > medianValues_TECMinus_Disc5
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:168
StripGeomDetUnit
Definition: StripGeomDetUnit.h:15
TrackerTopology::tibLayer
unsigned int tibLayer(const DetId &id) const
Definition: TrackerTopology.h:150
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECPlus_Disc9
std::pair< double, double > MeanAndRms_TECPlus_Disc9[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:158
SiStripBadAPVAlgorithmFromClusterOccupancy::MeanAndRms_TECMinus_Disc4
std::pair< double, double > MeanAndRms_TECMinus_Disc4[7]
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:167