58 produces< std::vector<anab::MVAPIDResult> >();
59 produces< art::Assns<recob::Track, anab::MVAPIDResult, void> >();
60 produces< art::Assns<recob::Shower, anab::MVAPIDResult, void> >();
61 fResult=
new std::vector<anab::MVAPIDResult>;
79 fTree =tfs->
make<TTree>(
"MVAPID",
"Results");
97 std::unique_ptr<std::vector<anab::MVAPIDResult> > result(
new std::vector<anab::MVAPIDResult>);
103 fAlg.
RunPID(evt,*result,*trackAssns,*showerAssns);
106 evt.
put(std::move(result));
107 evt.
put(std::move(trackAssns));
108 evt.
put(std::move(showerAssns));
MVAPID(fhicl::ParameterSet const &pset)
void reconfigure(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)
ProductID put(std::unique_ptr< PROD > &&product)
#define DEFINE_ART_MODULE(klass)
Provides recob::Track data product.
T * make(ARGS...args) const
Utility object to perform functions of association.
EventNumber_t event() const
void produce(art::Event &evt)
std::vector< anab::MVAPIDResult > * fResult
SubRunNumber_t subRun() const
void beginRun(art::Run &run)