#include <HcalTestHistoManager.h>
Public Member Functions | |
void | fillTree (HcalTestHistoClass *histos) |
HcalTestHistoManager (const std::string &) | |
virtual | ~HcalTestHistoManager () |
Definition at line 19 of file HcalTestHistoManager.h.
HcalTestHistoManager::HcalTestHistoManager | ( | const std::string & | file | ) |
Definition at line 27 of file HcalTestHistoManager.cc.
{ // pool::URIParser p("file:HcalTestHistoCatalog.cat"); //p.parse(); //lcat.setWriteCatalog(p.contactstring()); //lcat.connect(); // lcat.start(); // Define the policy for the implicit file handling //pool::DatabaseConnectionPolicy policy; //policy.setWriteModeForNonExisting(pool::DatabaseConnectionPolicy::CREATE); //policy.setWriteModeForExisting(pool::DatabaseConnectionPolicy::OVERWRITE); //svc->session().setDefaultConnectionPolicy(policy); edm::LogInfo("HcalSim") << "HcalTestHistoManager:===>>> Book user" << " Histograms and Root tree"; }
HcalTestHistoManager::~HcalTestHistoManager | ( | ) | [virtual] |
Definition at line 51 of file HcalTestHistoManager.cc.
{ edm::LogInfo("HcalSim") << "=============================================" << "==============\n" << "=== HcalTestHistoManager: Start writing user " << "histograms ==="; //svc->transaction().commit(); //svc->session().disconnectAll(); //edm::LogInfo("HcalSim") << "=== HcalTestHistoManager: cache size at end " // << svc->cacheSvc().cacheSize(); //lcat.commit(); edm::LogInfo("HcalSim") << "=== HcalTestHistoManager: End writing user " << "histograms ===\n" << "=============================================" << "=============="; }
void HcalTestHistoManager::fillTree | ( | HcalTestHistoClass * | histos | ) |
Definition at line 70 of file HcalTestHistoManager.cc.
References mergeVDriftHistosByStation::histos, and LogDebug.
{ //svc->transaction().start(pool::ITransaction::UPDATE); LogDebug("HcalSim") << "HcalTestHistoManager: tree pointer = " << histos; //LogDebug("HcalSim") << "HcalTestHistoManager: cache size before assign " // << svc->cacheSvc().cacheSize(); //h = histos; //h.markWrite(placeH); //svc->transaction().commitAndHold(); }