CMS 3D CMS Logo

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

#include <HcalCoarsePedestalClient.h>

Inheritance diagram for HcalCoarsePedestalClient:
HcalBaseDQClient

Public Member Functions

void analyze (DQMStore::IBooker &, DQMStore::IGetter &)
 
void beginRun (void)
 
void calculateProblems (DQMStore::IBooker &, DQMStore::IGetter &)
 
void cleanup (void)
 
void endJob (void)
 
bool hasErrors_Temp (void)
 
bool hasOther_Temp (void)
 
bool hasWarnings_Temp (void)
 
 HcalCoarsePedestalClient ()
 Constructors. More...
 
 HcalCoarsePedestalClient (std::string myname)
 
 HcalCoarsePedestalClient (std::string myname, const edm::ParameterSet &ps)
 
void setup (void)
 
bool test_enabled (void)
 
void updateChannelStatus (std::map< HcalDetId, unsigned int > &myqual)
 
 ~HcalCoarsePedestalClient ()
 Destructor. More...
 
- Public Member Functions inherited from HcalBaseDQClient
virtual void calculateProblems (void)
 
void getLogicalMap (const edm::EventSetup &es)
 
 HcalBaseDQClient ()
 
 HcalBaseDQClient (std::string s, const edm::ParameterSet &ps)
 
virtual void htmlOutput (DQMStore::IBooker &, DQMStore::IGetter &, std::string htmlDir)
 
std::string name ()
 
void setEventSetup (const edm::EventSetup &es)
 
virtual void setStatusMap (std::map< HcalDetId, unsigned int > &map)
 
void setTopo (const HcalTopology *topo)
 
virtual bool validHtmlOutput (DQMStore::IBooker &, DQMStore::IGetter &)
 
virtual ~HcalBaseDQClient (void)
 

Private Member Functions

void setupCoarsePedestal (DQMStore::IBooker &, DQMStore::IGetter &)
 

Private Attributes

double ADCDiffThresh_
 
MonitorElementCoarsePedDiff
 
EtaPhiHistsCoarsePedestalsByDepth
 
TH2F * DatabasePedestalsADCByDepth [4]
 
bool doCoarseSetup_
 
int nevts_
 

Additional Inherited Members

- Public Attributes inherited from HcalBaseDQClient
int badChannelStatusMask_
 
std::map< HcalDetId, unsigned int > badstatusmap
 
const edm::EventSetupc
 
bool cloneME_
 
int debug_
 
bool enableCleanup_
 
bool enoughevents_
 
HcalLogicalMaplogicalMap_
 
double minerrorrate_
 
int minevents_
 
std::string name_
 
bool needLogicalMap_
 
bool Online_
 
std::string prefixME_
 
MonitorElementProblemCells
 
EtaPhiHistsProblemCellsByDepth
 
std::vector< std::string > problemnames_
 
std::string subdir_
 
bool testenabled_
 
const HcalTopologytopo_
 
bool validHtmlOutput_
 

Detailed Description

Definition at line 8 of file HcalCoarsePedestalClient.h.

Constructor & Destructor Documentation

HcalCoarsePedestalClient::HcalCoarsePedestalClient ( )
inline

Constructors.

Definition at line 13 of file HcalCoarsePedestalClient.h.

References HcalBaseDQClient::name_.

13 {name_="";};
HcalCoarsePedestalClient::HcalCoarsePedestalClient ( std::string  myname)

Definition at line 18 of file HcalCoarsePedestalClient.cc.

References HcalBaseDQClient::name_.

19 {
20  name_=myname;
21 }
HcalCoarsePedestalClient::HcalCoarsePedestalClient ( std::string  myname,
const edm::ParameterSet ps 
)

Definition at line 23 of file HcalCoarsePedestalClient.cc.

References HcalBaseDQClient::badChannelStatusMask_, HcalBaseDQClient::cloneME_, CoarsePedestalsByDepth, HcalBaseDQClient::debug_, doCoarseSetup_, HcalBaseDQClient::enableCleanup_, edm::ParameterSet::getUntrackedParameter(), HcalChannelStatus::HcalCellDead, HcalChannelStatus::HcalCellHot, HcalBaseDQClient::minerrorrate_, HcalBaseDQClient::minevents_, HcalBaseDQClient::name_, HcalBaseDQClient::prefixME_, HcalBaseDQClient::ProblemCellsByDepth, AlCaHLTBitMon_QueryRunRegistry::string, HcalBaseDQClient::subdir_, and HcalBaseDQClient::validHtmlOutput_.

24 {
25  name_=myname;
26  enableCleanup_ = ps.getUntrackedParameter<bool>("enableCleanup",false);
27  debug_ = ps.getUntrackedParameter<int>("debug",0);
28  prefixME_ = ps.getUntrackedParameter<std::string>("subSystemFolder","Hcal/");
29  if (prefixME_.substr(prefixME_.size()-1,prefixME_.size())!="/")
30  prefixME_.append("/");
31  subdir_ = ps.getUntrackedParameter<std::string>("CoarsePedestalFolder","CoarsePedestalMonitor_Hcal/"); // CoarsePedestalMonitor_Hcal
32  if (subdir_.size()>0 && subdir_.substr(subdir_.size()-1,subdir_.size())!="/")
33  subdir_.append("/");
34  subdir_=prefixME_+subdir_;
35 
36  validHtmlOutput_ = ps.getUntrackedParameter<bool>("CoarsePedestal_validHtmlOutput",true);
37  cloneME_ = ps.getUntrackedParameter<bool>("cloneME", true);
38  badChannelStatusMask_ = ps.getUntrackedParameter<int>("CoarsePedestal_BadChannelStatusMask",
39  ps.getUntrackedParameter<int>("BadChannelStatusMask",
40  ((1<<HcalChannelStatus::HcalCellDead)|(1<<HcalChannelStatus::HcalCellHot)))); // identify channel status values to mask
41 
42  minerrorrate_ = ps.getUntrackedParameter<double>("CoarsePedestal_minerrorrate",
43  ps.getUntrackedParameter<double>("minerrorrate",0.05));
44 
45 
46  // minevents_ canbe overwritten by monitor task value
47  minevents_ = ps.getUntrackedParameter<int>("CoarsePedestal_minevents",
48  ps.getUntrackedParameter<int>("minevents",1));
49 
52 
53  doCoarseSetup_ = true;
54 }
T getUntrackedParameter(std::string const &, T const &) const
EtaPhiHists * ProblemCellsByDepth
std::string subdir_
std::string prefixME_
HcalCoarsePedestalClient::~HcalCoarsePedestalClient ( )

Destructor.

Definition at line 342 of file HcalCoarsePedestalClient.cc.

References CoarsePedestalsByDepth, and HcalBaseDQClient::ProblemCellsByDepth.

343 {
344 
347 
348 }
EtaPhiHists * ProblemCellsByDepth

Member Function Documentation

void HcalCoarsePedestalClient::analyze ( DQMStore::IBooker ib,
DQMStore::IGetter ig 
)
virtual

Reimplemented from HcalBaseDQClient.

Definition at line 56 of file HcalCoarsePedestalClient.cc.

References HcalBaseDQClient::calculateProblems(), gather_cfg::cout, HcalBaseDQClient::debug_, doCoarseSetup_, and setupCoarsePedestal().

57 {
58  if (debug_>2) std::cout <<"\tHcalCoarsePedestalClient::analyze()"<<std::endl;
59  if ( doCoarseSetup_ ) setupCoarsePedestal(ib,ig);
60  calculateProblems(ib,ig);
61 } // void HcalCoarsePedestalClient::analyze()
void setupCoarsePedestal(DQMStore::IBooker &, DQMStore::IGetter &)
virtual void calculateProblems(void)
tuple cout
Definition: gather_cfg.py:145
void HcalCoarsePedestalClient::beginRun ( void  )
virtual

Reimplemented from HcalBaseDQClient.

Definition at line 219 of file HcalCoarsePedestalClient.cc.

References HcalBaseDQClient::enoughevents_.

220 {
221  enoughevents_=false;
222 } // void HcalCoarsePedestalClient::beginRun()
void HcalCoarsePedestalClient::calculateProblems ( DQMStore::IBooker ib,
DQMStore::IGetter ig 
)

Definition at line 63 of file HcalCoarsePedestalClient.cc.

References funct::abs(), ADCDiffThresh_, HcalBaseDQClient::badstatusmap, HcalObjRepresent::CalcIeta(), HcalBaseDQClient::cloneME_, CoarsePedDiff, CoarsePedestalsByDepth, gather_cfg::cout, ztail::d, DatabasePedestalsADCByDepth, HcalBaseDQClient::debug_, EtaPhiHists::depth, HcalBaseDQClient::enoughevents_, eta, MonitorElement::Fill(), HcalObjRepresent::FillUnphysicalHEHFBins(), DQMStore::IGetter::get(), MonitorElement::getBinContent(), MonitorElement::getTH2F(), HcalBarrel, HcalEmpty, HcalEndcap, HcalEtaPhiHistNames(), HcalForward, HcalOuter, i, isHB(), isHE(), isHF(), isHO(), HcalBaseDQClient::minerrorrate_, HcalBaseDQClient::minevents_, HcalBaseDQClient::name(), phi, HcalBaseDQClient::ProblemCells, HcalBaseDQClient::ProblemCellsByDepth, MonitorElement::Reset(), alignCSCRings::s, MonitorElement::setBinContent(), AlCaHLTBitMon_QueryRunRegistry::string, HcalBaseDQClient::subdir_, and ecaldqm::zside().

64 {
65  if (debug_>2) std::cout <<"\t\tHcalCoarsePedestalClient::calculateProblems()"<<std::endl;
66  //int totalevents=0; // events checked on a channel-by-channel basis
67  int etabins=0, phibins=0, zside=0;
68  double problemvalue=0;
69 
71 
72  // Clear away old problems
73  if (ProblemCells!=0)
74  {
76  (ProblemCells->getTH2F())->SetMaximum(1.05);
77  (ProblemCells->getTH2F())->SetMinimum(0.);
78  (ProblemCells->getTH2F())->SetOption("colz");
79  }
80  for (unsigned int d=0;ProblemCellsByDepth!=0 && d<ProblemCellsByDepth->depth.size();++d)
81  {
82  if (ProblemCellsByDepth->depth[d]!=0)
83  {
84  ProblemCellsByDepth->depth[d]->Reset();
85  (ProblemCellsByDepth->depth[d]->getTH2F())->SetMaximum(1.05);
86  (ProblemCellsByDepth->depth[d]->getTH2F())->SetMinimum(0.);
87  (ProblemCellsByDepth->depth[d]->getTH2F())->SetOption("colz");
88  }
89  }
90 
91  // Get histograms that are used in testing
92  TH2F* CoarsePedestalsSumByDepth[4];
93  TH2F* CoarsePedestalsOccByDepth[4];
94 
95  std::vector<std::string> name = HcalEtaPhiHistNames();
96  bool gothistos=true;
97 
98  MonitorElement* me;
99  for (int i=0;i<4;++i)
100  {
101  std::string s=subdir_+"CoarsePedestalSumPlots/"+name[i]+"Coarse Pedestal Summed Map";
102  me=ig.get(s.c_str());
103  if (me==0)
104  {
105  gothistos=false;
106  if (debug_>0) std::cout <<"<HcalCoarsePedestalClient::calculateProblems> Could not get histogram with name "<<s<<std::endl;
107  }
108  CoarsePedestalsSumByDepth[i]=HcalUtilsClient::getHisto<TH2F*>(me, cloneME_, CoarsePedestalsSumByDepth[i], debug_);
109 
110  s=subdir_+"CoarsePedestalSumPlots/"+name[i]+"Coarse Pedestal Occupancy Map";
111  me=ig.get(s.c_str());
112  if (me==0)
113  {
114  gothistos=false;
115  if (debug_>0) std::cout <<"<HcalCoarsePedestalClient::calculateProblems> Could not get histogram with name "<<s<<std::endl;
116  }
117  CoarsePedestalsOccByDepth[i]=HcalUtilsClient::getHisto<TH2F*>(me, cloneME_, CoarsePedestalsOccByDepth[i], debug_);
118 
119  } // for (int i=0;i<4;++i)
120 
121  if (gothistos==false)
122  {
123  if (debug_>0) std::cout <<"<HcalCoarsePedestalClient::calculateProblems> Unable to get all necessary histograms to evaluate problem rate"<<std::endl;
124  return;
125  }
126 
127  enoughevents_=true; // Always set this to true, so that pedestal monitoring doesn't hold up
128 
129  int numevents=0;
130  for (unsigned int d=0;ProblemCellsByDepth!=0 && d<ProblemCellsByDepth->depth.size();++d)
131  {
132  if (ProblemCellsByDepth->depth[d]==0) continue;
133  if (CoarsePedestalsSumByDepth[d]==0 ||
134  CoarsePedestalsOccByDepth[d]==0 ||
135  DatabasePedestalsADCByDepth[d]==0) continue;
136 
137  if (CoarsePedestalsByDepth->depth[d]!=0)
138  CoarsePedestalsByDepth->depth[d]->Reset();
139 
140  etabins=(ProblemCellsByDepth->depth[d]->getTH2F())->GetNbinsX();
141  phibins=(ProblemCellsByDepth->depth[d]->getTH2F())->GetNbinsY();
142  for (int eta=0;eta<etabins;++eta)
143  {
144  int ieta=CalcIeta(eta,d+1);
145  if (ieta==-9999) continue;
146  for (int phi=0;phi<phibins;++phi)
147  {
148  if (abs(ieta)>20 && (phi+1)%2==0)
149  continue;
150  if (abs(ieta)>39 && (phi+1)%4!=3)
151  continue;
152  numevents=(int)CoarsePedestalsOccByDepth[d]->GetBinContent(eta+1,phi+1);
153  if (numevents==0 || numevents<minevents_)
154  {
155  if (debug_>1)
156  std::cout <<"NOT ENOUGH EVENTS for channel ("<<ieta<<", "<<phi+1<<", "<<d+1<<") numevents = "<<numevents<<" minevents = "<<minevents_<<std::endl;
157  continue; // insufficient pedestal information available for this channel; continue on?
158  }
159 
160  problemvalue=1.*CoarsePedestalsSumByDepth[d]->GetBinContent(eta+1,phi+1)/numevents;
161  CoarsePedestalsByDepth->depth[d]->setBinContent(eta+1,phi+1,problemvalue);
162  problemvalue=(problemvalue-DatabasePedestalsADCByDepth[d]->GetBinContent(eta+1,phi+1));
163  CoarsePedDiff->Fill(problemvalue);
164  problemvalue=fabs(problemvalue);
165  // Pedestal status is cumulative (DetDiag pedestals perform resets after each calibration cycle, and save each output)
166  // Either a channels pedestal is 'bad' (outside of allowed range) or 'good' (in range)
167  problemvalue>ADCDiffThresh_ ? problemvalue=1 : problemvalue=0;
168  if (debug_>0 && problemvalue==1)
169  std::cout <<"<HcalCoarsePedestalClient> Problem found for channel ("<<ieta<<", "<<phi+1<<", "<<d+1<<")"<<std::endl;
170  zside=0;
171  if (isHF(eta,d+1)) // shift ieta by 1 for HF
172  ieta<0 ? zside = -1 : zside = 1;
173  // For problem cells that exceed our allowed rate,
174  // set the values to -1 if the cells are already marked in the status database
175  if (problemvalue>minerrorrate_)
176  {
177  HcalSubdetector subdet=HcalEmpty;
178  if (isHB(eta,d+1))subdet=HcalBarrel;
179  else if (isHE(eta,d+1)) subdet=HcalEndcap;
180  else if (isHF(eta,d+1)) subdet=HcalForward;
181  else if (isHO(eta,d+1)) subdet=HcalOuter;
182  HcalDetId hcalid(subdet, ieta, phi+1, (int)(d+1));
183  if (badstatusmap.find(hcalid)!=badstatusmap.end())
184  problemvalue=999;
185  }
186  ProblemCellsByDepth->depth[d]->setBinContent(eta+1,phi+1,problemvalue);
187  if (ProblemCells!=0) ProblemCells->Fill(ieta+zside,phi+1,problemvalue);
188  } // loop on phi
189  } // loop on eta
190  } // loop on depth
191 
192  if (ProblemCells==0)
193  {
194  if (debug_>0) std::cout <<"<HcalCoarsePedestalClient::analyze> ProblemCells histogram does not exist!"<<std::endl;
195  return;
196  }
197 
198  // Normalization of ProblemCell plot, in the case where there are errors in multiple depths
199  etabins=(ProblemCells->getTH2F())->GetNbinsX();
200  phibins=(ProblemCells->getTH2F())->GetNbinsY();
201  for (int eta=0;eta<etabins;++eta)
202  {
203  for (int phi=0;phi<phibins;++phi)
204  {
207  }
208  }
209 
213  return;
214 }
bool isHO(int etabin, int depth)
int i
Definition: DBlmapReader.cc:9
MonitorElement * ProblemCells
std::string name()
void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * get(const std::string &path)
Definition: DQMStore.cc:304
std::vector< std::string > HcalEtaPhiHistNames()
int zside(DetId const &)
bool isHE(int etabin, int depth)
void Fill(long long x)
tuple d
Definition: ztail.py:151
std::vector< MonitorElement * > depth
int CalcIeta(int subdet, int eta, int depth)
EtaPhiHists * ProblemCellsByDepth
HcalSubdetector
Definition: HcalAssistant.h:31
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
bool isHB(int etabin, int depth)
bool isHF(int etabin, int depth)
std::string subdir_
std::map< HcalDetId, unsigned int > badstatusmap
void FillUnphysicalHEHFBins(std::vector< TH2F > &hh)
double getBinContent(int binx) const
get content of bin (1-D)
tuple cout
Definition: gather_cfg.py:145
TH2F * getTH2F(void) const
void Reset(void)
reset ME (ie. contents, errors, etc)
void HcalCoarsePedestalClient::cleanup ( void  )
virtual

Reimplemented from HcalBaseDQClient.

Definition at line 296 of file HcalCoarsePedestalClient.cc.

Referenced by esMonitoring.FDJsonServer::handle_close().

296 {}
void HcalCoarsePedestalClient::endJob ( void  )
virtual

Reimplemented from HcalBaseDQClient.

Definition at line 217 of file HcalCoarsePedestalClient.cc.

217 {}
bool HcalCoarsePedestalClient::hasErrors_Temp ( void  )
virtual

Reimplemented from HcalBaseDQClient.

Definition at line 298 of file HcalCoarsePedestalClient.cc.

References HcalObjRepresent::CalcIeta(), gather_cfg::cout, HcalBaseDQClient::debug_, EtaPhiHists::depth, HLT_25ns10e33_v2_cff::depth, MonitorElement::getTH2F(), HcalBaseDQClient::minerrorrate_, HcalBaseDQClient::ProblemCells, and HcalBaseDQClient::ProblemCellsByDepth.

299 {
300  if (!ProblemCells)
301  {
302  if (debug_>1) std::cout <<"<HcalCoarsePedestalClient::hasErrors_Temp> ProblemCells histogram does not exist!"<<std::endl;
303  return false;
304  }
305  int problemcount=0;
306  int ieta=-9999;
307 
308  for (int depth=0;depth<4; ++depth)
309  {
310  int etabins = (ProblemCells->getTH2F())->GetNbinsX();
311  int phibins = (ProblemCells->getTH2F())->GetNbinsY();
312  for (int hist_eta=0;hist_eta<etabins;++hist_eta)
313  {
314  for (int hist_phi=0; hist_phi<phibins;++hist_phi)
315  {
316  ieta=CalcIeta(hist_eta,depth+1);
317  if (ieta==-9999) continue;
319  continue;
320  if (ProblemCellsByDepth->depth[depth]->getBinContent(hist_eta,hist_phi)>minerrorrate_)
321  ++problemcount;
322 
323  } // for (int hist_phi=1;...)
324  } // for (int hist_eta=1;...)
325  } // for (int depth=0;...)
326 
327  if (problemcount>0) return true;
328  return false;
329 }
MonitorElement * ProblemCells
std::vector< MonitorElement * > depth
int CalcIeta(int subdet, int eta, int depth)
EtaPhiHists * ProblemCellsByDepth
tuple cout
Definition: gather_cfg.py:145
TH2F * getTH2F(void) const
bool HcalCoarsePedestalClient::hasOther_Temp ( void  )
virtual

Reimplemented from HcalBaseDQClient.

Definition at line 332 of file HcalCoarsePedestalClient.cc.

332 {return false;}
bool HcalCoarsePedestalClient::hasWarnings_Temp ( void  )
virtual

Reimplemented from HcalBaseDQClient.

Definition at line 331 of file HcalCoarsePedestalClient.cc.

331 {return false;}
void HcalCoarsePedestalClient::setup ( void  )
virtual

Reimplemented from HcalBaseDQClient.

Definition at line 295 of file HcalCoarsePedestalClient.cc.

295 {}
void HcalCoarsePedestalClient::setupCoarsePedestal ( DQMStore::IBooker ib,
DQMStore::IGetter ig 
)
private

Definition at line 224 of file HcalCoarsePedestalClient.cc.

References ADCDiffThresh_, DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), HcalBaseDQClient::cloneME_, CoarsePedDiff, CoarsePedestalsByDepth, gather_cfg::cout, DatabasePedestalsADCByDepth, HcalBaseDQClient::debug_, EtaPhiHists::depth, doCoarseSetup_, DQMStore::IGetter::get(), MonitorElement::getFloatValue(), MonitorElement::getIntValue(), MonitorElement::getName(), HcalEtaPhiHistNames(), i, HcalBaseDQClient::minevents_, HcalBaseDQClient::name(), nevts_, HcalBaseDQClient::prefixME_, HcalBaseDQClient::ProblemCells, HcalBaseDQClient::ProblemCellsByDepth, HcalBaseDQClient::problemnames_, alignCSCRings::s, DQMStore::IBooker::setCurrentFolder(), EtaPhiHists::setup(), AlCaHLTBitMon_QueryRunRegistry::string, HcalBaseDQClient::subdir_, and groupFilesInBlocks::temp.

Referenced by analyze().

225 {
226 
229  CoarsePedestalsByDepth->setup(ib," Coarse Pedestal Map");
230 
231  CoarsePedDiff=ib.book1D("PedRefDiff","(Pedestal-Reference)",200,-10,10);
232 
233  problemnames_.clear();
234  ProblemCells=ib.book2D(" ProblemCoarsePedestals",
235  " Problem Coarse Pedestal Rate for all HCAL;ieta;iphi",
236  85,-42.5,42.5,
237  72,0.5,72.5);
238  problemnames_.push_back(ProblemCells->getName());
239  if (debug_>1)
240  std::cout << "Tried to create ProblemCells Monitor Element in directory "<<subdir_<<" \t Failed? "<<(ProblemCells==0)<<std::endl;
241  ib.setCurrentFolder(subdir_+"problem_coarsepedestals");
243  ProblemCellsByDepth->setup(ib," Problem Coarse Pedestal Rate");
244  for (unsigned int i=0; i<ProblemCellsByDepth->depth.size();++i)
245  problemnames_.push_back(ProblemCellsByDepth->depth[i]->getName());
246  nevts_=0;
247 
248  std::vector<std::string> name = HcalEtaPhiHistNames();
249  MonitorElement* me;
250  for (int i=0;i<4;++i)
251  {
252  std::string s=prefixME_+"HcalInfo/PedestalsFromCondDB/"+name[i]+"ADC Pedestals From Conditions DB";
253  me=ig.get(s.c_str());
254  if (me==0)
255  {
256  if (debug_>0) std::cout <<"<HcalCoarsePedestalClient::beginRun> Could not get histogram with name "<<s<<std::endl;
257  }
258  DatabasePedestalsADCByDepth[i]=HcalUtilsClient::getHisto<TH2F*>(me, cloneME_, DatabasePedestalsADCByDepth[i], debug_);
259  }
260  std::string s=subdir_+"CoarsePedestal_parameters/ADCdiff_Problem_Threshold";
261  me=ig.get(s.c_str());
262  if (me==0)
263  {
264  if (debug_>0)
265  std::cout <<"<HcalCoarsePedestalClient::beginRun> Could not get value with name "<<s<<std::endl;
266  }
267  else
269  s=subdir_+"CoarsePedestal_parameters/minEventsNeededForPedestalCalculation";
270 
271  me=ig.get(s.c_str());
272  int temp = 0;
273  if (me==0)
274  {
275  if (debug_>0)
276  {
277  std::cout <<"<HcalCoarsePedestalClient::beginRun> Could not get value with name "<<s<<"\n\t Continuing on using default 'minevents' value of "<<minevents_<<std::endl;
278  }
279  }
280  else
281  temp=me->getIntValue();
282  if (temp>minevents_)
283  {
284  if (debug_>0)
285  std::cout <<"<HcalCoarsePedestalClient::beginRun> Specified client 'minevents' value of "<<minevents_<<" is less than minimum task 'minevents' value of "<<temp<<"\n\t Setting client 'minevents' to "<<temp<<std::endl;
287  }
288 
289  doCoarseSetup_ = false;
290 
291 }
const std::string & getName(void) const
get name of ME
int i
Definition: DBlmapReader.cc:9
MonitorElement * ProblemCells
std::string name()
MonitorElement * get(const std::string &path)
Definition: DQMStore.cc:304
std::vector< std::string > HcalEtaPhiHistNames()
std::vector< MonitorElement * > depth
std::vector< std::string > problemnames_
EtaPhiHists * ProblemCellsByDepth
double getFloatValue(void) const
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
void setup(DQMStore::IBooker &m_dbe, std::string Name, std::string Units="")
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:276
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:133
int64_t getIntValue(void) const
std::string subdir_
std::string prefixME_
tuple cout
Definition: gather_cfg.py:145
bool HcalCoarsePedestalClient::test_enabled ( void  )
virtual

Reimplemented from HcalBaseDQClient.

Definition at line 333 of file HcalCoarsePedestalClient.cc.

333 {return true;}
void HcalCoarsePedestalClient::updateChannelStatus ( std::map< HcalDetId, unsigned int > &  myqual)
virtual

Reimplemented from HcalBaseDQClient.

Definition at line 336 of file HcalCoarsePedestalClient.cc.

337 {
338  // client does not alter channel status yet;
339  // look at dead cell or hot cell clients for example code
340 } //void HcalCoarsePedestalClient::updateChannelStatus

Member Data Documentation

double HcalCoarsePedestalClient::ADCDiffThresh_
private

Definition at line 37 of file HcalCoarsePedestalClient.h.

Referenced by calculateProblems(), and setupCoarsePedestal().

MonitorElement* HcalCoarsePedestalClient::CoarsePedDiff
private

Definition at line 40 of file HcalCoarsePedestalClient.h.

Referenced by calculateProblems(), and setupCoarsePedestal().

EtaPhiHists* HcalCoarsePedestalClient::CoarsePedestalsByDepth
private
TH2F* HcalCoarsePedestalClient::DatabasePedestalsADCByDepth[4]
private

Definition at line 38 of file HcalCoarsePedestalClient.h.

Referenced by calculateProblems(), and setupCoarsePedestal().

bool HcalCoarsePedestalClient::doCoarseSetup_
private
int HcalCoarsePedestalClient::nevts_
private

Definition at line 35 of file HcalCoarsePedestalClient.h.

Referenced by setupCoarsePedestal().