22 #include "TDirectory.h" 49 if (
fs.isAvailable()) {
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
~HcalTestAnalyzer() override
void analyze(const edm::Event &e, const edm::EventSetup &c) override
HcalTestAnalyzer(const edm::ParameterSet &)
#define DEFINE_FWK_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
const edm::EDGetTokenT< HcalTestHistoClass > tokHist_