CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
CastorBaseMonitor Class Reference

#include <CastorBaseMonitor.h>

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

Definition at line 24 of file CastorBaseMonitor.cc.

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

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_

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.

int CastorBaseMonitor::fVerbosity
protected

Definition at line 37 of file CastorBaseMonitor.h.

Referenced by CastorBaseMonitor(), and setup().

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(), and setup().