22 #include "TDirectory.h"
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
edm::EDGetTokenT< HcalTestHistoClass > tokHist_
HcalTestAnalyzer(const edm::ParameterSet &)
Handle< PROD > getHandle(EDGetTokenT< PROD > token) const
edm::Service< TFileService > fs_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)