GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
TMeshDummyEvent.cxx
Go to the documentation of this file.
1 // $Id$
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 fuer 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")
21 {
22 }
23 
24 //***********************************************************
26  :TGo4EventElement(name)
27 {
28 }
29 
30 //***********************************************************
32 {
33 }
34 
35 //-----------------------------------------------------------
37 {
38  // check for different source types
39  Int_t rev = 0;
40  Clear();
41  if (CheckEventSource("TMeshProviderProc")) {
43  } else
44  rev = 1;
45  return rev;
46 }
47 
48 //-----------------------------------------------------------
50 {
51  // check for different source types
52  Int_t rev = 0;
53  if(fxProviderProc)
55  else
56  rev=1;
57  return rev;
58 }
59 
60 //-----------------------------------------------------------
61 void TMeshDummyEvent::Clear(Option_t *)
62 {
63 }
TGo4EventSource * GetEventSource() const
void Clear(Option_t *opt="") override
virtual ~TMeshDummyEvent()
Bool_t CheckEventSource(const char *classname)
Int_t Fill() override
TMeshProviderProc * fxProviderProc
Int_t Init() override