16 #include "art_root_io/TFileService.h" 60 std::vector<short>
tpc;
96 std::vector<art::Ptr<recob::Hit> > hitlist;
102 for (
auto &
hit : hitlist){
105 std::array<float,3> cnn_out = hitResults.
getOutput(
hit);
107 if (
hit->WireID().Plane == 2){
109 tpc.push_back(
hit->WireID().TPC);
110 plane.push_back(
hit->WireID().Plane);
111 wire.push_back(
hit->WireID().Wire);
131 ftree = fileServiceHandle->make<TTree>(
"ftree",
"hit info");
132 ftree->Branch(
"run", &
run,
"run/I");
std::vector< double > score_el
Handle< PROD > getHandle(SelectorBase const &) const
void analyze(art::Event const &e) override
int getIndex(const std::string &name) const
Index of column with given name, or -1 if name not found.
std::vector< short > plane
EDAnalyzer(fhicl::ParameterSet const &pset)
art::InputTag fNNetModuleLabel
std::vector< short > wire
std::vector< double > score_none
#define DEFINE_ART_MODULE(klass)
VtxScore & operator=(VtxScore const &)=delete
std::vector< double > charge
SubRunNumber_t subRun() const
Detector simulation of raw signals on wires.
VtxScore(fhicl::ParameterSet const &p)
Declaration of signal hit object.
std::vector< double > score_inel
std::vector< double > peakt
EventNumber_t event() const
art::InputTag fHitsModuleLabel
void fill_ptr_vector(std::vector< Ptr< T >> &ptrs, H const &h)
std::array< float, N > getOutput(size_t key) const
Get copy of the MVA output vector at index "key".
std::vector< short > channel
Event finding and building.