BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/RootEventData/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 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 setTofTrackIds(const std::vector< Int_t > &tofTrackIds)
virtual ~TEvtRecTrack()
const std::vector< Int_t > & tofTrackIds() const