BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RootEventData/RootEventData-00-03-80/RootEventData/TTrigEvent.h
Go to the documentation of this file.
1#ifndef ROOT_TTrigEvent_H
2#define ROOT_TTrigEvent_H
3
4#include "TObject.h"
5#include "TClonesArray.h"
6#include "TObjArray.h"
7
8#include "TTrigData.h"
9
10class TTrigEvent: public TObject {
11public:
12
14 virtual ~TTrigEvent();
15
16 //o void initialize( Bool_t fromMc=true);
17 void initialize(){};
18
19 void Clear(Option_t *option="");
20
21 void Print(Option_t *option="") const;
22
23
24 //o inline Bool_t getFromMc() { return m_fromMc; };
25
26 //TrigData
27 void addTrigData(TTrigData * trigData);
28 const TTrigData* getTrigData() const;
29 void clearTrigData() { m_trigData->Clear();}
30
31private:
32
33
34 /// Denote whether or not this data was simulated
35 //o Bool_t m_fromMc;
36
37 /// data members to store trigger data
38 static TTrigData* s_staticTrigData;
39 TTrigData* m_trigData; //->
40
41 ClassDef(TTrigEvent,1) // Storage for trigger event and subsystem data
42};
43
44#endif
45
46
47
48
49
void Clear(Option_t *option="")
Definition: TTrigData.cxx:17
const TTrigData * getTrigData() const
Definition: TTrigEvent.cxx:50
void Clear(Option_t *option="")
Definition: TTrigEvent.cxx:35
void addTrigData(TTrigData *trigData)
TrigData.
Definition: TTrigEvent.cxx:45
virtual ~TTrigEvent()
Definition: TTrigEvent.cxx:23
void Print(Option_t *option="") const
Definition: TTrigEvent.cxx:40