BOSS 6.6.4.p01
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 extTrackId() const { return m_extTrackId; }
21 Int_t emcShowerId() const { return m_emcShowerId; }
22 Int_t mucTrackId() const { return m_mucTrackId; }
23
24 const std::vector<Int_t>& tofTrackIds() const { return m_tofTrackIds; }
25
26 void setTrackId (const int trackId) { m_trackId = trackId; }
27 void setPartId (const int partId) { m_partId = partId; }
28 void setQuality (const int quality) { m_quality = quality; }
29 void setMdcTrackId (const int mdcTrackId) { m_mdcTrackId = mdcTrackId; }
30 void setMdcKalTrackId(const int mdcKalTrackId) { m_mdcKalTrackId = mdcKalTrackId; }
31 void setMdcDedxId (const int mdcDedxId) { m_mdcDedxId = mdcDedxId; }
32 void setExtTrackId (const int extTrackId) { m_extTrackId = extTrackId; }
33 void setEmcShowerId (const int emcShowerId) { m_emcShowerId = emcShowerId; }
34 void setMucTrackId (const int mucTrackId) { m_mucTrackId = mucTrackId; }
35
36 void setTofTrackIds(const std::vector<Int_t>& tofTrackIds) { m_tofTrackIds = tofTrackIds; }
37 void addTofTrackId(const int tofTrackId) { m_tofTrackIds.push_back(tofTrackId); }
38
39private:
40
41 Int_t m_trackId;
42 Int_t m_partId;
43 Int_t m_quality;
44
45 Int_t m_mdcTrackId;
46 Int_t m_mdcKalTrackId;
47 Int_t m_mdcDedxId;
48 Int_t m_extTrackId;
49 Int_t m_emcShowerId;
50 Int_t m_mucTrackId;
51
52 std::vector<Int_t> m_tofTrackIds;
53
54 ClassDef(TEvtRecTrack, 3)
55};
56
57#endif
void addTofTrackId(const int tofTrackId)
Definition: TEvtRecTrack.h:37
void setTrackId(const int trackId)
Definition: TEvtRecTrack.h:26
Int_t extTrackId() const
Definition: TEvtRecTrack.h:20
void setTofTrackIds(const std::vector< Int_t > &tofTrackIds)
Definition: TEvtRecTrack.h:36
void setMdcTrackId(const int mdcTrackId)
Definition: TEvtRecTrack.h:29
virtual ~TEvtRecTrack()
void setMdcDedxId(const int mdcDedxId)
Definition: TEvtRecTrack.h:31
void setMucTrackId(const int mucTrackId)
Definition: TEvtRecTrack.h:34
Int_t mdcTrackId() const
Definition: TEvtRecTrack.h:17
Int_t quality() const
Definition: TEvtRecTrack.h:16
void setMdcKalTrackId(const int mdcKalTrackId)
Definition: TEvtRecTrack.h:30
Int_t trackId() const
Definition: TEvtRecTrack.h:14
void setEmcShowerId(const int emcShowerId)
Definition: TEvtRecTrack.h:33
void setPartId(const int partId)
Definition: TEvtRecTrack.h:27
void setExtTrackId(const int extTrackId)
Definition: TEvtRecTrack.h:32
Int_t partId() const
Definition: TEvtRecTrack.h:15
Int_t mdcDedxId() const
Definition: TEvtRecTrack.h:19
Int_t emcShowerId() const
Definition: TEvtRecTrack.h:21
void setQuality(const int quality)
Definition: TEvtRecTrack.h:28
Int_t mdcKalTrackId() const
Definition: TEvtRecTrack.h:18
const std::vector< Int_t > & tofTrackIds() const
Definition: TEvtRecTrack.h:24
Int_t mucTrackId() const
Definition: TEvtRecTrack.h:22