BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
TEvtRecDTag.h
Go to the documentation of this file.
1#ifndef RootEventData_TEvtRecDTag_H
2#define RootEventData_TEvtRecDTag_H
3
4#include "TObject.h"
5#include <vector>
6
7
8class TEvtRecDTag : public TObject {
9
10 public:
13
14 Int_t decayMode() const {return m_decayMode;}
15 Int_t type() const {return m_type;}
16 Double_t beamE() const {return m_beamE;}
17 Double_t mass() const {return m_mass;}
18 Double_t mBC() const {return m_mBC;}
19 Double_t deltaE() const {return m_deltaE;}
20 Int_t charge() const {return m_charge;}
21 Int_t charm() const {return m_charm;}
22 Int_t numOfChildren() const {return m_numOfChildren;}
23 Double_t px() const {return m_px;}
24 Double_t py() const {return m_py;}
25 Double_t pz() const {return m_pz;}
26 Double_t pe() const {return m_pe;}
27
28
29 const std::vector<Int_t>& tracks() const {return m_tracks;}
30 const std::vector<Int_t>& showers() const {return m_showers;}
31 const std::vector<Int_t>& otherTracks() const {return m_otherTracks;}
32 const std::vector<Int_t>& otherShowers() const {return m_otherShowers;}
33 const std::vector<Int_t>& pionId() const {return m_pionId;}
34 const std::vector<Int_t>& kaonId() const {return m_kaonId;}
35
36 void setdecayMode(Int_t decayMode) {m_decayMode=decayMode;}
37 void settype(Int_t type) {m_type = type;}
38 void setbeamE(Double_t beamE) {m_beamE=beamE;}
39 void setmass(Double_t mass) {m_mass = mass;}
40 void setmBC(Double_t mBC) {m_mBC = mBC;}
41 void setdeltaE(Double_t deltaE) {m_deltaE = deltaE;}
42 void setcharge(Int_t charge) {m_charge = charge;}
43 void setcharm(Int_t charm) {m_charm = charm;}
44 void setnumOfChildren(Int_t numOfChildren) {m_numOfChildren = numOfChildren;}
45 void setpx(Double_t px) { m_px=px;}
46 void setpy(Double_t py) { m_py=py;}
47 void setpz(Double_t pz) { m_pz=pz;}
48 void setpe(Double_t pe) { m_pe=pe;}
49
50
51 void setTracks(const std::vector<Int_t>& tracks) { m_tracks=tracks;}
52 void setShowers(const std::vector<Int_t>& showers) { m_showers=showers;}
53 void setOtherTracks(const std::vector<Int_t>& tracks) { m_otherTracks=tracks;}
54 void setOtherShowers(const std::vector<Int_t>& showers) { m_otherShowers=showers;}
55 void setPionId(const std::vector<Int_t>& pionId) { m_pionId=pionId;}
56 void setKaonId(const std::vector<Int_t>& kaonId) { m_kaonId=kaonId;}
57
58 void addTrack(Int_t track) { m_tracks.push_back(track);}
59 void addShower(Int_t shower) { m_showers.push_back(shower);}
60 void addOtherTrack(Int_t track) { m_otherTracks.push_back(track);}
61 void addOtherShower(Int_t shower) { m_otherShowers.push_back(shower);}
62 void addPionId(Int_t pionId) { m_pionId.push_back(pionId);}
63 void addKaonId(Int_t kaonId) { m_kaonId.push_back(kaonId);}
64
65 private:
66 Int_t m_decayMode;
67 Int_t m_type;
68 Double_t m_beamE;
69 Double_t m_mass;
70 Double_t m_mBC;
71 Double_t m_deltaE;
72 Int_t m_charge;
73 Int_t m_charm;
74 UInt_t m_numOfChildren;
75 Double_t m_px;
76 Double_t m_py;
77 Double_t m_pz;
78 Double_t m_pe;
79
80 std::vector<Int_t> m_tracks;
81 std::vector<Int_t> m_showers;
82 std::vector<Int_t> m_otherTracks;
83 std::vector<Int_t> m_otherShowers;
84 std::vector<Int_t> m_pionId;
85 std::vector<Int_t> m_kaonId;
86
87 ClassDef(TEvtRecDTag, 1)
88};
89#endif
90
void setpz(Double_t pz)
Definition: TEvtRecDTag.h:47
Double_t pe() const
Definition: TEvtRecDTag.h:26
void setpx(Double_t px)
Definition: TEvtRecDTag.h:45
void setpy(Double_t py)
Definition: TEvtRecDTag.h:46
const std::vector< Int_t > & otherShowers() const
Definition: TEvtRecDTag.h:32
Int_t charm() const
Definition: TEvtRecDTag.h:21
void setnumOfChildren(Int_t numOfChildren)
Definition: TEvtRecDTag.h:44
void addTrack(Int_t track)
Definition: TEvtRecDTag.h:58
Double_t py() const
Definition: TEvtRecDTag.h:24
Double_t px() const
Definition: TEvtRecDTag.h:23
Double_t mass() const
Definition: TEvtRecDTag.h:17
void setbeamE(Double_t beamE)
Definition: TEvtRecDTag.h:38
void addOtherTrack(Int_t track)
Definition: TEvtRecDTag.h:60
Int_t type() const
Definition: TEvtRecDTag.h:15
void setTracks(const std::vector< Int_t > &tracks)
Definition: TEvtRecDTag.h:51
Double_t beamE() const
Definition: TEvtRecDTag.h:16
void setOtherTracks(const std::vector< Int_t > &tracks)
Definition: TEvtRecDTag.h:53
void addOtherShower(Int_t shower)
Definition: TEvtRecDTag.h:61
void setpe(Double_t pe)
Definition: TEvtRecDTag.h:48
void setmass(Double_t mass)
Definition: TEvtRecDTag.h:39
void addPionId(Int_t pionId)
Definition: TEvtRecDTag.h:62
const std::vector< Int_t > & showers() const
Definition: TEvtRecDTag.h:30
void setcharge(Int_t charge)
Definition: TEvtRecDTag.h:42
void addShower(Int_t shower)
Definition: TEvtRecDTag.h:59
void setOtherShowers(const std::vector< Int_t > &showers)
Definition: TEvtRecDTag.h:54
Double_t deltaE() const
Definition: TEvtRecDTag.h:19
void setKaonId(const std::vector< Int_t > &kaonId)
Definition: TEvtRecDTag.h:56
void setdeltaE(Double_t deltaE)
Definition: TEvtRecDTag.h:41
Int_t numOfChildren() const
Definition: TEvtRecDTag.h:22
void setcharm(Int_t charm)
Definition: TEvtRecDTag.h:43
const std::vector< Int_t > & otherTracks() const
Definition: TEvtRecDTag.h:31
void addKaonId(Int_t kaonId)
Definition: TEvtRecDTag.h:63
Int_t decayMode() const
Definition: TEvtRecDTag.h:14
void settype(Int_t type)
Definition: TEvtRecDTag.h:37
Double_t mBC() const
Definition: TEvtRecDTag.h:18
void setmBC(Double_t mBC)
Definition: TEvtRecDTag.h:40
const std::vector< Int_t > & kaonId() const
Definition: TEvtRecDTag.h:34
Int_t charge() const
Definition: TEvtRecDTag.h:20
void setdecayMode(Int_t decayMode)
Definition: TEvtRecDTag.h:36
void setShowers(const std::vector< Int_t > &showers)
Definition: TEvtRecDTag.h:52
const std::vector< Int_t > & tracks() const
Definition: TEvtRecDTag.h:29
void setPionId(const std::vector< Int_t > &pionId)
Definition: TEvtRecDTag.h:55
Double_t pz() const
Definition: TEvtRecDTag.h:25
const std::vector< Int_t > & pionId() const
Definition: TEvtRecDTag.h:33