Definition at line 26 of file MVAPID_module.cc.
mvapid::MVAPID::MVAPID |
( |
fhicl::ParameterSet const & |
pset | ) |
|
|
explicit |
Definition at line 42 of file MVAPID_module.cc.
42 : EDProducer{pset},
fAlg(pset)
44 produces<std::vector<anab::MVAPIDResult>>();
45 produces<art::Assns<recob::Track, anab::MVAPIDResult, void>>();
46 produces<art::Assns<recob::Shower, anab::MVAPIDResult, void>>();
47 fResult =
new std::vector<anab::MVAPIDResult>;
std::vector< anab::MVAPIDResult > * fResult
void mvapid::MVAPID::beginJob |
( |
| ) |
|
All-knowing tree with reconstruction information
Definition at line 52 of file MVAPID_module.cc.
54 art::ServiceHandle<art::TFileService const>
tfs;
56 tfs->make<TTree>(
"MVAPID",
"Results");
art::ServiceHandle< art::TFileService > tfs
std::vector< anab::MVAPIDResult > * fResult
void mvapid::MVAPID::produce |
( |
art::Event & |
evt | ) |
|
Definition at line 67 of file MVAPID_module.cc.
69 std::unique_ptr<std::vector<anab::MVAPIDResult>> result(
new std::vector<anab::MVAPIDResult>);
70 std::unique_ptr<art::Assns<recob::Track, anab::MVAPIDResult>> trackAssns(
71 new art::Assns<recob::Track, anab::MVAPIDResult>);
72 std::unique_ptr<art::Assns<recob::Shower, anab::MVAPIDResult>> showerAssns(
73 new art::Assns<recob::Shower, anab::MVAPIDResult>);
80 evt.put(std::move(result));
81 evt.put(std::move(trackAssns));
82 evt.put(std::move(showerAssns));
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)
std::vector< anab::MVAPIDResult > * fResult
unsigned int mvapid::MVAPID::fEvent |
|
private |
unsigned int mvapid::MVAPID::fRun |
|
private |
unsigned int mvapid::MVAPID::fSubrun |
|
private |
TTree* mvapid::MVAPID::fTree |
|
private |
The documentation for this class was generated from the following file: