|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #ifndef TIDAEXAMPLE_NTUPLETRACKSELECTOR_H
13 #define TIDAEXAMPLE_NTUPLETRACKSELECTOR_H
50 std::vector<TIDA::Track>::const_iterator trackitr =
tracks.begin();
51 std::vector<TIDA::Track>::const_iterator trackend =
tracks.end();
52 while ( trackitr!=trackend ) {
61 std::vector<TIDA::Track*>::const_iterator trackitr =
tracks.begin();
62 std::vector<TIDA::Track*>::const_iterator trackend =
tracks.end();
63 while ( trackitr!=trackend ) {
82 #endif // TIDAEXAMPLE_NTUPLETRACKSELECTOR_H
void selectTracks(const std::vector< TIDA::Track > &tracks)
extract all the tracks from a vector of Tracks
void selectTracks(const std::vector< TIDA::Track * > &tracks)
extract all the tracks from a vector of Tracks pointers
virtual bool addTrack(TIDA::Track *t, bool(*f)(const TIDA::Track *)=0)
base class for a single track selection filter allowing parameter setting for complex track selection
void selectTrack(const TIDA::Track &track)
add a Track
NtupleTrackSelector(TrackFilter *selector=0)
virtual void clear() override
the ntple selector manages the tracks itself, so we have to do an explicit delete for each one to pre...
void selectTrack(TIDA::Track *track)
add single Track
std::vector< TIDA::Track * > m_tracks
virtual TrackSelector * clone() override
const std::vector< TIDA::Track * > & tracks() const