Belle II Software development
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
14namespace 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 int getTrack_id() const
91 {
92 return track_id ;
93 }
94
95
96 void setSubdetector(int Subdetector_)
97 {
98 Subdetector = Subdetector_;
99 }
100 void setSection(int Section_)
101 {
102 Section = Section_;
103 }
104 void setSector(int Sector_)
105 {
106 Sector = Sector_;
107 }
108 void setPlane(int Plane_)
109 {
110 Plane = Plane_;
111 }
112
113 void setNhits(int Nhits_)
114 {
115 Nhits = Nhits_;
116 }
117
118 void setTrack_id(int track_id_)
119 {
120 track_id = track_id_;
121 }
122 private:
123 double slopeXY = 0, interceptXY = 0, ipXY = 0, chisqXY = 0;
124 int Subdetector = 0, Section = 0, Sector = 0, Plane = 0, Nhits = 0, track_id = 0;
125
126 ClassDef(KLMTrgFittedTrack, 3);
127 };
129} // end of namespace Belle2
130
131#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.