Gaudi Framework, version v25r0
Home
Generated: Mon Feb 17 2014
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
GaudiSvc
src
DetectorDataSvc
DetDataSvc.h
Go to the documentation of this file.
1
// $Id: DetDataSvc.h,v 1.14 2008/10/27 19:22:21 marcocle Exp $
2
#ifndef DETECTORDATASVC_DETDATASVC_H
3
#define DETECTORDATASVC_DETDATASVC_H
4
5
// Base classes
6
#include "
GaudiKernel/DataSvc.h
"
7
#include "
GaudiKernel/IDetDataSvc.h
"
8
#include "
GaudiKernel/IIncidentListener.h
"
9
#include "
GaudiKernel/Time.h
"
10
11
// Forward declarations
12
class
StatusCode
;
13
class
IAddressCreator
;
14
16
//--------------------------------------------------------------------------
23
24
class
DetDataSvc
:
public
extends2
<DataSvc, IDetDataSvc, IIncidentListener>
25
{
26
27
// unhides DataSvc updateObject methods
28
using
DataSvc::updateObject
;
29
30
public
:
31
32
// Overloaded DataSvc methods
33
35
virtual
StatusCode
initialize
();
36
38
virtual
StatusCode
reinitialize
();
39
41
virtual
StatusCode
finalize
();
42
44
virtual
StatusCode
clearStore
();
45
47
virtual
StatusCode
updateObject
(
DataObject
* toUpdate );
48
50
DetDataSvc
(
const
std::string
&
name
,
ISvcLocator
* svc);
51
53
virtual
~DetDataSvc
();
54
55
private
:
57
StatusCode
setupDetectorDescription
();
58
59
public
:
60
61
// Implementation of the IDetDataSvc interface
62
65
virtual
bool
validEventTime
()
const
;
66
68
virtual
const
Gaudi::Time&
eventTime
()
const
;
69
71
virtual
void
setEventTime
(
const
Gaudi::Time& time );
72
73
public
:
74
75
// Implementation of the IIncidentListener interface
76
78
virtual
void
handle
(
const
Incident
& );
79
80
private
:
81
83
int
m_detStorageType
;
84
86
std::string
m_detDbLocation
;
87
89
std::string
m_detDbRootName
;
90
92
std::string
m_persistencySvcName
;
93
95
bool
m_usePersistency
;
96
98
Gaudi::Time
m_eventTime
;
99
101
SmartIF<IAddressCreator>
m_addrCreator
;
102
103
};
104
105
#endif // DETECTORDATASVC_DETDATASVC_H
Generated at Mon Feb 17 2014 14:37:48 for Gaudi Framework, version v25r0 by
Doxygen
version 1.8.2 written by
Dimitri van Heesch
, © 1997-2004