SimTrack.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // $Id: SimTrack.h,v 1.5 2011-10-19 20:31:56 brebel Exp $
3 //
4 // Definition of reco Track.
5 //
6 // \author $Author: brebel $
7 // \date $Date: 2011-10-19 20:31:56 $
8 //
9 ////////////////////////////////////////////////////////////////////////
10 
11 #ifndef SIMTRACK_H
12 #define SIMTRACK_H
13 
14 #include "RecoBase/Track.h"
15 
16 namespace cheat {
17 
18  class SimTrack : public rb::Track{
19 
20  public:
21  SimTrack();
22  ~SimTrack();
23 
24  #ifndef __GCCXML__
25  int PID() const { return fPID; }
26  int TrackID() const { return fTrackID; }
27 
28  void SetPID(int pid) { fPID = pid; }
29  void SetTrackID(int trackid) { fTrackID = trackid; }
30  #endif
31 
32  private:
33  int fPID; ///< Particle Data Group code for the particle
34  int fTrackID; ///< Track ID for the particle
35 
36  };
37 }
38 
39 #endif // SIMTRACK_H
void SetPID(int pid)
Definition: SimTrack.h:28
A rb::Prong with full reconstructed trajectory.
Definition: Track.h:20
void SetTrackID(int trackid)
Definition: SimTrack.h:29
int fTrackID
Track ID for the particle.
Definition: SimTrack.h:34
int TrackID() const
Definition: SimTrack.h:26
code to link reconstructed objects back to the MC truth information
Definition: FillTruth.h:17
int fPID
Particle Data Group code for the particle.
Definition: SimTrack.h:33
int PID() const
Definition: SimTrack.h:25