LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "EmTrack.h"
Classes | |
struct | Config |
Public Types | |
using | key = std::tuple< unsigned int, unsigned int, unsigned int > |
using | cryo_tpc_view_keymap = std::map< key, std::vector< size_t >> |
Public Member Functions | |
EmTrack (Config const &c, std::string const &s, art::ProducesCollector &pc) | |
void | produce (art::Event &e) |
Private Types | |
using | writer = anab::MVAWriter< N > |
Private Member Functions | |
bool | isViewSelected (int view) const |
void | make_clusters (art::Event &evt, std::vector< art::Ptr< recob::Hit >> const &hitPtrList, std::vector< char > const &hitInFA, EmTrack::cryo_tpc_view_keymap const &hitMap) |
void | make_tracks (art::Event const &evt, std::vector< char > const &hitInFA) |
make tracks More... | |
cryo_tpc_view_keymap | create_hitmap (std::vector< art::Ptr< recob::Hit >> const &hitPtrList) const |
std::vector< char > | classify_hits (art::Event const &evt, EmTrack::cryo_tpc_view_keymap const &hitMap, std::vector< art::Ptr< recob::Hit >> const &hitPtrList) |
Private Attributes | |
const size_t | fBatchSize |
std::unique_ptr< PointIdAlgTools::IPointIdAlg > | fPointIdAlgTool |
writer | fMVAWriter |
const art::InputTag | fWireProducerLabel |
const art::InputTag | fHitModuleLabel |
const art::InputTag | fClusterModuleLabel |
const art::InputTag | fTrackModuleLabel |
const bool | fDoClusters |
const bool | fDoTracks |
const std::vector< int > | fViews |
const art::InputTag | fNewClustersTag |
using nnet::EmTrack< N >::cryo_tpc_view_keymap = std::map<key, std::vector<size_t>> |
using nnet::EmTrack< N >::key = std::tuple<unsigned int, unsigned int, unsigned int> |
|
private |
|
explicit |
Definition at line 360 of file EmTrack.h.
References nnet::EmTrack< N >::fClusterModuleLabel, nnet::EmTrack< N >::fMVAWriter, nnet::EmTrack< N >::fTrackModuleLabel, art::InputTag::label(), and art::ProducesCollector::produces().
|
private |
Definition at line 307 of file EmTrack.h.
References nnet::EmTrack< N >::fBatchSize, nnet::EmTrack< N >::fHitModuleLabel, nnet::EmTrack< N >::fMVAWriter, nnet::EmTrack< N >::fPointIdAlgTool, nnet::EmTrack< N >::fWireProducerLabel, art::ProductRetriever::getValidHandle(), hits(), nnet::EmTrack< N >::isViewSelected(), recob::Hit::PeakTime(), anab::MVAWriter< N >::setOutput(), geo::WireID::Wire, and recob::Hit::WireID().
Referenced by nnet::EmTrack< N >::produce().
|
private |
Definition at line 289 of file EmTrack.h.
References nnet::EmTrack< N >::isViewSelected().
Referenced by nnet::EmTrack< N >::produce().
|
private |
Definition at line 408 of file EmTrack.h.
References nnet::EmTrack< N >::fViews.
Referenced by nnet::EmTrack< N >::classify_hits(), nnet::EmTrack< N >::create_hitmap(), nnet::EmTrack< N >::make_clusters(), and nnet::EmTrack< N >::make_tracks().
|
private |
Definition at line 107 of file EmTrack.h.
References anab::MVAWriter< N >::addOutput(), util::CreateAssn(), nnet::EmTrack< N >::fClusterModuleLabel, art::fill_ptr_vector(), nnet::EmTrack< N >::fMVAWriter, nnet::EmTrack< N >::fNewClustersTag, nnet::EmTrack< N >::fPointIdAlgTool, art::ProductRetriever::getValidHandle(), nnet::EmTrack< N >::isViewSelected(), art::PtrVector< T >::push_back(), and art::Event::put().
Referenced by nnet::EmTrack< N >::produce().
|
private |
make tracks
Definition at line 250 of file EmTrack.h.
References nnet::EmTrack< N >::fMVAWriter, nnet::EmTrack< N >::fPointIdAlgTool, nnet::EmTrack< N >::fTrackModuleLabel, art::ProductRetriever::getValidHandle(), nnet::EmTrack< N >::isViewSelected(), and anab::MVAWriter< N >::setOutput().
Referenced by nnet::EmTrack< N >::produce().
void nnet::EmTrack< N >::produce | ( | art::Event & | e | ) |
Definition at line 391 of file EmTrack.h.
References nnet::EmTrack< N >::classify_hits(), nnet::EmTrack< N >::create_hitmap(), art::EventID::event(), nnet::EmTrack< N >::fDoClusters, nnet::EmTrack< N >::fDoTracks, nnet::EmTrack< N >::fHitModuleLabel, art::fill_ptr_vector(), nnet::EmTrack< N >::fMVAWriter, art::ProductRetriever::getValidHandle(), art::Event::id(), nnet::EmTrack< N >::make_clusters(), nnet::EmTrack< N >::make_tracks(), art::Event::run(), and anab::FVectorWriter< N >::saveOutputs().
Referenced by nnet::EmTrackClusterId2outTl::produce(), nnet::EmTrackClusterId3outTl::produce(), and nnet::EmTrackMichelIdTl::produce().
|
private |
Definition at line 83 of file EmTrack.h.
Referenced by nnet::EmTrack< N >::classify_hits().
|
private |
Definition at line 89 of file EmTrack.h.
Referenced by nnet::EmTrack< N >::EmTrack(), and nnet::EmTrack< N >::make_clusters().
|
private |
Definition at line 91 of file EmTrack.h.
Referenced by nnet::EmTrack< N >::produce().
|
private |
Definition at line 92 of file EmTrack.h.
Referenced by nnet::EmTrack< N >::produce().
|
private |
Definition at line 88 of file EmTrack.h.
Referenced by nnet::EmTrack< N >::classify_hits(), and nnet::EmTrack< N >::produce().
|
private |
Definition at line 86 of file EmTrack.h.
Referenced by nnet::EmTrack< N >::classify_hits(), nnet::EmTrack< N >::EmTrack(), nnet::EmTrack< N >::make_clusters(), nnet::EmTrack< N >::make_tracks(), and nnet::EmTrack< N >::produce().
|
private |
Definition at line 94 of file EmTrack.h.
Referenced by nnet::EmTrack< N >::make_clusters().
|
private |
Definition at line 84 of file EmTrack.h.
Referenced by nnet::EmTrack< N >::classify_hits(), nnet::EmTrack< N >::make_clusters(), and nnet::EmTrack< N >::make_tracks().
|
private |
Definition at line 90 of file EmTrack.h.
Referenced by nnet::EmTrack< N >::EmTrack(), and nnet::EmTrack< N >::make_tracks().
|
private |
Definition at line 93 of file EmTrack.h.
Referenced by nnet::EmTrack< N >::isViewSelected().
|
private |
Definition at line 87 of file EmTrack.h.
Referenced by nnet::EmTrack< N >::classify_hits().