20 h_ = std::make_unique<HcalTestHistoClass>();
22 tree_ = fs->
make<TTree>(
"HcalTest",
"HcalTest");
23 tree_->SetAutoSave(10000);
24 tree_->Branch(
"HcalTestHisto",
"HcalTestHistoClass", &
h_);
27 edm::LogVerbatim(
"HcalSim") <<
"HcalTestHistoManager:===>>> No file provided";
32 edm::LogVerbatim(
"HcalSim") <<
"================================================================="
33 <<
"====================\n=== HcalTestHistoManager: Start writing user "
34 <<
"histograms after " <<
kount_ <<
" events ";
Log< level::Info, true > LogVerbatim
HcalTestHistoManager(const std::string &)
T * make(const Args &...args) const
make new ROOT object
std::unique_ptr< HcalTestHistoClass > h_
virtual ~HcalTestHistoManager()
void fillTree(HcalTestHistoClass *histos)