15 #include "art_root_io/TFileService.h" 61 std::vector<TH1F*> kde_hists;
63 std::stringstream hname;
64 hname <<
"hkde_" << i_b;
65 kde_hists.push_back(tfs->make<TH1F>(hname.str().c_str(),
"PIDA KDE Distribution",100,0,30));
69 tfs->make<TH1F>(
"hvals",
"PIDA Distribution",100,0,30),
78 std::vector<anab::Calorimetry>
const& caloVector(*caloHandle);
80 for(
size_t i_calo=0; i_calo<caloVector.size(); i_calo++){
void SetPIDATree(TTree *, TH1F *, std::vector< TH1F * >)
EventNumber_t event() const
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
bool getByLabel(std::string const &label, std::string const &instance, Handle< PROD > &result) const
#define DEFINE_ART_MODULE(klass)
std::string fCaloModuleLabel
auto const & get(AssnsNode< L, R, D > const &r)
void analyze(art::Event const &e) override