00001 //--------------------------------------------------------------- 00002 // Go4 Release Package v2.10-5 (build 21005) 00003 // 03-Nov-2005 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at DVEE 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 #include "TGo4CounterCond.h" 00017 00018 TGo4CounterCond::TGo4CounterCond() : TGo4Condition() 00019 { 00020 } 00021 00022 TGo4CounterCond::~TGo4CounterCond() 00023 { 00024 } 00025 00026 Bool_t TGo4CounterCond::Test(Bool_t result) 00027 { 00028 IncCounts(); 00029 if(result) IncTrueCounts(); 00030 return result; 00031 } 00032 00033 void TGo4CounterCond::SetValues() 00034 { 00035 } 00036 00037 TGo4CounterCond::TGo4CounterCond(const Text_t* name) : TGo4Condition(name,"TGo4CounterCond") 00038 { 00039 } 00040 00041 TGo4CounterCond::TGo4CounterCond(const Text_t* name, const Text_t* title) : TGo4Condition(name,title) 00042 { 00043 } 00044 00045 void TGo4CounterCond::PrintCondition(Bool_t full) 00046 { 00047 TGo4Condition::PrintCondition(); 00048 } 00049 00050 Bool_t TGo4CounterCond::UpdateFrom(TGo4Condition * cond, Bool_t counts) 00051 { 00052 return (TGo4Condition::UpdateFrom(cond,counts)); 00053 } 00054 00055 ClassImp(TGo4CounterCond) 00056 00057 //----------------------------END OF GO4 SOURCE FILE ---------------------