GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
TGo4ComGetCurrentEvent.h
Go to the documentation of this file.
1 // $Id$
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  Int_t ExeCom() override;
39 
43  void Set(TGo4RemoteCommand *remcon) override;
44 
45  Bool_t IsOutputEvent() const { return fbOutputEvent; }
46 
47  void SetOutputEvent(Bool_t output=kTRUE) { fbOutputEvent = output; }
48 
49  Bool_t IsPrintoutOnly() const { return fbPrintoutOnly; }
50 
51  void SetPrintoutOnly(Bool_t on = kTRUE) { fbPrintoutOnly = on; }
52 
53  Bool_t IsTreeMode() const { return fbTreeMode; }
54 
55  void SetTreeMode(Bool_t on=kTRUE) { fbTreeMode=on; }
56 
57  private:
58  /* we use integer for bool expressions due to root streamer problems */
59 
61  Bool_t fbOutputEvent;
62 
65 
68  Bool_t fbTreeMode;
69 
70  ClassDefOverride(TGo4ComGetCurrentEvent,1)
71 };
72 
73 
74 #endif //TGO4COMGETCURRENTEVENT_H
75 
76 
77 
void SetOutputEvent(Bool_t output=kTRUE)
void SetTreeMode(Bool_t on=kTRUE)
void Set(TGo4RemoteCommand *remcon) override
void SetPrintoutOnly(Bool_t on=kTRUE)