Main Page
Namespaces
Classes
Package Documentation
DQM
CastorMonitor
src
CastorBaseMonitor.cc
Go to the documentation of this file.
1
#include "
DQM/CastorMonitor/interface/CastorBaseMonitor.h
"
2
#include "
DQMServices/Core/interface/DQMStore.h
"
3
4
//***************************************************//
5
//********** CastorBaseMonitor: *********************//
6
//********** Author: Dmytro Volyanskyy ************//
7
//********** Date : 20.08.2008 (first version) *****//
9
//***************************************************//
10
//---- critical revision 26.06.2014 (Vladimir Popov)
11
//==================================================================//
12
//======================= Constructor ==============================//
13
CastorBaseMonitor::CastorBaseMonitor
() {
14
fVerbosity
= 0;
15
rootFolder_
=
"Castor"
;
16
baseFolder_
=
"BaseMonitor"
;
17
showTiming
=
false
;
18
}
19
20
//======================= Destructor ===============================//
21
CastorBaseMonitor::~CastorBaseMonitor
() {}
22
23
//======================= Setup ====================================//
24
void
CastorBaseMonitor::setup
(
const
edm::ParameterSet
& ps)
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
}
CastorBaseMonitor::~CastorBaseMonitor
virtual ~CastorBaseMonitor()
Definition:
CastorBaseMonitor.cc:21
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
CastorBaseMonitor::fVerbosity
int fVerbosity
Definition:
CastorBaseMonitor.h:37
CastorBaseMonitor::showTiming
bool showTiming
Definition:
CastorBaseMonitor.h:38
CastorBaseMonitor::baseFolder_
std::string baseFolder_
Definition:
CastorBaseMonitor.h:42
DQMStore.h
CastorBaseMonitor::CastorBaseMonitor
CastorBaseMonitor()
Definition:
CastorBaseMonitor.cc:13
CastorBaseMonitor::setup
virtual void setup(const edm::ParameterSet &ps)
Definition:
CastorBaseMonitor.cc:24
CastorBaseMonitor::rootFolder_
std::string rootFolder_
Definition:
CastorBaseMonitor.h:41
edm::ParameterSet
Definition:
ParameterSet.h:36
gather_cfg.cout
cout
Definition:
gather_cfg.py:143
CastorBaseMonitor.h
Generated for CMSSW Reference Manual by
1.8.11