CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RootEventData/RootEventData-00-05-13/RootEventData/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 setTofTrackIds(const std::vector< Int_t > &tofTrackIds)
virtual ~TEvtRecTrack()