Gaudi Framework, version v24r2
Home
Generated: Wed Dec 4 2013
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
friend
class
SvcFactory
<
DetDataSvc
>;
28
29
// unhides DataSvc updateObject methods
30
using
DataSvc::updateObject
;
31
32
public
:
33
34
// Overloaded DataSvc methods
35
37
virtual
StatusCode
initialize
();
38
40
virtual
StatusCode
reinitialize
();
41
43
virtual
StatusCode
finalize
();
44
46
virtual
StatusCode
clearStore
();
47
49
virtual
StatusCode
updateObject
(
DataObject
* toUpdate );
50
52
DetDataSvc
(
const
std::string
&
name
,
ISvcLocator
* svc);
53
55
virtual
~DetDataSvc
();
56
57
private
:
59
StatusCode
setupDetectorDescription
();
60
61
public
:
62
63
// Implementation of the IDetDataSvc interface
64
67
virtual
bool
validEventTime
()
const
;
68
70
virtual
const
Gaudi::Time&
eventTime
()
const
;
71
73
virtual
void
setEventTime
(
const
Gaudi::Time& time );
74
75
public
:
76
77
// Implementation of the IIncidentListener interface
78
80
virtual
void
handle
(
const
Incident
& );
81
82
private
:
83
85
int
m_detStorageType
;
86
88
std::string
m_detDbLocation
;
89
91
std::string
m_detDbRootName
;
92
94
std::string
m_persistencySvcName
;
95
97
bool
m_usePersistency
;
98
100
Gaudi::Time
m_eventTime
;
101
103
SmartIF<IAddressCreator>
m_addrCreator
;
104
105
};
106
107
#endif // DETECTORDATASVC_DETDATASVC_H
Generated at Wed Dec 4 2013 14:33:11 for Gaudi Framework, version v24r2 by
Doxygen
version 1.8.2 written by
Dimitri van Heesch
, © 1997-2004