19 absolute_occupancy_(0),
20 OutFileName_(
"Occupancy.root"),
21 DQMOutfileName_(
"DQMOutput"),
22 UseInputDB_(iConfig.getUntrackedParameter<bool>(
"UseInputDB",
false)),
29 LogTrace(
"SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy")<<
"[SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::~SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy] "<<std::endl;
34 LogTrace(
"SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy")<<
"[SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVs] "<<std::endl;
41 apvtree =
new TTree(
"moduleOccupancy",
"tree");
62 striptree =
new TTree(
"stripOccupancy",
"tree");
90 HistoMap::iterator it=DM.begin();
91 HistoMap::iterator itEnd=DM.end();
92 std::vector<unsigned int> badStripList;
94 for (;it!=itEnd;++it){
98 for (
int apv=0; apv<6; apv++)
105 for (
int strip=0; strip<128; strip++)
118 APV.
th1f[apv] =
new TH1F(
"tmp",
"tmp",128,0.5,128.5);
119 int NumberEntriesPerAPV=0;
121 for (
int strip=0; strip<128; strip++)
123 stripOccupancy[apv][strip] = (it->second.get())->GetBinContent((apv*128)+strip+1);
126 APV.
th1f[apv]->SetBinContent(strip+1,(it->second.get())->GetBinContent((apv*128)+strip+1));
127 NumberEntriesPerAPV += (int)(it->second.get())->GetBinContent((apv*128)+strip+1);
130 APV.
th1f[apv]->SetEntries(NumberEntriesPerAPV);
143 LogTrace(
"SiStripBadAPV") <<
"Analyzing detid " << detid<< std::endl;
232 std::cout <<
"### Detector does not belong to TIB, TID, TOB or TEC !? ###" << std::endl;
279 badStripList.
clear();
364 LogTrace(
"SiStripBadAPV") <<
ss.str() << std::endl;
370 Double_t tot[7], tot2[7];
373 Double_t
Mean[7] = {0};
374 Double_t Rms[7] = {1000,1000,1000,1000,1000,1000,1000};
378 for (
int i=0;
i<number_iterations;
i++)
380 for (
int j=0;
j<7;
j++)
387 for (uint32_t it=0; it<a.size(); it++)
389 Moduleposition = (a[it].modulePosition)-1;
391 for (
int apv=0; apv<a[it].numberApvs; apv++)
395 if (a[it].apvMedian[apv]<(Mean[Moduleposition]-3*Rms[Moduleposition]) || (a[it].apvMedian[apv]>(Mean[Moduleposition]+5*Rms[Moduleposition])))
400 tot[Moduleposition] += a[it].apvMedian[apv];
401 tot2[Moduleposition] += (a[it].apvMedian[apv])*(a[it].apvMedian[apv]);
406 for (
int j=0;
j<7;
j++)
410 Mean[
j] = tot[
j]/n[
j];
416 for (
int j=0;
j<7;
j++)
418 MeanRMS[
j] = std::make_pair(Mean[
j],Rms[j]);
428 for (uint32_t it=0; it<medianValues.size(); it++)
430 Moduleposition = (medianValues[it].modulePosition)-1;
431 Detid = medianValues[it].detrawId;
443 for (
int apv=0; apv<medianValues[it].numberApvs; apv++)
445 double logMedianOccupancy = -1;
446 double logAbsoluteOccupancy = -1;
448 for (
int i=0;
i<128;
i++)
474 unsigned int layer = 0;
495 if(InSiStripQuality->IsApvBad(Detid,apv) )
500 for (
int strip=0; strip<128; strip++)
536 else if(iVec==vHotStripsInModule.size()-1)
538 distance = vHotStripsInModule[vHotStripsInModule.size()-1] - vHotStripsInModule[vHotStripsInModule.size() -2];
540 else if(vHotStripsInModule.size()>2)
542 distanceR = vHotStripsInModule[iVec + 1] - vHotStripsInModule[iVec];
543 distanceL = vHotStripsInModule[iVec] - vHotStripsInModule[iVec - 1];
548 std::cout <<
"ERROR! distance is never computed!!!\n";
568 else if (medianValues[it].apvMedian[apv]<(MeanAndRms[Moduleposition].
first-
lowoccupancy_*MeanAndRms[Moduleposition].
second) && (MeanAndRms[Moduleposition].first>2 || medianValues[it].apvabsoluteOccupancy[apv]==0))
582 for (
int strip=0; strip<128; strip++)
617 else if(iVec==vHotStripsInModule.size()-1)
619 distance = vHotStripsInModule[vHotStripsInModule.size()-1] - vHotStripsInModule[vHotStripsInModule.size() -2];
621 else if(vHotStripsInModule.size()>2)
623 distanceR = vHotStripsInModule[iVec + 1] - vHotStripsInModule[iVec];
624 distanceL = vHotStripsInModule[iVec] - vHotStripsInModule[iVec - 1];
629 std::cout <<
"ERROR! distance is never computed!!!\n";
638 if (BadStripList.begin()!=BadStripList.end())
640 quality->
compact(Detid,BadStripList);
642 quality->
put(Detid,range);
644 BadStripList.clear();
652 size_t startingSize=vect.size();
655 size_t Nbins = histo.
th1f[apv]->GetNbinsX();
656 size_t ibinStart = 1;
657 size_t ibinStop = Nbins+1;
658 int MaxEntry = (int)histo.
th1f[apv]->GetMaximum();
660 std::vector<long double> vPoissonProbs(MaxEntry+1,0);
665 unsigned int goodstripentries[128];
667 for (
size_t i=ibinStart;
i<ibinStop; ++
i){
668 if (
ishot[(apv*128)+
i-1]==0){
669 goodstripentries[nGoodStrips] = (
unsigned int)histo.
th1f[apv]->GetBinContent(
i);
673 double median = TMath::Median(nGoodStrips,goodstripentries);
675 for (
size_t i=ibinStart;
i<ibinStop; ++
i){
676 unsigned int entries= (
unsigned int)histo.
th1f[apv]->GetBinContent(
i);
688 if(diff<vPoissonProbs[entries]){
692 histo.
th1f[apv]->SetBinContent(
i,0.);
696 LogTrace(
"SiStripHotStrip")<<
" rejecting strip " << (apv*128)+
i-1 <<
" value " << entries <<
" diff " << diff <<
" prob " << vPoissonProbs[entries]<< std::endl;
702 LogTrace(
"SiStripHotStrip") <<
" [SiStripHotStripAlgorithmFromClusterOccupancy::iterativeSearch] Nbins="<< Nbins <<
" MaxEntry="<<MaxEntry <<
" meanVal=" << meanVal <<
" NEmptyBins="<<histo.
NEmptyBins[apv]<<
" NEntries=" << histo.
NEntries[apv] <<
" thEntries " << histo.
th1f[apv]->GetEntries()<<
" startingSize " << startingSize <<
" vector.size " << vect.size() << std::endl;
704 if (vect.size()!=startingSize)
709 for(
size_t i=0;
i<vPoissonProbs.size();++
i){
710 vPoissonProbs[
i]= (
i==0)?TMath::Poisson(
i,meanVal):vPoissonProbs[
i-1]+TMath::Poisson(
i,meanVal);
778 std::cout <<
"### Detector does not belong to TIB, TID, TOB or TEC !? ###" << std::endl;
779 std::cout <<
"### DetRawId: " << detid <<
" ###" << std::endl;
806 histoName =
"distanceVsStripNumber" +
subDetName[
i];
807 histoTitle =
"Distance between hot strips vs. strip number";
810 tmp =
dqmStore->
book2D(histoName.c_str(), histoTitle.c_str(), 768, 0.5, 768.5, 999, 0.5, 999.5);
813 histoName =
"pfxDistanceVsStripNumber" +
subDetName[
i];
814 tmp_prof =
new TProfile(histoName.c_str(), histoTitle.c_str(), 768, 0.5, 768.5);
820 histoName =
"projXDistanceVsStripNumber" +
subDetName[
i];
821 histoTitle =
"Number of hot strips vs. strip number";
829 histoName =
"projYDistanceVsStripNumber" +
subDetName[
i];
830 histoTitle =
"Distribution of distance between hot strips";
839 histoName =
"occupancyVsStripNumber" +
subDetName[
i];
840 histoTitle =
"Occupancy of strips vs. strip number";
843 tmp =
dqmStore->
book2D(histoName.c_str(), histoTitle.c_str(), 768, 0.5, 768.5, 1000, -8.,0.);
846 histoName =
"pfxOccupancyVsStripNumber" +
subDetName[
i];
847 tmp_prof =
new TProfile(histoName.c_str(), histoTitle.c_str(), 768, 0.5, 768.5);
853 histoName =
"projYOccupancyVsStripNumber" +
subDetName[
i];
854 histoTitle =
"Distribution of strip occupancy";
863 histoName =
"occupancyHotStripsVsStripNumber" +
subDetName[
i];
864 histoTitle =
"Occupancy of hot strips vs. strip number";
867 tmp =
dqmStore->
book2D(histoName.c_str(), histoTitle.c_str(), 768, 0.5, 768.5, 1000, -8., 0.);
870 histoName =
"pfxOccupancyHotStripsVsStripNumber" +
subDetName[
i];
871 tmp_prof =
new TProfile(histoName.c_str(), histoTitle.c_str(), 768, 0.5, 768.5);
877 histoName =
"projYOccupancyHotStripsVsStripNumber" +
subDetName[
i];
878 histoTitle =
"Distribution of hot strip occupancy";
887 histoName =
"occupancyGoodStripsVsStripNumber" +
subDetName[
i];
888 histoTitle =
"Occupancy of good strips vs. strip number";
891 tmp =
dqmStore->
book2D(histoName.c_str(), histoTitle.c_str(), 768, 0.5, 768.5, 1000, -8., 0.);
894 histoName =
"pfxOccupancyGoodStripsVsStripNumber" +
subDetName[
i];
895 tmp_prof =
new TProfile(histoName.c_str(), histoTitle.c_str(), 768, 0.5, 768.5);
901 histoName =
"projYOccupancyGoodStripsVsStripNumber" +
subDetName[
i];
902 histoTitle =
"Distribution of good strip occupancy";
911 histoName =
"poissonProbVsStripNumber" +
subDetName[
i];
912 histoTitle =
"Poisson probability of strips vs. strip number";
915 tmp =
dqmStore->
book2D(histoName.c_str(), histoTitle.c_str(), 768, 0.5, 768.5, 1000, -18., 0.);
918 histoName =
"pfxPoissonProbVsStripNumber" +
subDetName[
i];
919 tmp_prof =
new TProfile(histoName.c_str(), histoTitle.c_str(), 768, 0.5, 768.5);
925 histoName =
"projYPoissonProbVsStripNumber" +
subDetName[
i];
926 histoTitle =
"Distribution of strip Poisson probability";
935 histoName =
"poissonProbHotStripsVsStripNumber" +
subDetName[
i];
936 histoTitle =
"Poisson probability of hot strips vs. strip number";
939 tmp =
dqmStore->
book2D(histoName.c_str(), histoTitle.c_str(), 768, 0.5, 768.5, 1000, -18., 0.);
942 histoName =
"pfxPoissonProbHotStripsVsStripNumber" +
subDetName[
i];
943 tmp_prof =
new TProfile(histoName.c_str(), histoTitle.c_str(), 768, 0.5, 768.5);
949 histoName =
"projYPoissonProbHotStripsVsStripNumber" +
subDetName[
i];
950 histoTitle =
"Distribution of hot strip Poisson probability";
959 histoName =
"poissonProbGoodStripsVsStripNumber" +
subDetName[
i];
960 histoTitle =
"Poisson probability of good strips vs. strip number";
963 tmp =
dqmStore->
book2D(histoName.c_str(), histoTitle.c_str(), 768, 0.5, 768.5, 1000, -18., 0.);
966 histoName =
"pfxPoissonProbGoodStripsVsStripNumber" +
subDetName[
i];
967 tmp_prof =
new TProfile(histoName.c_str(), histoTitle.c_str(), 768, 0.5, 768.5);
973 histoName =
"projYPoissonProbGoodStripsVsStripNumber" +
subDetName[
i];
974 histoTitle =
"Distribution of good strip Poisson probability";
984 histoTitle =
"NHits in strips vs. strip number";
987 tmp =
dqmStore->
book2D(histoName.c_str(), histoTitle.c_str(), 768, 0.5, 768.5, 10000, -0.5, 9999.5);
990 histoName =
"pfxNHitsVsStripNumber" +
subDetName[
i];
991 tmp_prof =
new TProfile(histoName.c_str(), histoTitle.c_str(), 768, 0.5, 768.5);
995 histoName =
"projXNHitsVsStripNumber" +
subDetName[
i];
996 histoTitle =
"Cumulative nHits in strips vs. strip number";
1002 histoName =
"projYNHitsVsStripNumber" +
subDetName[
i];
1003 histoTitle =
"Distribution of nHits for all strips";
1006 tmp =
dqmStore->
book1D(histoName.c_str(), histoTitle.c_str(), 10000, -0.5, 9999.5);
1012 histoName =
"nHitsHotStripsVsStripNumber" +
subDetName[
i];
1013 histoTitle =
"NHits in hot strips vs. strip number";
1016 tmp =
dqmStore->
book2D(histoName.c_str(), histoTitle.c_str(), 768, 0.5, 768.5, 10000, -0.5, 9999.5);
1019 histoName =
"pfxNHitsHotStripsVsStripNumber" +
subDetName[
i];
1020 tmp_prof =
new TProfile(histoName.c_str(), histoTitle.c_str(), 768, 0.5, 768.5);
1024 histoName =
"projXNHitsHotStripsVsStripNumber" +
subDetName[
i];
1025 histoTitle =
"Cumulative nHits in hot strips vs. strip number";
1031 histoName =
"projYNHitsHotStripsVsStripNumber" +
subDetName[
i];
1032 histoTitle =
"Distribution of nHits for hot strips";
1035 tmp =
dqmStore->
book1D(histoName.c_str(), histoTitle.c_str(), 10000, -0.5, 9999.5);
1041 histoName =
"nHitsGoodStripsVsStripNumber" +
subDetName[
i];
1042 histoTitle =
"NHits in good strips vs. strip number";
1045 tmp =
dqmStore->
book2D(histoName.c_str(), histoTitle.c_str(), 768, 0.5, 768.5, 10000, -0.5, 9999.5);
1048 histoName =
"pfxNHitsGoodStripsVsStripNumber" +
subDetName[
i];
1049 tmp_prof =
new TProfile(histoName.c_str(), histoTitle.c_str(), 768, 0.5, 768.5);
1053 histoName =
"projXNHitsGoodStripsVsStripNumber" +
subDetName[
i];
1054 histoTitle =
"Cumulative nHits in good strips vs. strip number";
1060 histoName =
"projYNHitsGoodStripsVsStripNumber" +
subDetName[
i];
1061 histoTitle =
"Distribution of nHits for good strips";
1064 tmp =
dqmStore->
book1D(histoName.c_str(), histoTitle.c_str(), 10000, -0.5, 9999.5);
1071 histoName =
"medianVsAbsoluteOccupancy" +
subDetName[
i];
1078 histoTitle =
"Median APV occupancy vs. absolute APV occupancy";
1085 tmp =
dqmStore->
book2D(histoName.c_str(), histoTitle.c_str(), 1000, 0., 6., 1000, -1., 3.);
1098 histoTitle =
"Median APV occupancy";
1117 histoTitle =
"Absolute APV occupancy";
1134 double logStripOccupancy = -1;
1135 double logPoissonProb = -1;
std::vector< TH1F * > projXNHitsGoodStripsVsStripNumber
std::pair< double, double > MeanAndRms_TIDMinus_Disc3[7]
std::pair< double, double > MeanAndRms_TECPlus_Disc2[7]
std::vector< Apv > medianValues_TECMinus_Disc3
std::vector< Apv > medianValues_TECMinus_Disc4
void setBasicTreeParameters(int detid)
std::vector< TProfile * > pfxPoissonProbGoodStripsVsStripNumber
float strip_global_position_z
std::vector< std::string > subDetName
std::pair< double, double > MeanAndRms_TIDMinus_Disc1[7]
std::vector< Apv > medianValues_TECPlus_Disc8
unsigned short MinNumEntries_
unsigned int tibLayer(const DetId &id) const
unsigned int tibString(const DetId &id) const
std::pair< double, double > MeanAndRms_TECPlus_Disc4[7]
unsigned int tidRing(const DetId &id) const
std::vector< Apv > medianValues_TECPlus_Disc7
std::pair< double, double > MeanAndRms_TECMinus_Disc5[7]
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
bool tobIsStereo(const DetId &id) const
void cd(void)
go to top directory (ie. root)
std::vector< Apv > medianValues_TIDMinus_Disc2
std::vector< TH2F * > distanceVsStripNumber
const TrackerGeometry * TkGeom
unsigned int tecRing(const DetId &id) const
ring id
std::vector< TH1F * > projXNHitsHotStripsVsStripNumber
std::vector< Apv > medianValues_TOB_Layer2
std::vector< TProfile * > pfxNHitsHotStripsVsStripNumber
std::vector< Apv > medianValues_TECPlus_Disc6
std::pair< double, double > MeanAndRms_TECPlus_Disc7[7]
std::vector< Apv > medianValues_TOB_Layer5
std::pair< double, double > MeanAndRms_TECPlus_Disc5[7]
std::vector< TProfile * > pfxNHitsGoodStripsVsStripNumber
std::vector< Apv > medianValues_TECPlus_Disc1
unsigned int tidWheel(const DetId &id) const
std::pair< double, double > MeanAndRms_TECMinus_Disc1[7]
std::vector< Apv > medianValues_TECPlus_Disc2
std::vector< TProfile * > pfxDistanceVsStripNumber
void CalculateMeanAndRMS(const std::vector< Apv > &, std::pair< double, double > *, int)
void initializeDQMHistograms()
virtual const StripTopology & specificTopology() const
Returns a reference to the strip proxy topology.
std::vector< TH1F * > projXNHitsVsStripNumber
std::vector< Apv > medianValues_TIB_Layer2
std::vector< Apv > medianValues_TOB_Layer6
std::vector< TH2F * > poissonProbGoodStripsVsStripNumber
bool tecIsZMinusSide(const DetId &id) const
std::vector< unsigned int > nLayers
std::vector< Apv > medianValues_TECMinus_Disc1
bool tidIsStereo(const DetId &id) const
long double absolute_occupancy_
double singleStripOccupancy
std::vector< TH1F * > projYOccupancyHotStripsVsStripNumber
std::vector< Apv > medianValues_TECMinus_Disc5
bool tidIsZMinusSide(const DetId &id) const
U second(std::pair< T, U > const &p)
std::vector< TH1F * > projYPoissonProbGoodStripsVsStripNumber
std::vector< TH1F * > projYNHitsGoodStripsVsStripNumber
bool tecIsStereo(const DetId &id) const
std::vector< Apv > medianValues_TIDMinus_Disc3
std::vector< TProfile * > pfxOccupancyGoodStripsVsStripNumber
bool tibIsExternalString(const DetId &id) const
std::vector< Apv > medianValues_TECPlus_Disc4
std::vector< std::string > layerName
bool tibIsZMinusSide(const DetId &id) const
std::vector< TH1F * > projYOccupancyVsStripNumber
std::vector< Apv > medianValues_TIDMinus_Disc1
void fillStripDQMHistograms()
std::vector< Apv > medianValues_TECMinus_Disc6
std::vector< TProfile * > pfxPoissonProbHotStripsVsStripNumber
std::vector< TH1F * > projYOccupancyGoodStripsVsStripNumber
std::vector< TH2F * > poissonProbHotStripsVsStripNumber
std::vector< TH2F * > occupancyHotStripsVsStripNumber
std::pair< double, double > MeanAndRms_TOB_Layer5[7]
unsigned int tidModule(const DetId &id) const
std::vector< Apv > medianValues_TECMinus_Disc8
std::vector< Apv > medianValues_TECMinus_Disc7
bool tidIsBackRing(const DetId &id) const
void compact(unsigned int &, std::vector< unsigned int > &)
std::pair< double, double > MeanAndRms_TOB_Layer3[7]
bool tobIsZMinusSide(const DetId &id) const
std::vector< TH1F * > projXDistanceVsStripNumber
std::string DQMOutfileName_
std::pair< double, double > MeanAndRms_TIB_Layer3[7]
std::vector< Apv > medianValues_TECMinus_Disc2
std::vector< Apv > medianValues_TIDPlus_Disc3
double stripOccupancy[6][128]
float strip_global_position_x
unsigned short MinNumEntriesPerStrip_
std::vector< Apv > medianValues_TIB_Layer4
double stripWeight[6][128]
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
virtual ~SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy()
std::vector< Apv > medianValues_TIDPlus_Disc2
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy(const edm::ParameterSet &, const TrackerTopology *)
std::pair< double, double > MeanAndRms_TECMinus_Disc4[7]
std::vector< TH1F * > projYNHitsHotStripsVsStripNumber
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
long double lowoccupancy_
std::pair< double, double > MeanAndRms_TIB_Layer1[7]
SiStrip::QualityHistosMap HistoMap
std::vector< TH1F * > projYNHitsVsStripNumber
std::pair< double, double > MeanAndRms_TECMinus_Disc8[7]
unsigned int tibModule(const DetId &id) const
unsigned int tecModule(const DetId &id) const
std::vector< Apv > medianValues_TOB_Layer1
std::vector< Apv > medianValues_TIDPlus_Disc1
std::pair< double, double > MeanAndRms_TOB_Layer4[7]
bool tecIsBackPetal(const DetId &id) const
std::vector< TProfile * > pfxPoissonProbVsStripNumber
std::pair< double, double > MeanAndRms_TECMinus_Disc9[7]
std::pair< double, double > MeanAndRms_TECMinus_Disc3[7]
std::vector< TH2F * > nHitsHotStripsVsStripNumber
std::vector< TH2F * > occupancyGoodStripsVsStripNumber
std::pair< double, double > MeanAndRms_TIB_Layer2[7]
std::pair< double, double > MeanAndRms_TOB_Layer2[7]
std::pair< double, double > MeanAndRms_TIDPlus_Disc1[7]
std::pair< double, double > MeanAndRms_TOB_Layer6[7]
void iterativeSearch(Apv &, std::vector< unsigned int > &, int)
bool tibIsStereo(const DetId &id) const
TH1F * medianOccupancy[5][10]
TH1F * getTH1F(void) const
std::pair< double, double > MeanAndRms_TECMinus_Disc6[7]
void AnalyzeOccupancy(SiStripQuality *, std::vector< Apv > &, std::pair< double, double > *, std::vector< unsigned int > &, edm::ESHandle< SiStripQuality > &)
TH1F * absoluteOccupancy[5][10]
std::vector< TH2F * > occupancyVsStripNumber
std::vector< TH1F * > projYPoissonProbHotStripsVsStripNumber
unsigned int tobModule(const DetId &id) const
const TrackerTopology * tTopo
std::vector< TH1F * > projYPoissonProbVsStripNumber
std::vector< TProfile * > pfxNHitsVsStripNumber
TH2F * medianVsAbsoluteOccupancy[5][10]
long double highoccupancy_
SiStripQuality * pQuality
void save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", const uint32_t run=0, const uint32_t lumi=0, SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE", const bool resetMEsAfterWriting=false)
TProfile * getTProfile(void) const
std::pair< ContainerIterator, ContainerIterator > Range
std::pair< double, double > MeanAndRms_TECMinus_Disc2[7]
std::pair< double, double > MeanAndRms_TECPlus_Disc6[7]
std::pair< double, double > MeanAndRms_TIDMinus_Disc2[7]
virtual LocalPoint localPosition(float strip) const =0
unsigned int tecPetalNumber(const DetId &id) const
std::pair< double, double > MeanAndRms_TIB_Layer4[7]
std::pair< double, double > MeanAndRms_TECPlus_Disc9[7]
void extractBadAPVSandStrips(SiStripQuality *, HistoMap &, edm::ESHandle< SiStripQuality > &)
std::vector< Apv > medianValues_TIB_Layer3
double apvMedianOccupancy
std::pair< double, double > MeanAndRms_TECPlus_Disc3[7]
volatile std::atomic< bool > shutdown_flag false
std::vector< Apv > medianValues_TECPlus_Disc3
std::vector< TH2F * > nHitsGoodStripsVsStripNumber
std::vector< TProfile * > pfxOccupancyVsStripNumber
std::vector< Apv > medianValues_TECPlus_Disc5
std::vector< unsigned int > vHotStripsInModule
unsigned int tobRod(const DetId &id) const
std::vector< TH1F * > projYDistanceVsStripNumber
TH2F * getTH2F(void) const
std::vector< TProfile * > pfxOccupancyHotStripsVsStripNumber
bool put(const uint32_t &detID, const InputVector &vect)
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
std::pair< double, double > MeanAndRms_TIDPlus_Disc3[7]
std::vector< Apv > medianValues_TECMinus_Disc9
unsigned int tecWheel(const DetId &id) const
std::vector< TH2F * > poissonProbVsStripNumber
std::vector< Apv > medianValues_TOB_Layer3
std::vector< Apv > medianValues_TIB_Layer1
unsigned int encode(const unsigned short &first, const unsigned short &NconsecutiveBadStrips, const unsigned short &flag=0)
std::pair< double, double > MeanAndRms_TIDPlus_Disc2[7]
void evaluatePoissonian(std::vector< long double > &, long double &meanVal)
std::pair< double, double > MeanAndRms_TOB_Layer1[7]
std::vector< Apv > medianValues_TOB_Layer4
void setCurrentFolder(const std::string &fullpath)
std::pair< double, double > MeanAndRms_TECPlus_Disc1[7]
unsigned int tobLayer(const DetId &id) const
std::pair< double, double > MeanAndRms_TECMinus_Disc7[7]
std::vector< TH2F * > nHitsVsStripNumber
const TrackerGeomDet * idToDet(DetId) const
float strip_global_position_y
std::pair< double, double > MeanAndRms_TECPlus_Disc8[7]
std::vector< Apv > medianValues_TECPlus_Disc9
int apvabsoluteOccupancy[6]
double stripoccupancy[128]