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