14 tree(0),
h(0), kount(0) {
18 tree =
fs->
make<TTree>(
"HcalTest",
"HcalTest");
19 tree->SetAutoSave(10000);
20 tree->Branch(
"HcalTestHisto",
"HcalTestHistoClass", &
h);
21 edm::LogInfo(
"HcalSim") <<
"HcalTestHistoManager:===>>> Book the Tree";
23 edm::LogInfo(
"HcalSim") <<
"HcalTestHistoManager:===>>> No file provided";
29 edm::LogInfo(
"HcalSim") <<
"=============================================" 30 <<
"========================================\n" 31 <<
"=== HcalTestHistoManager: Start writing user " 32 <<
"histograms after " <<
kount <<
" events ";
39 LogDebug(
"HcalSim") <<
"HcalTestHistoManager: tree pointer for " <<
kount
HcalTestHistoManager(const std::string &)
T * make(const Args &...args) const
make new ROOT object
edm::Service< TFileService > fs
virtual ~HcalTestHistoManager()
void fillTree(HcalTestHistoClass *histos)