APRILContent
Algorithm of Particle Reconstruction for ILC - implementation with PandoraSDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations
Track.h
Go to the documentation of this file.
1 /*
3  *
4  * Track.h header template automatically generated by a class generator
5  * Creation date : jeu. sept. 24 2015
6  *
7  * This file is part of APRILContent libraries.
8  *
9  * APRILContent is free software: you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation, either version 3 of the License, or
12  * (at your option) any later version.
13  * based upon these libraries are permitted. Any copy of these libraries
14  * must include this copyright notice.
15  *
16  * APRILContent is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with APRILContent. If not, see <http://www.gnu.org/licenses/>.
23  *
24  * @author Remi Ete
25  * @copyright CNRS , IPNL
26  */
27 
28 
29 #ifndef TRACK_H
30 #define TRACK_H
31 
32 // -- pandora sdk headers
33 #include "Pandora/StatusCodes.h"
34 #include "Objects/Track.h"
35 
36 #include "Api/PandoraApi.h"
37 #include "Api/PandoraContentApi.h"
38 
41 
42 namespace april_content
43 {
44 
48 class Track : public pandora::Track
49 {
50  public:
54  Track(const PandoraApi::Track::Parameters &parameters);
55 
59  virtual ~Track();
60 
64  const TrackList &GetNearbyTrackList() const;
65 
66 protected:
67 
71  pandora::StatusCode AddNearbyTrack(const Track *pNearbyTrack);
72 
76  pandora::StatusCode RemoveNearbyTrack(const Track *pNearbyTrack);
77 
81  pandora::StatusCode RemoveAllNearbyTracks();
82 
83 private:
84 
85  TrackList m_nearbyTrackList;
86 };
87 
88 }
89 
90 #endif // TRACK_H
virtual ~Track()
Destructor.
Definition: Track.cc:44
Track(const PandoraApi::Track::Parameters &parameters)
Constructor with track parameters.
Definition: Track.cc:36
const TrackList & GetNearbyTrackList() const
Get the nearby track list.
Definition: Track.cc:51
TrackList m_nearbyTrackList
The list of nearby tracks.
Definition: Track.h:85
pandora::StatusCode RemoveAllNearbyTracks()
Remove all nearby tracks.
Definition: Track.cc:88
Track class.
Definition: Track.h:48
pandora::StatusCode RemoveNearbyTrack(const Track *pNearbyTrack)
Remove a nearby track.
Definition: Track.cc:71
pandora::StatusCode AddNearbyTrack(const Track *pNearbyTrack)
Add a nearby track.
Definition: Track.cc:58