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
const_iterator begin() const
Definition: Track.h:1373
Class for track proxy elements.
Definition: Track.h:731
Offers proxy::Tracks and proxy::Track class for recob::Track access.
const_iterator end() const
Definition: Track.h:1376
size_t NPoints() const
Definition: Track.h:103
track_proxy_t const * track
Definition: Track.h:1380
recob::Track const & track() const
Returns the pointed track.
Definition: Track.h:745