22 #include "TDirectory.h"
50 tree_ = fs->
make<TTree>(
"HcalTest",
"HcalTest");
51 tree_->SetAutoSave(10000);
52 tree_->Branch(
"HcalTestHistoClass", &
h_);
60 edm::LogVerbatim(
"HcalSim") <<
"================================================================="
61 <<
"====================\n=== HcalTestAnalyzer: Start writing user "
62 <<
"histograms after " <<
kount_ <<
" events ";
67 descriptions.
add(
"hcalTestAnalyzer", desc);
static const std::string kSharedResource
Log< level::Info, true > LogVerbatim
EventNumber_t event() const
const edm::EventSetup & c
~HcalTestAnalyzer() override
#define DEFINE_FWK_MODULE(type)
T * make(const Args &...args) const
make new ROOT object
void analyze(const edm::Event &e, const edm::EventSetup &c) override
HcalTestAnalyzer(const edm::ParameterSet &)
Handle< PROD > getHandle(EDGetTokenT< PROD > token) const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
const edm::EDGetTokenT< HcalTestHistoClass > tokHist_