GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4CounterCond.cxx
Go to the documentation of this file.
1 // $Id: TGo4CounterCond.cxx 478 2009-10-29 12:26:09Z linev $
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 für 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 #include "TGo4CounterCond.h"
15 
18 {
19 }
20 
21 TGo4CounterCond::TGo4CounterCond(const char* name, const char* title) :
22  TGo4Condition(name,title)
23 {
24 }
25 
27 {
28 }
29 
30 Bool_t TGo4CounterCond::Test(Bool_t result)
31 {
32  IncCounts();
33  if(result) IncTrueCounts();
34  return result;
35 }
36 
38 {
40 }
41 
42 Bool_t TGo4CounterCond::UpdateFrom(TGo4Condition * cond, Bool_t counts)
43 {
44  return (TGo4Condition::UpdateFrom(cond,counts));
45 }
46 
Bool_t UpdateFrom(TGo4Condition *cond, Bool_t counts)
virtual Bool_t UpdateFrom(TGo4Condition *cond, Bool_t counts)
virtual ~TGo4CounterCond()
virtual void PrintCondition(Bool_t full=kTRUE)
void PrintCondition(Bool_t full)
virtual Bool_t Test()