CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
TEvtRecTrack.h
Go to the documentation of this file.
1#ifndef RootEventData_TEvtRecTrack_H
2#define RootEventData_TEvtRecTrack_H
3
4#include <vector>
5#include "TObject.h"
6
7class TEvtRecTrack : public TObject {
8
9public:
10
12 virtual ~TEvtRecTrack();
13
14 Int_t trackId() const { return m_trackId; }
15 Int_t partId() const { return m_partId; }
16 Int_t quality() const { return m_quality; }
17 Int_t mdcTrackId() const { return m_mdcTrackId; }
18 Int_t mdcKalTrackId() const { return m_mdcKalTrackId; }
19 Int_t mdcDedxId() const { return m_mdcDedxId; }
20 Int_t cgemTrackId() const { return m_cgemTrackId; }
21 Int_t cgemSegmentId() const { return m_cgemSegmentId; }
22 Int_t cgemKalTrackId() const { return m_cgemKalTrackId; }
23 Int_t cgemDedxId() const { return m_cgemDedxId; }
24 Int_t extTrackId() const { return m_extTrackId; }
25 Int_t emcShowerId() const { return m_emcShowerId; }
26 Int_t mucTrackId() const { return m_mucTrackId; }
27
28 const std::vector<Int_t>& tofTrackIds() const { return m_tofTrackIds; }
29
30 void setTrackId (const int trackId) { m_trackId = trackId; }
31 void setPartId (const int partId) { m_partId = partId; }
32 void setQuality (const int quality) { m_quality = quality; }
33 void setMdcTrackId (const int mdcTrackId) { m_mdcTrackId = mdcTrackId; }
34 void setMdcKalTrackId(const int mdcKalTrackId) { m_mdcKalTrackId = mdcKalTrackId; }
35 void setMdcDedxId (const int mdcDedxId) { m_mdcDedxId = mdcDedxId; }
36 void setCgemTrackId (const int cgemTrackId) { m_cgemTrackId = cgemTrackId; }
37 void setCgemSegmentId (const int cgemSegmentId) { m_cgemSegmentId = cgemSegmentId; }
38 void setCgemKalTrackId(const int cgemKalTrackId) { m_cgemKalTrackId = cgemKalTrackId; }
39 void setCgemDedxId (const int cgemDedxId) { m_cgemDedxId = cgemDedxId; }
40 void setExtTrackId (const int extTrackId) { m_extTrackId = extTrackId; }
41 void setEmcShowerId (const int emcShowerId) { m_emcShowerId = emcShowerId; }
42 void setMucTrackId (const int mucTrackId) { m_mucTrackId = mucTrackId; }
43
44 void setTofTrackIds(const std::vector<Int_t>& tofTrackIds) { m_tofTrackIds = tofTrackIds; }
45 void addTofTrackId(const int tofTrackId) { m_tofTrackIds.push_back(tofTrackId); }
46
47private:
48
49 Int_t m_trackId;
50 Int_t m_partId;
51 Int_t m_quality;
52
53 Int_t m_mdcTrackId;
54 Int_t m_mdcKalTrackId;
55 Int_t m_mdcDedxId;
56 Int_t m_cgemTrackId;
57 Int_t m_cgemSegmentId;
58 Int_t m_cgemKalTrackId;
59 Int_t m_cgemDedxId;
60 Int_t m_extTrackId;
61 Int_t m_emcShowerId;
62 Int_t m_mucTrackId;
63
64 std::vector<Int_t> m_tofTrackIds;
65
66 ClassDef(TEvtRecTrack, 4)
67};
68
69#endif
void addTofTrackId(const int tofTrackId)
Definition: TEvtRecTrack.h:45
void setTrackId(const int trackId)
Definition: TEvtRecTrack.h:30
Int_t extTrackId() const
Definition: TEvtRecTrack.h:24
void setTofTrackIds(const std::vector< Int_t > &tofTrackIds)
Definition: TEvtRecTrack.h:44
void setCgemTrackId(const int cgemTrackId)
Definition: TEvtRecTrack.h:36
void setMdcTrackId(const int mdcTrackId)
Definition: TEvtRecTrack.h:33
Int_t cgemTrackId() const
Definition: TEvtRecTrack.h:20
Int_t cgemSegmentId() const
Definition: TEvtRecTrack.h:21
void setCgemKalTrackId(const int cgemKalTrackId)
Definition: TEvtRecTrack.h:38
Int_t cgemDedxId() const
Definition: TEvtRecTrack.h:23
virtual ~TEvtRecTrack()
void setMdcDedxId(const int mdcDedxId)
Definition: TEvtRecTrack.h:35
void setMucTrackId(const int mucTrackId)
Definition: TEvtRecTrack.h:42
void setCgemSegmentId(const int cgemSegmentId)
Definition: TEvtRecTrack.h:37
Int_t mdcTrackId() const
Definition: TEvtRecTrack.h:17
Int_t quality() const
Definition: TEvtRecTrack.h:16
void setMdcKalTrackId(const int mdcKalTrackId)
Definition: TEvtRecTrack.h:34
Int_t trackId() const
Definition: TEvtRecTrack.h:14
void setEmcShowerId(const int emcShowerId)
Definition: TEvtRecTrack.h:41
void setPartId(const int partId)
Definition: TEvtRecTrack.h:31
void setExtTrackId(const int extTrackId)
Definition: TEvtRecTrack.h:40
Int_t partId() const
Definition: TEvtRecTrack.h:15
Int_t mdcDedxId() const
Definition: TEvtRecTrack.h:19
void setCgemDedxId(const int cgemDedxId)
Definition: TEvtRecTrack.h:39
Int_t emcShowerId() const
Definition: TEvtRecTrack.h:25
void setQuality(const int quality)
Definition: TEvtRecTrack.h:32
Int_t mdcKalTrackId() const
Definition: TEvtRecTrack.h:18
const std::vector< Int_t > & tofTrackIds() const
Definition: TEvtRecTrack.h:28
Int_t cgemKalTrackId() const
Definition: TEvtRecTrack.h:22
Int_t mucTrackId() const
Definition: TEvtRecTrack.h:26