00001 // $Id: TGo4CounterCond.h 478 2009-10-29 12:26:09Z linev $ 00002 //----------------------------------------------------------------------- 00003 // The GSI Online Offline Object Oriented (Go4) Project 00004 // Experiment Data Processing at EE department, GSI 00005 //----------------------------------------------------------------------- 00006 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH 00007 // Planckstr. 1, 64291 Darmstadt, Germany 00008 // Contact: http://go4.gsi.de 00009 //----------------------------------------------------------------------- 00010 // This software can be used under the license agreements as stated 00011 // in Go4License.txt file which is part of the distribution. 00012 //----------------------------------------------------------------------- 00013 00014 #ifndef TGO4COUNTERCOND_H 00015 #define TGO4COUNTERCOND_H 00016 00017 #include "TGo4Condition.h" 00018 00019 class TGo4CounterCond : public TGo4Condition { 00020 public: 00021 TGo4CounterCond(); 00022 TGo4CounterCond(const char* name, const char* title = "TGo4CounterCond"); 00023 virtual ~TGo4CounterCond(); 00024 00026 virtual void SetValues() {} 00027 // virtual void SetValues(Double_t low1, Double_t up1) {} 00028 // virtual void SetValues(Double_t low1, Double_t up1, Double_t low2, Double_t up2) {} 00029 // virtual void SetValues(TCutG * newcut) {} 00030 // virtual void SetValues(Double_t * x, Double_t * y, Int_t len) {} 00031 00032 // virtual Bool_t Test() { return true; } 00033 // virtual Bool_t Test(Double_t x) { return true; } 00034 // virtual Bool_t Test(Double_t x, Double_t y) { return true; } 00035 virtual Bool_t Test(Bool_t result); 00036 00037 void PrintCondition(Bool_t full); 00038 00039 Bool_t UpdateFrom(TGo4Condition * cond, Bool_t counts); 00040 00041 ClassDef(TGo4CounterCond,1); 00042 }; 00043 00044 #endif //TGO4COUNTERCOND_H