GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4ComGetCurrentEvent.h
Go to the documentation of this file.
1 // $Id: TGo4ComGetCurrentEvent.h 3432 2022-01-10 12:07:12Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef TGO4COMGETCURRENTEVENT_H
15 #define TGO4COMGETCURRENTEVENT_H
16 
18 
32  public:
33 
35 
36  TGo4ComGetCurrentEvent(const char* obname);
37 
38  virtual ~TGo4ComGetCurrentEvent();
39 
40  virtual Int_t ExeCom();
41 
45  virtual void Set(TGo4RemoteCommand* remcon);
46 
47  Bool_t IsOutputEvent() const { return fbOutputEvent; }
48 
49  void SetOutputEvent(Bool_t output=kTRUE) { fbOutputEvent=output; }
50 
51  Bool_t IsPrintoutOnly() const { return fbPrintoutOnly; }
52 
53  void SetPrintoutOnly(Bool_t on=kTRUE) { fbPrintoutOnly=on; }
54 
55  Bool_t IsTreeMode() const { return fbTreeMode; }
56 
57  void SetTreeMode(Bool_t on=kTRUE) { fbTreeMode=on; }
58 
59  private:
60  /* we use integer for bool expressions due to root streamer problems */
61 
63  Bool_t fbOutputEvent;
64 
67 
70  Bool_t fbTreeMode;
71 
72  ClassDef(TGo4ComGetCurrentEvent,1)
73 };
74 
75 
76 #endif //TGO4COMGETCURRENTEVENT_H
77 
78 
79 
virtual void Set(TGo4RemoteCommand *remcon)
void SetOutputEvent(Bool_t output=kTRUE)
void SetTreeMode(Bool_t on=kTRUE)
void SetPrintoutOnly(Bool_t on=kTRUE)