BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RootEventData/RootEventData-00-03-80/RootEventData/TEvtRecObject.h
Go to the documentation of this file.
1#ifndef RootEventData_TEvtRecObject_H
2#define RootEventData_TEvtRecObject_H
3
4#include "TObject.h"
5#include "TObjArray.h"
6
7#include "TEvtRecEvent.h"
8#include "TEvtRecTrack.h"
10#include "TEvtRecVeeVertex.h"
11#include "TEvtRecPi0.h"
12#include "TEvtRecEtaToGG.h"
13#include "TEvtRecDTag.h"
14
15class TEvtRecObject : public TObject {
16
17public:
18
20 virtual ~TEvtRecObject();
21
22 void initialize();
23
24 void Clear(Option_t* option = "");
25
26 void Print(Option_t* option = "") const;
27
28 // Interfaces of EvtRecEvent
29 const TEvtRecEvent* getEvtRecEvent() const { return m_evtRecEvent; }
30 void setEvtRecEvent(TEvtRecEvent* evtRecEvent);
31
32 // Interfaces of EvtRecTracks
33 const TObjArray* getEvtRecTrackCol() const { return m_evtRecTrackCol; }
34 void addEvtRecTrack(TEvtRecTrack* track);
35 const TEvtRecTrack* getEvtRecTrack(Int_t i) const;
36 void clearEvtRecTrackCol() { m_evtRecTrackCol->Clear(); }
37
38 // Interfaces of EvtRecPrimaryVertex
39 const TEvtRecPrimaryVertex* getEvtRecPrimaryVertex() const {return m_evtRecPrimaryVertex; }
40 void setEvtRecPrimaryVertex(TEvtRecPrimaryVertex* evtRecPrimaryVertex);
41
42 // Interfaces of EvtRecVeeVertex
43 const TObjArray* getEvtRecVeeVertexCol() const {return m_evtRecVeeVertexCol; }
44 void addEvtRecVeeVertex(TEvtRecVeeVertex* veeVertex);
45 const TEvtRecVeeVertex* getEvtRecVeeVertex(Int_t i) const;
46 void clearEvtRecVeeVertexCol() { m_evtRecVeeVertexCol->Clear(); }
47
48
49
50 // Interfaces of EvtRecPi0
51 const TObjArray* getEvtRecPi0Col() const {return m_evtRecPi0Col; }
52 void addEvtRecPi0(TEvtRecPi0* pi0);
53 const TEvtRecPi0* getEvtRecPi0(Int_t i) const;
54 void clearEvtRecPi0Col() { m_evtRecPi0Col->Clear(); }
55
56 // Interfaces of EvtRecEtaToGG
57 const TObjArray* getEvtRecEtaToGGCol() const {return m_evtRecEtaToGGCol; }
59 const TEvtRecEtaToGG* getEvtRecEtaToGG(Int_t i) const;
60 void clearEvtRecEtaToGGCol() { m_evtRecEtaToGGCol->Clear(); }
61
62
63
64
65 // Interfaces of EvtRecDTag
66 const TObjArray* getEvtRecDTagCol() const {return m_evtRecDTagCol; }
67 void addEvtRecDTag(TEvtRecDTag* dtag);
68 const TEvtRecDTag* getEvtRecDTag(Int_t i) const;
69 void clearEvtRecDTagCol() { m_evtRecDTagCol->Clear(); }
70
71
72
73
74private:
75
76 /// data members of EvtRecEvent and EvtRecTracks
77 static TEvtRecEvent* s_staticEvtRecEvent;
78 TEvtRecEvent* m_evtRecEvent; //->
79 static TObjArray* s_staticEvtRecTrackCol;
80 TObjArray* m_evtRecTrackCol; //->
81
82 /// data members to store EvtRecPrimaryVertex and EvtRecVeeVertex
83 static TEvtRecPrimaryVertex* s_staticEvtRecPrimaryVertex;
84 TEvtRecPrimaryVertex* m_evtRecPrimaryVertex; //->
85 static TObjArray* s_staticEvtRecVeeVertexCol;
86 TObjArray* m_evtRecVeeVertexCol; //->
87
88 // data members to store EvtRecPi0
89 static TObjArray* s_staticEvtRecPi0Col;
90 TObjArray* m_evtRecPi0Col; //->
91
92
93 // data members to store EvtRecEtaToGG
94 static TObjArray* s_staticEvtRecEtaToGGCol;
95 TObjArray* m_evtRecEtaToGGCol; //->
96
97
98
99 // data members to store EvtRecDTag
100 static TObjArray* s_staticEvtRecDTagCol;
101 TObjArray* m_evtRecDTagCol; //->
102
103 ClassDef(TEvtRecObject, 2)
104};
105
106#endif
const TEvtRecVeeVertex * getEvtRecVeeVertex(Int_t i) const
const TEvtRecTrack * getEvtRecTrack(Int_t i) const
const TEvtRecPi0 * getEvtRecPi0(Int_t i) const
const TEvtRecEtaToGG * getEvtRecEtaToGG(Int_t i) const
void addEvtRecEtaToGG(TEvtRecEtaToGG *eta)
void Clear(Option_t *option="")
void addEvtRecPi0(TEvtRecPi0 *pi0)
void Print(Option_t *option="") const
void setEvtRecPrimaryVertex(TEvtRecPrimaryVertex *evtRecPrimaryVertex)
void addEvtRecTrack(TEvtRecTrack *track)
void setEvtRecEvent(TEvtRecEvent *evtRecEvent)
virtual ~TEvtRecObject()
const TEvtRecDTag * getEvtRecDTag(Int_t i) const
void addEvtRecVeeVertex(TEvtRecVeeVertex *veeVertex)
void addEvtRecDTag(TEvtRecDTag *dtag)