00001 //------------------------------------------------------------- 00002 // Go4 Release Package v3.04-01 (build 30401) 00003 // 28-November-2008 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at EE department, GSI 00007 //--------------------------------------------------------------- 00008 // 00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI 00010 // Planckstr. 1, 64291 Darmstadt, Germany 00011 //Contact: http://go4.gsi.de 00012 //---------------------------------------------------------------- 00013 //This software can be used under the license agreements as stated 00014 //in Go4License.txt file which is part of the distribution. 00015 //---------------------------------------------------------------- 00016 #ifndef TGO4COMGETCURRENTEVENT_H 00017 #define TGO4COMGETCURRENTEVENT_H 00018 00019 #include "TGo4AnalysisObjectCommand.h" 00020 00033 class TGo4ComGetCurrentEvent : public TGo4AnalysisObjectCommand { 00034 public: 00035 00036 TGo4ComGetCurrentEvent(); 00037 00038 TGo4ComGetCurrentEvent(const char* obname); 00039 00040 virtual ~TGo4ComGetCurrentEvent(); 00041 00042 Int_t ExeCom(); 00043 00047 virtual void Set(TGo4RemoteCommand* remcon); 00048 00049 00050 Bool_t IsOutputEvent() const { return fbOutputEvent; } 00051 00052 void SetOutputEvent(Bool_t output=kTRUE) { fbOutputEvent=output; } 00053 00054 Bool_t IsPrintoutOnly() const { return fbPrintoutOnly; } 00055 00056 void SetPrintoutOnly(Bool_t on=kTRUE) { fbPrintoutOnly=on; } 00057 00058 Bool_t IsTreeMode() const { return fbTreeMode; } 00059 00060 void SetTreeMode(Bool_t on=kTRUE) { fbTreeMode=on; } 00061 00062 private: 00063 /* we use integer for bool expressions due to root streamer problems */ 00064 00066 Bool_t fbOutputEvent; 00067 00069 Bool_t fbPrintoutOnly; 00070 00073 Bool_t fbTreeMode; 00074 00075 ClassDef(TGo4ComGetCurrentEvent,1) 00076 }; 00077 00078 00079 #endif //TGO4COMGETCURRENTEVENT_H 00080 00081 00082 00083 00084 //----------------------------END OF GO4 SOURCE FILE ---------------------