BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/RootEventData/RootEventData/THltEvent.h
Go to the documentation of this file.
1#ifndef ROOT_THltEvent_H
2#define ROOT_THltEvent_H
3
4#include "TObject.h"
5#include "TClonesArray.h"
6#include "TObjArray.h"
7
8#include "THltRaw.h"
9#include "THltInf.h"
10#include "TDstHltInf.h"
11
12class THltEvent: public TObject {
13public:
14
16 virtual ~THltEvent();
17
18 //o void initialize( Bool_t fromMc=true);
19 void initialize(){};
20
21 void Clear(Option_t *option="");
22
23 void Print(Option_t *option="") const;
24
25
26 //o inline Bool_t getFromMc() { return m_fromMc; };
27
28 //HltData
29 void addHltRaw(THltRaw * hltRaw);
30 const THltRaw* getHltRaw(int i) const;
31 const TObjArray* getHltRawCol() const;
32 void clearHltRawCol() { m_hltRawCol->Clear();}
33
34 void addHltInf(THltInf * hltInf);
35 const THltInf* getHltInf() const;
36 void clearHltInf() { m_hltInf->Clear();}
37
38 void addDstHltInf(TDstHltInf * dstHltInf);
39 const TDstHltInf* getDstHltInf() const;
40 void clearDstHltInf() { m_dstHltInf->Clear();}
41
42private:
43
44
45 /// Denote whether or not this data was simulated
46 //o Bool_t m_fromMc;
47
48 /// data members to store trigger data
49 static TObjArray* s_staticHltRawCol;
50 TObjArray* m_hltRawCol; //->
51
52 static THltInf* s_staticHltInf;
53 THltInf* m_hltInf; //->
54
55 static TDstHltInf* s_staticDstHltInf;
56 TDstHltInf* m_dstHltInf; //->
57
58 ClassDef(THltEvent,3) // Storage for event filter and subsystem data
59};
60
61#endif
62
63
64
65
66
void Clear(Option_t *option="")
const TObjArray * getHltRawCol() const
void addHltRaw(THltRaw *hltRaw)
void addDstHltInf(TDstHltInf *dstHltInf)
virtual ~THltEvent()
const TDstHltInf * getDstHltInf() const
void Print(Option_t *option="") const
void addHltInf(THltInf *hltInf)
const THltInf * getHltInf() const
const THltRaw * getHltRaw(int i) const