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