#include <TrainerMonitoring.h>
Definition at line 21 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 41 of file TrainerMonitoring.cc.
References dir, and indexGen::rootFile.
43 ROOTContextSentinel ctx;
45 typedef std::map<std::string, std::shared_ptr<Module> > Map;
46 for(Map::const_iterator iter =
modules.begin();
47 iter !=
modules.end(); ++iter) {
49 TDirectory *
dir =
rootFile->mkdir(iter->first.c_str());
51 iter->second->write(dir);
std::map<std::string, std::shared_ptr<Module> > PhysicsTools::TrainerMonitoring::modules |
|
private |
std::unique_ptr<TFile> PhysicsTools::TrainerMonitoring::rootFile |
|
private |