BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
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
15 THltEvent();
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 clearHltRawCol()
Definition: THltEvent.h:32
void Clear(Option_t *option="")
Definition: THltEvent.cxx:55
const TObjArray * getHltRawCol() const
Definition: THltEvent.cxx:73
void addHltRaw(THltRaw *hltRaw)
HltRaw.
Definition: THltEvent.cxx:65
void addDstHltInf(TDstHltInf *dstHltInf)
Definition: THltEvent.cxx:82
const TDstHltInf * getDstHltInf() const
Definition: THltEvent.cxx:85
void Print(Option_t *option="") const
Definition: THltEvent.cxx:60
void addHltInf(THltInf *hltInf)
Definition: THltEvent.cxx:76
void clearDstHltInf()
Definition: THltEvent.h:40
virtual ~THltEvent()
Definition: THltEvent.cxx:34
void initialize()
Definition: THltEvent.h:19
const THltInf * getHltInf() const
Definition: THltEvent.cxx:79
const THltRaw * getHltRaw(int i) const
Definition: THltEvent.cxx:68
void clearHltInf()
Definition: THltEvent.h:36
Definition: THltInf.h:9
Definition: THltRaw.h:7