GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TMeshDummyEvent.cxx
Go to the documentation of this file.
1 // $Id: TMeshDummyEvent.cxx 999 2013-07-25 11:58:59Z 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 "TMeshDummyEvent.h"
15 
16 #include "TMeshProviderProc.h"
17 
18 //***********************************************************
20  :TGo4EventElement("DummyEvent"),fxProviderProc(0)
21 {
22 
23 }
24 //***********************************************************
26  :TGo4EventElement(name),fxProviderProc(0)
27 {
28 }
29 //***********************************************************
31 {
32 }
33 //***********************************************************
34 
35 
36 //-----------------------------------------------------------
38 {
39  // check for different source types
40  Int_t rev = 0;
41  Clear();
42  if(CheckEventSource("TMeshProviderProc"))
43  {
45  //std::cout << "**** TMeshDummyEvent init"<< std::endl;
46  }
47  else
48  rev=1;
49  return rev;
50 
51 }
52 //-----------------------------------------------------------
54 {
55  // check for different source types
56  Int_t rev = 0;
57  if(fxProviderProc)
59  else
60  rev=1;
61  return rev;
62 
63 }
64 //-----------------------------------------------------------
65 void TMeshDummyEvent::Clear(Option_t*)
66 {
67 
68 }
virtual Int_t Fill()
TGo4EventSource * GetEventSource() const
virtual ~TMeshDummyEvent()
Bool_t CheckEventSource(const char *classname)
virtual Int_t Init()
TMeshProviderProc * fxProviderProc
virtual void Clear(Option_t *t="")