Belle II Software  release-08-01-10
KLMTrgFittedTrack.h
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 
9 #ifndef KLMTrgFittedTrack_H
10 #define KLMTrgFittedTrack_H
11 
12 #include <framework/datastore/RelationsObject.h>
13 
14 namespace Belle2 {
21 
22  public:
23 
25  KLMTrgFittedTrack() = default;
26 
27 
28 
29 
31  virtual ~KLMTrgFittedTrack() { }
32 
33  // accessors
34 
35  double getSlopeXY() const
36  {
37  return slopeXY;
38  }
39  double getInterceptXY() const
40  {
41  return interceptXY;
42  }
43  double getIpXY() const
44  {
45  return ipXY;
46  }
47  double getChisqXY() const
48  {
49  return chisqXY;
50  }
51 
52 
53  void setSlopeXY(double slopeXY_)
54  {
55  slopeXY = slopeXY_;
56  }
57  void setInterceptXY(double InterceptXY_)
58  {
59  interceptXY = InterceptXY_;
60  }
61  void setIpXY(double ipXY_)
62  {
63  ipXY = ipXY_;
64  }
65  void setChisqXY(double chisqXY_)
66  {
67  chisqXY = chisqXY_;
68  }
69 
70  int getSubdetector() const
71  {
72  return Subdetector;
73  }
74  int getSection() const
75  {
76  return Section;
77  }
78  int getSector() const
79  {
80  return Sector ;
81  }
82  int getPlane() const
83  {
84  return Plane;
85  }
86  int getNhits() const
87  {
88  return Nhits ;
89  }
90 
91  void setSubdetector(int Subdetector_)
92  {
93  Subdetector = Subdetector_;
94  }
95  void setSection(int Section_)
96  {
97  Section = Section_;
98  }
99  void setSector(int Sector_)
100  {
101  Sector = Sector_;
102  }
103  void setPlane(int Plane_)
104  {
105  Plane = Plane_;
106  }
107 
108  void setNhits(int Nhits_)
109  {
110  Nhits = Nhits_;
111  }
112  private:
113  double slopeXY = 0, interceptXY = 0, ipXY = 0, chisqXY = 0;
114  int Subdetector = 0, Section = 0, Sector = 0, Plane = 0, Nhits = 0;
115 
116  ClassDef(KLMTrgFittedTrack, 2);
117  };
119 } // end of namespace Belle2
120 
121 #endif //KLMTRACKFITTER_H
Store KLM TRG track information as a ROOT object.
KLMTrgFittedTrack()=default
Empty constructor for ROOT IO (needed to make the class storable)
virtual ~KLMTrgFittedTrack()
Destructor.
Defines interface for accessing relations of objects in StoreArray.
Abstract base class for different kinds of events.