29 if (prefixME_.substr(prefixME_.size()-1,prefixME_.size())!=
"/")
30 prefixME_.append(
"/");
51 if (
debug_>2)
std::cout <<
"\tHcalDetDiagNoiseMonitorClient::analyze()"<<std::endl;
57 if (
debug_>2)
std::cout <<
"\t\tHcalDetDiagNoiseMonitorClient::calculateProblems()"<<std::endl;
60 int etabins=0, phibins=0, zside=0;
61 double problemvalue=0;
126 if (ieta==-9999)
continue;
134 if (problemvalue==0)
continue;
136 problemvalue =
std::min(1.,problemvalue);
140 ieta<0 ? zside = -1 : zside = 1;
164 if (
debug_>0)
std::cout <<
"<HcalDetDiagNoiseMonitorClient::analyze> ProblemCells histogram does not exist!"<<std::endl;
190 std::cout <<
"<HcalDetDiagNoiseMonitorClient::beginJob()> Displaying dqmStore directory structure:"<<std::endl;
201 if (
debug_>0)
std::cout <<
"<HcalDetDiagNoiseMonitorClient::beginRun> dqmStore does not exist!"<<std::endl;
209 " Problem DetDiagNoiseMonitor Rate for all HCAL;ieta;iphi",
232 if (
debug_>1)
std::cout <<
"<HcalDetDiagNoiseMonitorClient::hasErrors_Temp> ProblemCells histogram does not exist!"<<std::endl;
238 for (
int depth=0;depth<4; ++depth)
242 for (
int hist_eta=0;hist_eta<etabins;++hist_eta)
244 for (
int hist_phi=0; hist_phi<phibins;++hist_phi)
247 if (ieta==-9999)
continue;
257 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
void calculateProblems(void)
HcalDetDiagNoiseMonitorClient()
Constructors.
MonitorElement * ProblemCells
void setBinContent(int binx, double content)
set content of bin (1-D)
bool hasErrors_Temp(void)
std::vector< std::string > HcalEtaPhiHistNames()
void setup(DQMStore *&m_dbe, std::string Name, std::string Units="")
bool isHE(int etabin, int depth)
void updateChannelStatus(std::map< HcalDetId, unsigned int > &myqual)
std::vector< MonitorElement * > depth
int CalcIeta(int subdet, int eta, int depth)
std::vector< std::string > problemnames_
EtaPhiHists * ProblemCellsByDepth
bool hasWarnings_Temp(void)
bool isHB(int etabin, int depth)
~HcalDetDiagNoiseMonitorClient()
Destructor.
bool isHF(int etabin, int depth)
std::map< HcalDetId, unsigned int > badstatusmap
void FillUnphysicalHEHFBins(std::vector< TH2F > &hh)
double getBinContent(int binx) const
get content of bin (1-D)
void showDirStructure(void) const
int badChannelStatusMask_
TH2F * getTH2F(void) const
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
void Reset(void)
reset ME (ie. contents, errors, etc)
void setCurrentFolder(const std::string &fullpath)