16 #include "art_root_io/TFileService.h" 43 produces<std::vector<anab::MVAPIDResult>>();
44 produces<art::Assns<recob::Track, anab::MVAPIDResult, void>>();
45 produces<art::Assns<recob::Shower, anab::MVAPIDResult, void>>();
46 fResult =
new std::vector<anab::MVAPIDResult>;
55 tfs->make<TTree>(
"MVAPID",
"Results");
68 std::unique_ptr<std::vector<anab::MVAPIDResult>>
result(
new std::vector<anab::MVAPIDResult>);
69 std::unique_ptr<art::Assns<recob::Track, anab::MVAPIDResult>> trackAssns(
71 std::unique_ptr<art::Assns<recob::Shower, anab::MVAPIDResult>> showerAssns(
76 fAlg.
RunPID(evt, *result, *trackAssns, *showerAssns);
MVAPID(fhicl::ParameterSet const &pset)
EDProducer(fhicl::ParameterSet const &pset)
void RunPID(art::Event &evt, std::vector< anab::MVAPIDResult > &result, art::Assns< recob::Track, anab::MVAPIDResult, void > &trackAssns, art::Assns< recob::Shower, anab::MVAPIDResult, void > &showerAssns)
#define DEFINE_ART_MODULE(klass)
ProductID put(std::unique_ptr< PROD > &&edp, std::string const &instance={})
Provides recob::Track data product.
EventNumber_t event() const
void produce(art::Event &evt)
std::vector< anab::MVAPIDResult > * fResult
SubRunNumber_t subRun() const