GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Go4ExampleMesh
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
//***********************************************************
19
TMeshDummyEvent::TMeshDummyEvent
()
20
:
TGo4EventElement
(
"DummyEvent"
),fxProviderProc(0)
21
{
22
23
}
24
//***********************************************************
25
TMeshDummyEvent::TMeshDummyEvent
(
const
char
* name)
26
:
TGo4EventElement
(name),fxProviderProc(0)
27
{
28
}
29
//***********************************************************
30
TMeshDummyEvent::~TMeshDummyEvent
()
31
{
32
}
33
//***********************************************************
34
35
36
//-----------------------------------------------------------
37
Int_t
TMeshDummyEvent::Init
()
38
{
39
// check for different source types
40
Int_t rev = 0;
41
Clear
();
42
if
(
CheckEventSource
(
"TMeshProviderProc"
))
43
{
44
fxProviderProc
=
dynamic_cast<
TMeshProviderProc
*
>
(
GetEventSource
());
45
//std::cout << "**** TMeshDummyEvent init"<< std::endl;
46
}
47
else
48
rev=1;
49
return
rev;
50
51
}
52
//-----------------------------------------------------------
53
Int_t
TMeshDummyEvent::Fill
()
54
{
55
// check for different source types
56
Int_t rev = 0;
57
if
(
fxProviderProc
)
58
fxProviderProc
->
SetRealInput
();
59
else
60
rev=1;
61
return
rev;
62
63
}
64
//-----------------------------------------------------------
65
void
TMeshDummyEvent::Clear
(Option_t*)
66
{
67
68
}
TMeshProviderProc
Definition:
TMeshProviderProc.h:19
TMeshDummyEvent::Fill
virtual Int_t Fill()
Definition:
TMeshDummyEvent.cxx:53
TGo4EventElement::GetEventSource
TGo4EventSource * GetEventSource() const
Definition:
TGo4EventElement.h:64
TMeshDummyEvent::TMeshDummyEvent
TMeshDummyEvent()
Definition:
TMeshDummyEvent.cxx:19
TMeshDummyEvent::~TMeshDummyEvent
virtual ~TMeshDummyEvent()
Definition:
TMeshDummyEvent.cxx:30
TGo4EventElement
Definition:
TGo4EventElement.h:36
TGo4EventElement::CheckEventSource
Bool_t CheckEventSource(const char *classname)
Definition:
TGo4EventElement.cxx:70
TMeshDummyEvent::Init
virtual Int_t Init()
Definition:
TMeshDummyEvent.cxx:37
TMeshDummyEvent.h
TMeshDummyEvent::fxProviderProc
TMeshProviderProc * fxProviderProc
Definition:
TMeshDummyEvent.h:36
TMeshProviderProc::SetRealInput
void SetRealInput()
Definition:
TMeshProviderProc.cxx:40
TMeshDummyEvent::Clear
virtual void Clear(Option_t *t="")
Definition:
TMeshDummyEvent.cxx:65
TMeshProviderProc.h
Generated on Fri Oct 26 2018 08:34:51 for GSI Object Oriented Online Offline (Go4) by
1.8.8