All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
lardata/RecoBaseProxy/Track.cxx
Go to the documentation of this file.
1 /**
2  * @file lardata/RecoBaseProxy/Track.cxx
3  * @brief Implementation file for `proxy::Track`.
4  * @author Gianluca Petrillo (petrillo@fnal.gov)
5  * @date July 27, 2017
6  * @see Track.h
7  *
8  */
9 
10 // LArSoft libraries
11 #include "lardata/RecoBaseProxy/Track.h" // proxy namespace
12 
13 #if 0
14 //------------------------------------------------------------------------------
15 //--- proxy::TrackPointIterator implementation
16 //------------------------------------------------------------------------------
18  { return TrackPointIterator(*track, 0U); }
20  { return TrackPointIterator(*track, track->track().NPoints()); }
21 
22 //------------------------------------------------------------------------------
23 //--- proxy::Tracks implementation
24 //------------------------------------------------------------------------------
25 proxy::Track proxy::Tracks::getProxyAt(std::size_t index) const {
26 
27  return { Base_t::getMainAt(index), hitsPerTrack[index] };
28 
29 } // proxy::Tracks::getProxyAt()
30 
31 
32 #endif // 0
process_name use argoneut_mc_hitfinder track
Offers proxy::Tracks and proxy::Track class for recob::Track access.