Imperial Analysis
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
LightTrack.hh
Go to the documentation of this file.
1 #ifndef ICHiggsTauTau_LightTrack_hh
2 #define ICHiggsTauTau_LightTrack_hh
3 #include <vector>
4 #include "Math/Point3D.h"
5 #include "Math/Point3Dfwd.h"
6 #include "Math/Vector3D.h"
7 #include "Math/Vector3Dfwd.h"
8 #include "Rtypes.h"
9 
10 namespace ic {
11 
16 class LightTrack {
17  public:
18  LightTrack();
19  virtual ~LightTrack();
20  virtual void Print() const;
21 
23 
24  inline std::size_t id() const { return id_; }
26 
28  inline double pt() const { return pt_; }
29 
31  inline double vz() const { return vz_; }
34 
36  inline void set_id(std::size_t const& id) { id_ = id; }
38 
40  inline void set_pt(double const& pt) { pt_ = pt; }
41 
43  inline void set_vz(double const& vz) { vz_ = vz; }
46  private:
47  float pt_;
48  float vz_;
49  std::size_t id_;
50 
51  #ifndef SKIP_CINT_DICT
52  public:
53  ClassDef(LightTrack, 2);
54  #endif
55 };
56 
57 typedef std::vector<ic::LightTrack> LightTrackCollection;
58 }
60 #endif
void set_pt(double const &pt)
The track transverse momentum.
Definition: LightTrack.hh:40
double vz() const
The z-coordinate of the point-of-closest-approach to the beamspot.
Definition: LightTrack.hh:31
Definition: CaloJet.hh:9
void set_vz(double const &vz)
The z-coordinate of the point-of-closest-approach to the beamspot.
Definition: LightTrack.hh:43
double pt() const
The track transverse momentum.
Definition: LightTrack.hh:28
ClassDef(LightTrack, 2)
std::size_t id() const
The unique identifier.
Definition: LightTrack.hh:25
virtual ~LightTrack()
Definition: LightTrack.cc:7
Stores a minimal amount of track information.
Definition: LightTrack.hh:16
void set_id(std::size_t const &id)
The unique identifier.
Definition: LightTrack.hh:37
std::vector< ic::LightTrack > LightTrackCollection
Definition: LightTrack.hh:57
virtual void Print() const
Definition: LightTrack.cc:9