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 Attributes
CastorBaseMonitor Class Reference

#include <CastorBaseMonitor.h>

Inheritance diagram for CastorBaseMonitor:
CastorDigiMonitor CastorLEDMonitor CastorRecHitMonitor

Public Member Functions

 CastorBaseMonitor ()
 
virtual void setup (const edm::ParameterSet &ps)
 
virtual ~CastorBaseMonitor ()
 

Protected Attributes

std::string baseFolder_
 
edm::CPUTimer cpu_timer
 
int fVerbosity
 
std::string rootFolder_
 
bool showTiming
 

Detailed Description

Definition at line 29 of file CastorBaseMonitor.h.

Constructor & Destructor Documentation

CastorBaseMonitor::CastorBaseMonitor ( )

Definition at line 13 of file CastorBaseMonitor.cc.

References baseFolder_, fVerbosity, rootFolder_, and showTiming.

13  {
14  fVerbosity = 0;
15  rootFolder_ = "Castor";
16  baseFolder_ = "BaseMonitor";
17  showTiming = false;
18 }
std::string baseFolder_
std::string rootFolder_
CastorBaseMonitor::~CastorBaseMonitor ( )
virtual

Definition at line 21 of file CastorBaseMonitor.cc.

21 {}

Member Function Documentation

void CastorBaseMonitor::setup ( const edm::ParameterSet ps)
virtual

Reimplemented in CastorLEDMonitor, CastorRecHitMonitor, and CastorDigiMonitor.

Definition at line 24 of file CastorBaseMonitor.cc.

References gather_cfg::cout, fVerbosity, edm::ParameterSet::getUntrackedParameter(), rootFolder_, showTiming, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by CastorDigiMonitor::setup(), and CastorLEDMonitor::setup().

25 {
26  fVerbosity = ps.getUntrackedParameter<int>("debug",0);
27  showTiming = ps.getUntrackedParameter<bool>("showTiming",false);
28 
29  if(fVerbosity>0) std::cout << "CastorBaseMonitor::setup (start)" << std::endl;
30 
31 
32 // pset_ = ps;
33  std::string subsystemname = ps.getUntrackedParameter<std::string>("subSystemFolder", "Castor") ;
34  rootFolder_ = subsystemname + "/";
35 
36  if(fVerbosity>0) std::cout << "CastorBaseMonitor::setup (end)" << std::endl;
37  return;
38 }
T getUntrackedParameter(std::string const &, T const &) const
std::string rootFolder_
tuple cout
Definition: gather_cfg.py:121

Member Data Documentation

std::string CastorBaseMonitor::baseFolder_
protected

Definition at line 42 of file CastorBaseMonitor.h.

Referenced by CastorBaseMonitor().

edm::CPUTimer CastorBaseMonitor::cpu_timer
protected

Definition at line 39 of file CastorBaseMonitor.h.

Referenced by CastorRecHitMonitor::processEvent().

int CastorBaseMonitor::fVerbosity
protected
std::string CastorBaseMonitor::rootFolder_
protected

Definition at line 41 of file CastorBaseMonitor.h.

Referenced by CastorBaseMonitor(), and setup().

bool CastorBaseMonitor::showTiming
protected

Definition at line 38 of file CastorBaseMonitor.h.

Referenced by CastorBaseMonitor(), CastorRecHitMonitor::processEvent(), and setup().