#include <TrainerMonitoring.h>
Definition at line 22 of file TrainerMonitoring.h.
PhysicsTools::TrainerMonitoring::TrainerMonitoring |
( |
const std::string & |
fileName | ) |
|
PhysicsTools::TrainerMonitoring::~TrainerMonitoring |
( |
| ) |
|
void PhysicsTools::TrainerMonitoring::close |
( |
| ) |
|
void PhysicsTools::TrainerMonitoring::write |
( |
| ) |
|
Definition at line 43 of file TrainerMonitoring.cc.
References dir, modules, and rootFile.
45 ROOTContextSentinel ctx;
47 typedef std::map<std::string, boost::shared_ptr<Module> > Map;
48 for(Map::const_iterator iter =
modules.begin();
49 iter !=
modules.end(); ++iter) {
51 TDirectory *
dir =
rootFile->mkdir(iter->first.c_str());
53 iter->second->write(dir);
std::map<std::string, boost::shared_ptr<Module> > PhysicsTools::TrainerMonitoring::modules |
|
private |
std::auto_ptr<TFile> PhysicsTools::TrainerMonitoring::rootFile |
|
private |