Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TrackStateInfo.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TrackStateInfo.h
1 #ifndef TRACKBASEHISTORIC_TRACKSTATEINFO_H
2 #define TRACKBASEHISTORIC_TRACKSTATEINFO_H
3 
4 //#include "SvtxTrackState.h"
5 //#include "TrackSeed.h"
6 
7 #include <trackbase/TrkrDefs.h>
8 
9 #include <g4main/PHG4HitDefs.h>
10 #include <phool/PHObject.h>
11 
12 #include <limits.h>
13 #include <cmath>
14 #include <iostream>
15 #include <map>
16 #include <set>
17 
18 class TrackStateInfo : public PHObject
19 {
20  public:
21  TrackStateInfo() = default;
22  ~TrackStateInfo() override = default;
23 
24  // The "standard PHObject response" functions...
25  void identify(std::ostream& os = std::cout) const override
26  {
27  os << "TrackStateInfo base class" << std::endl;
28  }
29 
30  int isValid() const override { return 0; }
31  PHObject* CloneMe() const override { return nullptr; }
32 
34  using PHObject::CopyFrom;
35 
37  virtual void CopyFrom(const TrackStateInfo&)
38  {
39  }
40 
42  virtual void CopyFrom(TrackStateInfo*)
43  {
44  }
45 
46  //
47  // basic track information ---------------------------------------------------
48  //
49 
50  // vertex information
51  virtual float get_x() const { return NAN; }
52  virtual void set_x(float) {}
53 
54  virtual float get_y() const { return NAN; }
55  virtual void set_y(float) {}
56 
57  virtual float get_z() const { return NAN; }
58  virtual void set_z(float) {}
59 
60  virtual float get_pos(unsigned int) const { return NAN; }
61 
62  virtual float get_px() const { return NAN; }
63  virtual void set_px(float) {}
64 
65  virtual float get_py() const { return NAN; }
66  virtual void set_py(float) {}
67 
68  virtual float get_pz() const { return NAN; }
69  virtual void set_pz(float) {}
70 
71  virtual float get_mom(unsigned int) const { return NAN; }
72 
73  virtual float get_p() const { return NAN; }
74  virtual float get_pt() const { return NAN; }
75  virtual float get_eta() const { return NAN; }
76  virtual float get_phi() const { return NAN; }
77 
78  virtual float get_covariance(int, int) const { return NAN; }
79  virtual void set_covariance(int, int, float) {}
80 
81  private:
83 };
84 
85 #endif