29 if (prefixME_.substr(prefixME_.size()-1,prefixME_.size())!=
"/")
30 prefixME_.append(
"/");
55 if (
debug_>2)
std::cout <<
"\tHcalDetDiagTimingClient::analyze()"<<std::endl;
62 if (
debug_>2)
std::cout <<
"\t\tHcalDetDiagTimingClient::calculateProblems()"<<std::endl;
64 int etabins=0, phibins=0,
zside=0;
65 double problemvalue=0;
130 if (ieta==-9999)
continue;
138 if (problemvalue==0)
continue;
140 problemvalue =
std::min(1.,problemvalue);
144 ieta<0 ?
zside = -1 : zside = 1;
168 if (
debug_>0)
std::cout <<
"<HcalDetDiagTimingClient::analyze> ProblemCells histogram does not exist!"<<std::endl;
199 " Problem DetDiagTiming Rate for all HCAL;ieta;iphi",
230 if (
debug_>1)
std::cout <<
"<HcalDetDiagTimingClient::hasErrors_Temp> ProblemCells histogram does not exist!"<<std::endl;
240 for (
int hist_eta=0;hist_eta<etabins;++hist_eta)
242 for (
int hist_phi=0; hist_phi<phibins;++hist_phi)
245 if (ieta==-9999)
continue;
255 if (problemcount>0)
return true;
bool isHO(int etabin, int depth)
T getUntrackedParameter(std::string const &, T const &) const
const std::string & getName(void) const
get name of ME
MonitorElement * ProblemCells
void setBinContent(int binx, double content)
set content of bin (1-D)
std::vector< std::string > HcalEtaPhiHistNames()
bool hasWarnings_Temp(void)
bool isHE(int etabin, int depth)
std::vector< MonitorElement * > depth
int CalcIeta(int subdet, int eta, int depth)
std::vector< std::string > problemnames_
EtaPhiHists * ProblemCellsByDepth
void setup(DQMStore::IBooker &m_dbe, std::string Name, std::string Units="")
bool isHB(int etabin, int depth)
void setupProblemCells(DQMStore::IBooker &, DQMStore::IGetter &)
virtual void calculateProblems(void)
bool isHF(int etabin, int depth)
void setCurrentFolder(const std::string &fullpath)
void analyze(DQMStore::IBooker &, DQMStore::IGetter &)
MonitorElement * book2D(Args &&...args)
std::map< HcalDetId, unsigned int > badstatusmap
void FillUnphysicalHEHFBins(std::vector< TH2F > &hh)
void updateChannelStatus(std::map< HcalDetId, unsigned int > &myqual)
double getBinContent(int binx) const
get content of bin (1-D)
HcalDetDiagTimingClient()
Constructors.
bool hasErrors_Temp(void)
int badChannelStatusMask_
TH2F * getTH2F(void) const
void Reset(void)
reset ME (ie. contents, errors, etc)
~HcalDetDiagTimingClient()
Destructor.