CMS 3D CMS Logo

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

#include <HcalBaseMonitor.h>

Inheritance diagram for HcalBaseMonitor:
HcalCaloTowerMonitor HcalEEUSMonitor HcalZDCMonitor

Public Member Functions

void beginLuminosityBlock (int lb)
 
virtual void beginRun ()
 
virtual void clearME ()
 
virtual void done ()
 
void endLuminosityBlock ()
 
bool getDiagnostics () const
 
int getVerbosity () const
 
 HcalBaseMonitor ()
 
void hideKnownBadCells ()
 
virtual void periodicReset ()
 
void processEvent ()
 
void setDiagnostics (bool myval)
 
void setMinMaxHists1D (std::vector< MonitorElement * > &hh, double min, double max)
 
void setMinMaxHists2D (std::vector< MonitorElement * > &hh, double min, double max)
 
virtual void setup (const edm::ParameterSet &ps, DQMStore::IBooker &ib)
 
void setupDepthHists1D (DQMStore::IBooker &ib, MonitorElement *&h, std::vector< MonitorElement * > &hh, std::string Name, std::string Units, int lowbound, int highbound, int Nbins)
 
void setupDepthHists1D (DQMStore::IBooker &ib, std::vector< MonitorElement * > &hh, std::string Name, std::string Units, int lowbound, int highbound, int Nbins)
 
void setupDepthHists2D (DQMStore::IBooker &ib, MonitorElement *&h, std::vector< MonitorElement * > &hh, std::string Name, std::string Units)
 
void setupDepthHists2D (DQMStore::IBooker &ib, std::vector< MonitorElement * > &hh, std::string Name, std::string Units)
 
void setupDepthHists2D (DQMStore::IBooker &ib, MonitorElement *&h, std::vector< MonitorElement * > &hh, std::string Name, std::string Units, int nbinsx, int lowboundx, int highboundx, int nbinsy, int lowboundy, int highboundy)
 
void setupDepthHists2D (DQMStore::IBooker &ib, std::vector< MonitorElement * > &hh, std::string Name, std::string Units, int nbinsx, int lowboundx, int highboundx, int nbinsy, int lowboundy, int highboundy)
 
void SetupEtaPhiHists (DQMStore::IBooker &ib, MonitorElement *&h, EtaPhiHists &hh, std::string Name, std::string Units)
 
void SetupEtaPhiHists (DQMStore::IBooker &ib, EtaPhiHists &hh, std::string Name, std::string Units)
 
void setVerbosity (int verb)
 
bool vetoCell (HcalDetId &id)
 
virtual ~HcalBaseMonitor ()
 

Protected Member Functions

void LumiBlockUpdate (int lb)
 

Protected Attributes

std::vector< int > AllowedCalibTypes_
 
std::vector< std::string > badCells_
 
std::string baseFolder_
 
bool checkHB_
 
bool checkHE_
 
bool checkHF_
 
bool checkHO_
 
int checkNevents_
 
edm::CPUTimer cpu_timer
 
bool dump2database
 
int etaBins_
 
double etaMax_
 
double etaMin_
 
int fVerbosity
 
int ievt_
 
bool LBprocessed_
 
int levt_
 
int lumiblock
 
bool makeDiagnostics
 
MonitorElementmeEVT_
 
MonitorElementmeTOTALEVT_
 
double minErrorFlag_
 
int Nlumiblocks_
 
int NumBadHB
 
int NumBadHE
 
int NumBadHF
 
int NumBadHO
 
int oldlumiblock
 
bool Online_
 
int phiBins_
 
double phiMax_
 
double phiMin_
 
MonitorElementProblemCells
 
EtaPhiHists ProblemCellsByDepth
 
MonitorElementProblemsVsLB
 
MonitorElementProblemsVsLB_HB
 
MonitorElementProblemsVsLB_HBHEHF
 
MonitorElementProblemsVsLB_HE
 
MonitorElementProblemsVsLB_HF
 
MonitorElementProblemsVsLB_HO
 
int resetNevents_
 
std::string rootFolder_
 
bool showTiming
 
int tevt_
 

Detailed Description

Author
W. Fisher - FNAL

Definition at line 43 of file HcalBaseMonitor.h.

Constructor & Destructor Documentation

HcalBaseMonitor::HcalBaseMonitor ( )

Definition at line 10 of file HcalBaseMonitor.cc.

HcalBaseMonitor::~HcalBaseMonitor ( )
virtual

Definition at line 17 of file HcalBaseMonitor.cc.

Member Function Documentation

void HcalBaseMonitor::beginLuminosityBlock ( int  lb)

Definition at line 155 of file HcalBaseMonitor.cc.

void HcalBaseMonitor::beginRun ( void  )
virtual

Definition at line 19 of file HcalBaseMonitor.cc.

void HcalBaseMonitor::clearME ( )
virtual

Reimplemented in HcalEEUSMonitor.

Definition at line 174 of file HcalBaseMonitor.cc.

void HcalBaseMonitor::done ( )
virtual

Definition at line 172 of file HcalBaseMonitor.cc.

void HcalBaseMonitor::endLuminosityBlock ( void  )

Definition at line 166 of file HcalBaseMonitor.cc.

bool HcalBaseMonitor::getDiagnostics ( ) const
inline

Definition at line 59 of file HcalBaseMonitor.h.

References makeDiagnostics.

59 { return makeDiagnostics;}
int HcalBaseMonitor::getVerbosity ( ) const
inline

Definition at line 56 of file HcalBaseMonitor.h.

References fVerbosity.

56 { return fVerbosity; }
void HcalBaseMonitor::hideKnownBadCells ( )

Definition at line 214 of file HcalBaseMonitor.cc.

void HcalBaseMonitor::LumiBlockUpdate ( int  lb)
protected

Definition at line 115 of file HcalBaseMonitor.cc.

void HcalBaseMonitor::periodicReset ( )
virtual

Definition at line 632 of file HcalBaseMonitor.cc.

void HcalBaseMonitor::processEvent ( )

Definition at line 103 of file HcalBaseMonitor.cc.

void HcalBaseMonitor::setDiagnostics ( bool  myval)
inline

Definition at line 58 of file HcalBaseMonitor.h.

References makeDiagnostics.

58 { makeDiagnostics=myval;}
void HcalBaseMonitor::setMinMaxHists1D ( std::vector< MonitorElement * > &  hh,
double  min,
double  max 
)

Definition at line 621 of file HcalBaseMonitor.cc.

void HcalBaseMonitor::setMinMaxHists2D ( std::vector< MonitorElement * > &  hh,
double  min,
double  max 
)

Definition at line 610 of file HcalBaseMonitor.cc.

void HcalBaseMonitor::setup ( const edm::ParameterSet ps,
DQMStore::IBooker ib 
)
virtual

Reimplemented in HcalEEUSMonitor, HcalZDCMonitor, and HcalCaloTowerMonitor.

Definition at line 21 of file HcalBaseMonitor.cc.

void HcalBaseMonitor::setupDepthHists1D ( DQMStore::IBooker ib,
MonitorElement *&  h,
std::vector< MonitorElement * > &  hh,
std::string  Name,
std::string  Units,
int  lowbound,
int  highbound,
int  Nbins 
)

Definition at line 516 of file HcalBaseMonitor.cc.

void HcalBaseMonitor::setupDepthHists1D ( DQMStore::IBooker ib,
std::vector< MonitorElement * > &  hh,
std::string  Name,
std::string  Units,
int  lowbound,
int  highbound,
int  Nbins 
)

Definition at line 559 of file HcalBaseMonitor.cc.

void HcalBaseMonitor::setupDepthHists2D ( DQMStore::IBooker ib,
MonitorElement *&  h,
std::vector< MonitorElement * > &  hh,
std::string  Name,
std::string  Units 
)

Definition at line 276 of file HcalBaseMonitor.cc.

void HcalBaseMonitor::setupDepthHists2D ( DQMStore::IBooker ib,
std::vector< MonitorElement * > &  hh,
std::string  Name,
std::string  Units 
)

Definition at line 325 of file HcalBaseMonitor.cc.

void HcalBaseMonitor::setupDepthHists2D ( DQMStore::IBooker ib,
MonitorElement *&  h,
std::vector< MonitorElement * > &  hh,
std::string  Name,
std::string  Units,
int  nbinsx,
int  lowboundx,
int  highboundx,
int  nbinsy,
int  lowboundy,
int  highboundy 
)

Definition at line 397 of file HcalBaseMonitor.cc.

void HcalBaseMonitor::setupDepthHists2D ( DQMStore::IBooker ib,
std::vector< MonitorElement * > &  hh,
std::string  Name,
std::string  Units,
int  nbinsx,
int  lowboundx,
int  highboundx,
int  nbinsy,
int  lowboundy,
int  highboundy 
)

Definition at line 447 of file HcalBaseMonitor.cc.

void HcalBaseMonitor::SetupEtaPhiHists ( DQMStore::IBooker ib,
MonitorElement *&  h,
EtaPhiHists hh,
std::string  Name,
std::string  Units 
)

Definition at line 241 of file HcalBaseMonitor.cc.

void HcalBaseMonitor::SetupEtaPhiHists ( DQMStore::IBooker ib,
EtaPhiHists hh,
std::string  Name,
std::string  Units 
)

Definition at line 270 of file HcalBaseMonitor.cc.

void HcalBaseMonitor::setVerbosity ( int  verb)
inline

Definition at line 55 of file HcalBaseMonitor.h.

References fVerbosity.

55 { fVerbosity = verb; }
bool HcalBaseMonitor::vetoCell ( HcalDetId id)

Definition at line 197 of file HcalBaseMonitor.cc.

Member Data Documentation

std::vector<int> HcalBaseMonitor::AllowedCalibTypes_
protected

Definition at line 117 of file HcalBaseMonitor.h.

std::vector<std::string> HcalBaseMonitor::badCells_
protected

Definition at line 113 of file HcalBaseMonitor.h.

std::string HcalBaseMonitor::baseFolder_
protected

Definition at line 115 of file HcalBaseMonitor.h.

bool HcalBaseMonitor::checkHB_
protected

Definition at line 104 of file HcalBaseMonitor.h.

bool HcalBaseMonitor::checkHE_
protected

Definition at line 104 of file HcalBaseMonitor.h.

bool HcalBaseMonitor::checkHF_
protected

Definition at line 104 of file HcalBaseMonitor.h.

bool HcalBaseMonitor::checkHO_
protected

Definition at line 104 of file HcalBaseMonitor.h.

int HcalBaseMonitor::checkNevents_
protected

Definition at line 97 of file HcalBaseMonitor.h.

edm::CPUTimer HcalBaseMonitor::cpu_timer
protected

Definition at line 108 of file HcalBaseMonitor.h.

bool HcalBaseMonitor::dump2database
protected

Definition at line 96 of file HcalBaseMonitor.h.

int HcalBaseMonitor::etaBins_
protected

Definition at line 101 of file HcalBaseMonitor.h.

double HcalBaseMonitor::etaMax_
protected

Definition at line 99 of file HcalBaseMonitor.h.

double HcalBaseMonitor::etaMin_
protected

Definition at line 99 of file HcalBaseMonitor.h.

int HcalBaseMonitor::fVerbosity
protected

Definition at line 94 of file HcalBaseMonitor.h.

Referenced by getVerbosity(), and setVerbosity().

int HcalBaseMonitor::ievt_
protected

Definition at line 122 of file HcalBaseMonitor.h.

bool HcalBaseMonitor::LBprocessed_
protected

Definition at line 125 of file HcalBaseMonitor.h.

int HcalBaseMonitor::levt_
protected

Definition at line 123 of file HcalBaseMonitor.h.

int HcalBaseMonitor::lumiblock
protected

Definition at line 128 of file HcalBaseMonitor.h.

bool HcalBaseMonitor::makeDiagnostics
protected

Definition at line 110 of file HcalBaseMonitor.h.

Referenced by getDiagnostics(), and setDiagnostics().

MonitorElement* HcalBaseMonitor::meEVT_
protected

Definition at line 126 of file HcalBaseMonitor.h.

MonitorElement* HcalBaseMonitor::meTOTALEVT_
protected

Definition at line 127 of file HcalBaseMonitor.h.

double HcalBaseMonitor::minErrorFlag_
protected

Definition at line 102 of file HcalBaseMonitor.h.

int HcalBaseMonitor::Nlumiblocks_
protected

Definition at line 106 of file HcalBaseMonitor.h.

int HcalBaseMonitor::NumBadHB
protected

Definition at line 130 of file HcalBaseMonitor.h.

int HcalBaseMonitor::NumBadHE
protected

Definition at line 130 of file HcalBaseMonitor.h.

int HcalBaseMonitor::NumBadHF
protected

Definition at line 130 of file HcalBaseMonitor.h.

int HcalBaseMonitor::NumBadHO
protected

Definition at line 130 of file HcalBaseMonitor.h.

int HcalBaseMonitor::oldlumiblock
protected

Definition at line 129 of file HcalBaseMonitor.h.

bool HcalBaseMonitor::Online_
protected

Definition at line 112 of file HcalBaseMonitor.h.

int HcalBaseMonitor::phiBins_
protected

Definition at line 101 of file HcalBaseMonitor.h.

double HcalBaseMonitor::phiMax_
protected

Definition at line 100 of file HcalBaseMonitor.h.

double HcalBaseMonitor::phiMin_
protected

Definition at line 100 of file HcalBaseMonitor.h.

MonitorElement* HcalBaseMonitor::ProblemCells
protected

Definition at line 119 of file HcalBaseMonitor.h.

EtaPhiHists HcalBaseMonitor::ProblemCellsByDepth
protected

Definition at line 120 of file HcalBaseMonitor.h.

MonitorElement* HcalBaseMonitor::ProblemsVsLB
protected

Definition at line 131 of file HcalBaseMonitor.h.

MonitorElement* HcalBaseMonitor::ProblemsVsLB_HB
protected

Definition at line 132 of file HcalBaseMonitor.h.

MonitorElement * HcalBaseMonitor::ProblemsVsLB_HBHEHF
protected

Definition at line 132 of file HcalBaseMonitor.h.

MonitorElement * HcalBaseMonitor::ProblemsVsLB_HE
protected

Definition at line 132 of file HcalBaseMonitor.h.

MonitorElement * HcalBaseMonitor::ProblemsVsLB_HF
protected

Definition at line 132 of file HcalBaseMonitor.h.

MonitorElement * HcalBaseMonitor::ProblemsVsLB_HO
protected

Definition at line 132 of file HcalBaseMonitor.h.

int HcalBaseMonitor::resetNevents_
protected

Definition at line 105 of file HcalBaseMonitor.h.

std::string HcalBaseMonitor::rootFolder_
protected

Definition at line 114 of file HcalBaseMonitor.h.

bool HcalBaseMonitor::showTiming
protected

Definition at line 95 of file HcalBaseMonitor.h.

int HcalBaseMonitor::tevt_
protected

Definition at line 124 of file HcalBaseMonitor.h.