CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CastorBaseMonitor.cc
Go to the documentation of this file.
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 ==============================//
14  fVerbosity = 0;
15  rootFolder_ = "Castor";
16  baseFolder_ = "BaseMonitor";
17  showTiming = false;
18 }
19 
20 //======================= Destructor ===============================//
22 
23 //======================= 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 }
virtual ~CastorBaseMonitor()
T getUntrackedParameter(std::string const &, T const &) const
std::string baseFolder_
virtual void setup(const edm::ParameterSet &ps)
std::string rootFolder_
tuple cout
Definition: gather_cfg.py:121