15 #include "art_root_io/TFileService.h" 59 std::vector<TH1F*> kde_hists;
61 std::stringstream hname;
62 hname <<
"hkde_" << i_b;
63 kde_hists.push_back(tfs->make<TH1F>(hname.str().c_str(),
"PIDA KDE Distribution", 100, 0, 30));
67 tfs->make<TH1F>(
"hvals",
"PIDA Distribution", 100, 0, 30),
75 std::vector<anab::Calorimetry>
const& caloVector(*caloHandle);
77 for (
size_t i_calo = 0; i_calo < caloVector.size(); i_calo++) {
void SetPIDATree(TTree *, TH1F *, std::vector< TH1F * >)
void FillPIDATree(unsigned int, unsigned int, unsigned int, anab::Calorimetry const &)
size_t getNKDEBandwidths()
PIDAAnalyzer(fhicl::ParameterSet const &p)
EDAnalyzer(fhicl::ParameterSet const &pset)
PIDAAnalyzer & operator=(PIDAAnalyzer const &)=delete
#define DEFINE_ART_MODULE(klass)
EventNumber_t event() const
decltype(auto) get(T &&obj)
ADL-aware version of std::to_string.
bool getByLabel(std::string const &label, std::string const &instance, Handle< PROD > &result) const
std::string fCaloModuleLabel
void analyze(art::Event const &e) override