Main Page
Class Categories
Classes
Namespaces
File List
File Members
exper-sw
cosmosw
AugerSW
Offline
source
main
Modules
General
RecDataWriterNG
Status.cc
Go to the documentation of this file.
1
7
#include <utl/config.h>
8
#include "
Status.h
"
9
10
#include <utl/AugerException.h>
11
12
#include <evt/Event.h>
13
14
#include <iostream>
15
#include <string>
16
17
using namespace
std;
18
using namespace
otoa;
19
21
Status::Status
() :
22
fIsMCEvent(false),
23
fEvent(NULL)
24
{
25
}
26
27
29
Status::Status
(
const
evt::Event
& event) :
30
fIsMCEvent(false),
31
fEvent(&event)
32
{
33
}
34
35
37
const
evt::Event
&
38
Status::GetEvent
()
39
const
40
{
41
if
(
fEvent
!= NULL)
42
return
*
fEvent
;
43
else
44
throw
utl::NonExistentComponentException
();
45
}
46
47
49
Status::~Status
()
50
{
51
}
52
53
54
otoa::Status::~Status
~Status()
Definition:
Status.cc:49
evt::Event
Definition:
Framework/Event/Event.h:44
utl::NonExistentComponentException
Base class for exceptions trying to access non-existing components.
Definition:
AugerException.h:59
io::Status
Status
Return code for seek operation.
Definition:
IoCodes.h:24
otoa::Status::fEvent
const evt::Event * fEvent
Definition:
Status.h:31
otoa::Status::Status
Status()
Definition:
Status.cc:21
otoa::Status::GetEvent
const evt::Event & GetEvent() const
Returns the current evt::Event. Use only in dire need (otherwise pass things as arguments) ...
Definition:
Status.cc:38
Status.h
, generated on Tue Sep 26 2023.