CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
bak_RootEventData-00-05-12/src/TTrigEvent.cxx
Go to the documentation of this file.
1#include "RootEventData/TTrigEvent.h"
2#include "TCollection.h" // Declares TIter
3
5
6// Allocate the TObjArray just once
7TTrigData *TTrigEvent::s_staticTrigData = 0;
8
9//***************************************************************
11 : m_trigData(0)
12{
13 if (! s_staticTrigData ) {
14 s_staticTrigData = new TTrigData();
15 }
16
17 m_trigData = s_staticTrigData;
18
19 Clear();
20}
21
22//*****************************************************************
24 if(m_trigData == s_staticTrigData ) s_staticTrigData = 0;
25 delete m_trigData;
26 m_trigData = 0;
27}
28
29//*****************************************************************
30//o void TTrigEvent::initialize(Bool_t fromMc){
31//o m_fromMc = fromMc;
32//o }
33
34//*****************************************************************
35void TTrigEvent::Clear(Option_t *option) {
36
37}
38
39//*****************************************************************************
40void TTrigEvent::Print(Option_t *option) const {
41 TObject::Print(option);
42}
43
44///TrigData
46 m_trigData = trigData;
47}
48
49
51 return (TTrigData*)m_trigData ;
52}
ClassImp(TBossFullEvent) TBossFullEvent
const TTrigData * getTrigData() const
void addTrigData(TTrigData *trigData)
TrigData.
void Print(Option_t *option="") const