CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes
SiStripHotStripAlgorithmFromClusterOccupancy Class Reference

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

Classes

struct  pHisto
 

Public Types

typedef SiStrip::QualityHistosMap HistoMap
 

Public Member Functions

void extractBadStrips (SiStripQuality *, HistoMap &, edm::ESHandle< SiStripQuality > &)
 
void setMinNumEntries (unsigned short m)
 
void setMinNumEntriesPerStrip (unsigned short m)
 
void setNumberOfEvents (double Nevents)
 
void setOccupancyThreshold (long double occupancy)
 
void setOutputFileName (std::string OutputFileName, bool WriteOutputFile)
 
void setProbabilityThreshold (long double prob)
 
void setTrackerGeometry (const TrackerGeometry *tkgeom)
 
 SiStripHotStripAlgorithmFromClusterOccupancy (const edm::ParameterSet &)
 
virtual ~SiStripHotStripAlgorithmFromClusterOccupancy ()
 

Private Member Functions

void evaluatePoissonian (std::vector< long double > &, long double &meanVal)
 
void iterativeSearch (pHisto &, std::vector< unsigned int > &, int)
 

Private Attributes

int apv_channel
 
int detrawid
 
int disc
 
TFile * f
 
float global_position_x
 
float global_position_y
 
float global_position_z
 
int hotStripsPerAPV
 
int hotstripsperapv [6]
 
int hotStripsPerModule
 
int hotstripspermodule
 
int isback
 
int isexternalstring
 
int isHot
 
int ishot [768]
 
int isstereo
 
int iszminusside
 
int layer_ring
 
double minNevents_
 
unsigned short MinNumEntries_
 
unsigned short MinNumEntriesPerStrip_
 
int module_position
 
double Nevents_
 
int number_strips
 
long double occupancy_
 
std::string OutFileName_
 
double poissonProb
 
double poissonprob [768]
 
SiStripQualitypQuality
 
long double prob_
 
int rodstringpetal
 
std::stringstream ss
 
int strip_number
 
int stripHits
 
int striphits [768]
 
double stripOccupancy
 
double stripoccupancy [768]
 
TTree * striptree
 
int subdetid
 
const TrackerGeometryTkGeom
 
bool UseInputDB_
 
bool WriteOutputFile_
 

Detailed Description

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

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

Definition at line 56 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.

Member Typedef Documentation

Constructor & Destructor Documentation

SiStripHotStripAlgorithmFromClusterOccupancy::SiStripHotStripAlgorithmFromClusterOccupancy ( const edm::ParameterSet iConfig)

Definition at line 6 of file SiStripHotStripAlgorithmFromClusterOccupancy.cc.

References minNevents_, Nevents_, and occupancy_.

6  :
7  prob_(1.E-7),
10  Nevents_(0),
11  occupancy_(0),
12  OutFileName_("Occupancy.root"),
13  UseInputDB_(iConfig.getUntrackedParameter<bool>("UseInputDB",false))
14  {
16  }
T getUntrackedParameter(std::string const &, T const &) const
SiStripHotStripAlgorithmFromClusterOccupancy::~SiStripHotStripAlgorithmFromClusterOccupancy ( )
virtual

Definition at line 19 of file SiStripHotStripAlgorithmFromClusterOccupancy.cc.

References LogTrace.

19  {
20  LogTrace("SiStripHotStripAlgorithmFromClusterOccupancy")<<"[SiStripHotStripAlgorithmFromClusterOccupancy::~SiStripHotStripAlgorithmFromClusterOccupancy] "<<std::endl;
21 }
#define LogTrace(id)

Member Function Documentation

void SiStripHotStripAlgorithmFromClusterOccupancy::evaluatePoissonian ( std::vector< long double > &  vPoissonProbs,
long double &  meanVal 
)
private

Definition at line 278 of file SiStripHotStripAlgorithmFromClusterOccupancy.cc.

References i.

Referenced by iterativeSearch().

278  {
279  for(size_t i=0;i<vPoissonProbs.size();++i){
280  vPoissonProbs[i]= (i==0)?TMath::Poisson(i,meanVal):vPoissonProbs[i-1]+TMath::Poisson(i,meanVal);
281  }
282 }
int i
Definition: DBlmapReader.cc:9
void SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips ( SiStripQuality OutSiStripQuality,
HistoMap DM,
edm::ESHandle< SiStripQuality > &  InSiStripQuality 
)

Definition at line 23 of file SiStripHotStripAlgorithmFromClusterOccupancy.cc.

References SiStripHotStripAlgorithmFromClusterOccupancy::pHisto::_NEntries, SiStripHotStripAlgorithmFromClusterOccupancy::pHisto::_SubdetId, SiStripHotStripAlgorithmFromClusterOccupancy::pHisto::_th1f, apv_channel, SiStripQuality::clear(), SiStripQuality::compact(), gather_cfg::cout, cond::rpcobgas::detid, detrawid, disc, f, SiStripQuality::fillBadComponents(), global_position_x, global_position_y, global_position_z, hotStripsPerAPV, hotstripsperapv, hotStripsPerModule, hotstripspermodule, i, TrackerGeometry::idToDet(), isback, edm::isDebugEnabled(), isexternalstring, isHot, ishot, isstereo, iszminusside, iterativeSearch(), TOBDetId::layer(), TIBDetId::layer(), layer_ring, StripTopology::localPosition(), LogTrace, module_position, TOBDetId::moduleNumber(), TIBDetId::moduleNumber(), TIDDetId::moduleNumber(), TECDetId::moduleNumber(), number_strips, OutFileName_, TECDetId::petalNumber(), poissonProb, poissonprob, pQuality, SiStripBadStrip::put(), TIDDetId::ring(), TECDetId::ring(), TOBDetId::rodNumber(), rodstringpetal, StripGeomDetUnit::specificTopology(), ss, SiStripDetId::stereo(), TIBDetId::stringNumber(), strip(), strip_number, stripHits, striphits, stripOccupancy, stripoccupancy, striptree, DetId::subdetId(), subdetid, StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, TkGeom, StripSubdetector::TOB, UseInputDB_, TIDDetId::wheel(), TECDetId::wheel(), WriteOutputFile_, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

Referenced by SiStripQualityHotStripIdentifier::getNewObject(), and SiStripQualityHotStripIdentifierRoot::getNewObject().

23  {
24 
25  LogTrace("SiStripHotStripAlgorithmFromClusterOccupancy")<<"[SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips] "<<std::endl;
26 
27 
28 
29  if (WriteOutputFile_==true){
30  f = new TFile(OutFileName_.c_str(),"RECREATE");
31  f->cd();
32 
33  striptree = new TTree("stripOccupancy","tree");
34 
35  striptree->Branch("DetRawId", &detrawid, "DetRawId/I");
36  striptree->Branch("SubDetId", &subdetid, "SubDetId/I");
37  striptree->Branch("Layer_Ring", &layer_ring, "Layer_Ring/I");
38  striptree->Branch("Disc", &disc, "Disc/I");
39  striptree->Branch("IsBack", &isback, "IsBack/I");
40  striptree->Branch("IsExternalString", &isexternalstring, "IsExternalString/I");
41  striptree->Branch("IsZMinusSide", &iszminusside, "IsZMinusSide/I");
42  striptree->Branch("RodStringPetal", &rodstringpetal, "RodStringPetal/I");
43  striptree->Branch("IsStereo", &isstereo, "IsStereo/I");
44  striptree->Branch("ModulePosition", &module_position, "ModulePosition/I");
45  striptree->Branch("NumberOfStrips", &number_strips, "NumberOfStrips/I");
46  striptree->Branch("StripNumber", &strip_number, "StripNumber/I");
47  striptree->Branch("APVChannel", &apv_channel, "APVChannel/I");
48  striptree->Branch("StripGlobalPositionX", &global_position_x, "StripGlobalPositionX/F");
49  striptree->Branch("StripGlobalPositionY", &global_position_y, "StripGlobalPositionY/F");
50  striptree->Branch("StripGlobalPositionZ", &global_position_z, "StripGlobalPositionZ/F");
51  striptree->Branch("IsHot", &isHot, "IsHot/I");
52  striptree->Branch("HotStripsPerAPV", &hotStripsPerAPV, "HotStripsPerAPV/I");
53  striptree->Branch("HotStripsPerModule", &hotStripsPerModule,"HotStripsPerModule/I");
54  striptree->Branch("StripOccupancy", &stripOccupancy, "StripOccupancy/D");
55  striptree->Branch("StripHits", &stripHits, "StripHits/I");
56  striptree->Branch("PoissonProb", &poissonProb, "PoissonProb/D");
57  }
58 
59 
60  HistoMap::iterator it=DM.begin();
61  HistoMap::iterator itEnd=DM.end();
62  std::vector<unsigned int> badStripList;
63  uint32_t detid;
64  for (;it!=itEnd;++it){
65  pHisto phisto;
66  detid=it->first;
67 
68  DetId detectorId=DetId(detid);
69  phisto._SubdetId=detectorId.subdetId();
70 
71  if (edm::isDebugEnabled())
72  LogTrace("SiStripHotStrip") << "Analyzing detid " << detid<< std::endl;
73 
74  int numberAPVs = (int)(it->second.get())->GetNbinsX()/128;
75 
76  // Set the values for the tree:
77 
78  detrawid = detid;
79  subdetid = detectorId.subdetId();
80  number_strips = (int)(it->second.get())->GetNbinsX();
81  if (SiStripDetId(detrawid).stereo() !=0 ) isstereo = 1; // It's a stereo module
82  else isstereo = 0; // It's an rphi module
83  switch (detectorId.subdetId())
84  {
87  disc = -1;
88  isback = -1;
89  if (TIBDetId(detrawid).isExternalString()) isexternalstring = 1;
90  else isexternalstring = 0;
91  if (TIBDetId(detrawid).isZMinusSide()) iszminusside = 1;
92  else iszminusside = 0;
95  break;
96 
100  if (TIDDetId(detrawid).isBackRing()) isback = 1;
101  else isback = 0;
102  if (TIDDetId(detrawid).isZMinusSide()) iszminusside = 1;
103  else iszminusside = 0;
104  isexternalstring = -1;
105  rodstringpetal = -1;
107  break;
108 
109  case StripSubdetector::TOB :
111  disc = -1;
112  isback = -1;
113  if (TOBDetId(detrawid).isZMinusSide()) iszminusside = 1;
114  else iszminusside = 0;
115  isexternalstring = -1;
118  break;
119 
120  case StripSubdetector::TEC :
123  if (TECDetId(detrawid).isBackPetal()) isback = 1;
124  else isback = 0;
125  if (TECDetId(detrawid).isZMinusSide()) iszminusside = 1;
126  else iszminusside = 0;
127  isexternalstring = -1;
130  break;
131 
132  default :
133  std::cout << "### Detector does not belong to TIB, TID, TOB or TEC !? ###" << std::endl;
134  std::cout << "### DetRawId: " << detrawid << " ###" << std::endl;
135  }
136 
137  // End: Set the values for the tree.
138 
139 
140  pQuality=OutSiStripQuality;
141  badStripList.clear();
142 
143  for (int i=0; i<768; i++){
144  ishot[i] = 0;
145  stripoccupancy[i] = 0;
146  striphits[i] = 0;
147  poissonprob[i] = 0;
148  hotstripsperapv[i/128] = 0;
149  }
150 
151  hotstripspermodule = 0;
152 
153  for (int apv=0; apv<numberAPVs; apv++){
154  if(UseInputDB_){
155  if(InSiStripQuality->IsApvBad(detid,apv) ){
156  if(edm::isDebugEnabled())
157  LogTrace("SiStripHotStrip")<<"(Module and Apv number) "<<detid<<" , "<<apv<<" excluded by input ESetup."<<std::endl;
158  continue;//if the apv is already flagged as bad, continue.
159  }
160  else{
161  if(edm::isDebugEnabled())
162  LogTrace("SiStripHotStrip")<<"(Module and Apv number) "<<detid<<" , "<<apv<<" good by input ESetup."<<std::endl;
163  }
164  }
165 
166  phisto._th1f = new TH1F("tmp","tmp",128,0.5,128.5);
167  int NumberEntriesPerAPV=0;
168 
169  for (int strip=0; strip<128; strip++){
170  phisto._th1f->SetBinContent(strip+1,(it->second.get())->GetBinContent((apv*128)+strip+1));
171  NumberEntriesPerAPV += (int)(it->second.get())->GetBinContent((apv*128)+strip+1);
172  }
173 
174  phisto._th1f->SetEntries(NumberEntriesPerAPV);
175  phisto._NEntries=(int)phisto._th1f->GetEntries();
176 
177  LogTrace("SiStripHotStrip") << "Number of clusters in APV " << apv << ": " << NumberEntriesPerAPV << std::endl;
178 
179  iterativeSearch(phisto,badStripList,apv);
180 
181  delete phisto._th1f;
182  }
183 
184  const StripGeomDetUnit* theStripDet = dynamic_cast<const StripGeomDetUnit*>( (TkGeom->idToDet(detectorId)) );
185  const StripTopology* theStripTopol = dynamic_cast<const StripTopology*>( &(theStripDet->specificTopology()) );
186 
187  for (int strip=0; strip<number_strips; strip++)
188  {
189  strip_number = strip+1;
190  apv_channel = (strip%128)+1;
191  isHot = ishot[strip];
195 
198 
199  LocalPoint pos_strip_local = theStripTopol->localPosition(strip);
200  GlobalPoint pos_strip_global = (TkGeom->idToDet(detectorId))->surface().toGlobal(pos_strip_local);
201 
202  global_position_x = pos_strip_global.x();
203  global_position_y = pos_strip_global.y();
204  global_position_z = pos_strip_global.z();
205 
206  if (WriteOutputFile_==true) striptree->Fill();
207  }
208 
209  if (badStripList.begin()==badStripList.end())
210  continue;
211 
212  OutSiStripQuality->compact(detid,badStripList);
213 
214  SiStripQuality::Range range(badStripList.begin(),badStripList.end());
215  if ( ! OutSiStripQuality->put(detid,range) )
216  edm::LogError("SiStripHotStrip")<<"[SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips] detid already exists"<<std::endl;
217  }
218  OutSiStripQuality->fillBadComponents();
219 
220  if (WriteOutputFile_==true){
221  f->cd();
222  striptree->Write();
223  f->Close();
224  }
225 
226  LogTrace("SiStripHotStrip") << ss.str() << std::endl;
227 }
unsigned int rodNumber() const
Definition: TOBDetId.h:77
bool isDebugEnabled()
int i
Definition: DBlmapReader.cc:9
unsigned int petalNumber() const
Definition: TECDetId.h:94
unsigned int stringNumber() const
Definition: TIBDetId.h:87
unsigned int layer() const
layer id
Definition: TOBDetId.h:39
void strip(std::string &input, const std::string &blanks=" \n\t")
Definition: stringTools.cc:16
virtual uint32_t stereo() const
Definition: SiStripDetId.h:150
T y() const
Definition: PV3DBase.h:57
virtual const StripTopology & specificTopology() const
Returns a reference to the strip proxy topology.
T z() const
Definition: PV3DBase.h:58
unsigned int moduleNumber() const
Definition: TIBDetId.h:91
void compact(unsigned int &, std::vector< unsigned int > &)
unsigned int ring() const
ring id
Definition: TIDDetId.h:55
void fillBadComponents()
int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:39
virtual const GeomDet * idToDet(DetId) const
#define LogTrace(id)
unsigned int moduleNumber() const
Definition: TECDetId.h:102
Detector identifier class for the strip tracker.
Definition: SiStripDetId.h:17
Definition: DetId.h:20
void iterativeSearch(pHisto &, std::vector< unsigned int > &, int)
unsigned int wheel() const
wheel id
Definition: TECDetId.h:52
unsigned int layer() const
layer id
Definition: TIBDetId.h:41
std::pair< ContainerIterator, ContainerIterator > Range
unsigned int ring() const
ring id
Definition: TECDetId.h:71
virtual LocalPoint localPosition(float strip) const =0
tuple cout
Definition: gather_cfg.py:41
bool put(const uint32_t &detID, const InputVector &vect)
T x() const
Definition: PV3DBase.h:56
unsigned int moduleNumber() const
Definition: TIDDetId.h:101
unsigned int moduleNumber() const
Definition: TOBDetId.h:81
unsigned int wheel() const
wheel id
Definition: TIDDetId.h:50
void SiStripHotStripAlgorithmFromClusterOccupancy::iterativeSearch ( pHisto histo,
std::vector< unsigned int > &  vect,
int  apv 
)
private

Definition at line 230 of file SiStripHotStripAlgorithmFromClusterOccupancy.cc.

References SiStripHotStripAlgorithmFromClusterOccupancy::pHisto::_NEmptyBins, SiStripHotStripAlgorithmFromClusterOccupancy::pHisto::_NEntries, SiStripHotStripAlgorithmFromClusterOccupancy::pHisto::_th1f, diffTreeTool::diff, SiStripBadStrip::encode(), python.tagInventory::entries, evaluatePoissonian(), hotstripsperapv, hotstripspermodule, i, edm::isDebugEnabled(), ishot, LogTrace, minNevents_, MinNumEntries_, MinNumEntriesPerStrip_, Nevents_, poissonprob, pQuality, prob_, striphits, and stripoccupancy.

Referenced by extractBadStrips().

230  {
231  if (!histo._NEntries || histo._NEntries <=MinNumEntries_ || histo._NEntries <= minNevents_)
232  return;
233 
234  size_t startingSize=vect.size();
235  long double diff=1.-prob_;
236 
237  int Nbins = histo._th1f->GetNbinsX();
238  int ibinStart = 1;
239  int ibinStop = Nbins+1;
240  int MaxEntry = (int)histo._th1f->GetMaximum();
241 
242  std::vector<long double> vPoissonProbs(MaxEntry+1,0);
243  long double meanVal=1.*histo._NEntries/(1.*Nbins-histo._NEmptyBins);
244  evaluatePoissonian(vPoissonProbs,meanVal);
245 
246  for (Int_t i=ibinStart; i<ibinStop; ++i){
247  unsigned int entries= (unsigned int)histo._th1f->GetBinContent(i);
248 
249  if (ishot[(apv*128)+i-1]==0){
250  stripoccupancy[(apv*128)+i-1] = entries/(double) Nevents_;
251  striphits[(apv*128)+i-1] = entries;
252  poissonprob[(apv*128)+i-1] = 1-vPoissonProbs[entries];
253  }
254 
255  if (entries<=MinNumEntriesPerStrip_ || entries <= minNevents_)
256  continue;
257 
258  if(diff<vPoissonProbs[entries]){
259  ishot[(apv*128)+i-1] = 1;
261  hotstripsperapv[apv]++;
262  histo._th1f->SetBinContent(i,0.);
263  histo._NEntries-=entries;
264  histo._NEmptyBins++;
265  if (edm::isDebugEnabled())
266  LogTrace("SiStripHotStrip")<< " rejecting strip " << (apv*128)+i-1 << " value " << entries << " diff " << diff << " prob " << vPoissonProbs[entries]<< std::endl;
267  vect.push_back(pQuality->encode((apv*128)+i-1,1,0));
268  }
269 
270  }
271  if (edm::isDebugEnabled())
272  LogTrace("SiStripHotStrip") << " [SiStripHotStripAlgorithmFromClusterOccupancy::iterativeSearch] Nbins="<< Nbins << " MaxEntry="<<MaxEntry << " meanVal=" << meanVal << " NEmptyBins="<<histo._NEmptyBins<< " NEntries=" << histo._NEntries << " thEntries " << histo._th1f->GetEntries()<< " startingSize " << startingSize << " vector.size " << vect.size() << std::endl;
273 
274  if (vect.size()!=startingSize)
275  iterativeSearch(histo,vect,apv);
276 }
bool isDebugEnabled()
int i
Definition: DBlmapReader.cc:9
void evaluatePoissonian(std::vector< long double > &, long double &meanVal)
tuple histo
Definition: trackerHits.py:12
#define LogTrace(id)
void iterativeSearch(pHisto &, std::vector< unsigned int > &, int)
perl if(1 lt scalar(@::datatypes))
Definition: edlooper.cc:31
unsigned int encode(const unsigned short &first, const unsigned short &NconsecutiveBadStrips, const unsigned short &flag=0)
void SiStripHotStripAlgorithmFromClusterOccupancy::setMinNumEntries ( unsigned short  m)
inline
void SiStripHotStripAlgorithmFromClusterOccupancy::setMinNumEntriesPerStrip ( unsigned short  m)
inline
void SiStripHotStripAlgorithmFromClusterOccupancy::setNumberOfEvents ( double  Nevents)

Definition at line 284 of file SiStripHotStripAlgorithmFromClusterOccupancy.cc.

References edm::isDebugEnabled(), LogTrace, minNevents_, Nevents_, and occupancy_.

Referenced by SiStripQualityHotStripIdentifierRoot::bookHistos(), and SiStripQualityHotStripIdentifierRoot::getNewObject().

284  {
285  Nevents_=Nevents;
287  if (edm::isDebugEnabled())
288  LogTrace("SiStripHotStrip")<<" [SiStripHotStripAlgorithmFromClusterOccupancy::setNumberOfEvents] minNumber of Events per strip used to consider a strip bad" << minNevents_ << " for occupancy " << occupancy_ << std::endl;
289 }
bool isDebugEnabled()
#define LogTrace(id)
void SiStripHotStripAlgorithmFromClusterOccupancy::setOccupancyThreshold ( long double  occupancy)
inline
void SiStripHotStripAlgorithmFromClusterOccupancy::setOutputFileName ( std::string  OutputFileName,
bool  WriteOutputFile 
)
inline
void SiStripHotStripAlgorithmFromClusterOccupancy::setProbabilityThreshold ( long double  prob)
inline
void SiStripHotStripAlgorithmFromClusterOccupancy::setTrackerGeometry ( const TrackerGeometry tkgeom)
inline

Member Data Documentation

int SiStripHotStripAlgorithmFromClusterOccupancy::apv_channel
private

Definition at line 121 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.

Referenced by extractBadStrips().

int SiStripHotStripAlgorithmFromClusterOccupancy::detrawid
private

Definition at line 109 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.

Referenced by extractBadStrips().

int SiStripHotStripAlgorithmFromClusterOccupancy::disc
private

Definition at line 112 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.

Referenced by extractBadStrips().

TFile* SiStripHotStripAlgorithmFromClusterOccupancy::f
private
float SiStripHotStripAlgorithmFromClusterOccupancy::global_position_x
private

Definition at line 123 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.

Referenced by extractBadStrips().

float SiStripHotStripAlgorithmFromClusterOccupancy::global_position_y
private

Definition at line 124 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.

Referenced by extractBadStrips().

float SiStripHotStripAlgorithmFromClusterOccupancy::global_position_z
private

Definition at line 125 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.

Referenced by extractBadStrips().

int SiStripHotStripAlgorithmFromClusterOccupancy::hotStripsPerAPV
private

Definition at line 128 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.

Referenced by extractBadStrips().

int SiStripHotStripAlgorithmFromClusterOccupancy::hotstripsperapv[6]
private
int SiStripHotStripAlgorithmFromClusterOccupancy::hotStripsPerModule
private

Definition at line 129 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.

Referenced by extractBadStrips().

int SiStripHotStripAlgorithmFromClusterOccupancy::hotstripspermodule
private
int SiStripHotStripAlgorithmFromClusterOccupancy::isback
private

Definition at line 113 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.

Referenced by extractBadStrips().

int SiStripHotStripAlgorithmFromClusterOccupancy::isexternalstring
private

Definition at line 114 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.

Referenced by extractBadStrips().

int SiStripHotStripAlgorithmFromClusterOccupancy::isHot
private

Definition at line 127 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.

Referenced by extractBadStrips().

int SiStripHotStripAlgorithmFromClusterOccupancy::ishot[768]
private
int SiStripHotStripAlgorithmFromClusterOccupancy::isstereo
private

Definition at line 117 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.

Referenced by extractBadStrips().

int SiStripHotStripAlgorithmFromClusterOccupancy::iszminusside
private

Definition at line 115 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.

Referenced by extractBadStrips().

int SiStripHotStripAlgorithmFromClusterOccupancy::layer_ring
private

Definition at line 111 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.

Referenced by extractBadStrips().

double SiStripHotStripAlgorithmFromClusterOccupancy::minNevents_
private
unsigned short SiStripHotStripAlgorithmFromClusterOccupancy::MinNumEntries_
private
unsigned short SiStripHotStripAlgorithmFromClusterOccupancy::MinNumEntriesPerStrip_
private
int SiStripHotStripAlgorithmFromClusterOccupancy::module_position
private

Definition at line 118 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.

Referenced by extractBadStrips().

double SiStripHotStripAlgorithmFromClusterOccupancy::Nevents_
private
int SiStripHotStripAlgorithmFromClusterOccupancy::number_strips
private

Definition at line 119 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.

Referenced by extractBadStrips().

long double SiStripHotStripAlgorithmFromClusterOccupancy::occupancy_
private
std::string SiStripHotStripAlgorithmFromClusterOccupancy::OutFileName_
private
double SiStripHotStripAlgorithmFromClusterOccupancy::poissonProb
private

Definition at line 132 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.

Referenced by extractBadStrips().

double SiStripHotStripAlgorithmFromClusterOccupancy::poissonprob[768]
private
SiStripQuality* SiStripHotStripAlgorithmFromClusterOccupancy::pQuality
private
long double SiStripHotStripAlgorithmFromClusterOccupancy::prob_
private
int SiStripHotStripAlgorithmFromClusterOccupancy::rodstringpetal
private

Definition at line 116 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.

Referenced by extractBadStrips().

std::stringstream SiStripHotStripAlgorithmFromClusterOccupancy::ss
private

Definition at line 142 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.

Referenced by extractBadStrips().

int SiStripHotStripAlgorithmFromClusterOccupancy::strip_number
private

Definition at line 120 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.

Referenced by extractBadStrips().

int SiStripHotStripAlgorithmFromClusterOccupancy::stripHits
private

Definition at line 131 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.

Referenced by extractBadStrips().

int SiStripHotStripAlgorithmFromClusterOccupancy::striphits[768]
private
double SiStripHotStripAlgorithmFromClusterOccupancy::stripOccupancy
private

Definition at line 130 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.

Referenced by extractBadStrips().

double SiStripHotStripAlgorithmFromClusterOccupancy::stripoccupancy[768]
private
TTree* SiStripHotStripAlgorithmFromClusterOccupancy::striptree
private

Definition at line 107 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.

Referenced by extractBadStrips().

int SiStripHotStripAlgorithmFromClusterOccupancy::subdetid
private

Definition at line 110 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.

Referenced by extractBadStrips().

const TrackerGeometry* SiStripHotStripAlgorithmFromClusterOccupancy::TkGeom
private
bool SiStripHotStripAlgorithmFromClusterOccupancy::UseInputDB_
private

Definition at line 108 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.

Referenced by extractBadStrips().

bool SiStripHotStripAlgorithmFromClusterOccupancy::WriteOutputFile_
private