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 TGO4COUNTERCOND_H 00017 #define TGO4COUNTERCOND_H 00018 00019 #include "TGo4Condition.h" 00020 00021 class TGo4CounterCond : public TGo4Condition { 00022 public: 00023 TGo4CounterCond(); 00024 TGo4CounterCond(const char* name, const char* title = "TGo4CounterCond"); 00025 virtual ~TGo4CounterCond(); 00026 00028 virtual void SetValues() {} 00029 // virtual void SetValues(Double_t low1, Double_t up1) {} 00030 // virtual void SetValues(Double_t low1, Double_t up1, Double_t low2, Double_t up2) {} 00031 // virtual void SetValues(TCutG * newcut) {} 00032 // virtual void SetValues(Double_t * x, Double_t * y, Int_t len) {} 00033 00034 // virtual Bool_t Test() { return true; } 00035 // virtual Bool_t Test(Double_t x) { return true; } 00036 // virtual Bool_t Test(Double_t x, Double_t y) { return true; } 00037 virtual Bool_t Test(Bool_t result); 00038 00039 void PrintCondition(Bool_t full); 00040 00041 Bool_t UpdateFrom(TGo4Condition * cond, Bool_t counts); 00042 00043 ClassDef(TGo4CounterCond,1); 00044 }; 00045 00046 #endif //TGO4COUNTERCOND_H 00047 00048 //----------------------------END OF GO4 SOURCE FILE ---------------------