Gaudi Framework, version v23r9
Home
Generated: Thu Jul 18 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
GaudiAlg
src
lib
GaudiTuplesConstructors.cpp
Go to the documentation of this file.
1
// $Id: GaudiTuplesConstructors.cpp,v 1.1 2005/09/23 16:14:20 hmd Exp $
2
3
// ============================================================================
4
/* @file GaudiTuplesConstructors.cpp
5
*
6
* Specialised constructors for GaudiTuples
7
*
8
* @author Chris Jones Christopher.Rob.Jones@cern.ch
9
* @date 2005-08-08
10
*/
11
// ============================================================================
12
13
// ============================================================================
14
// GaudiAlg
15
// ============================================================================
16
#include "
GaudiAlg/GaudiHistoAlg.h
"
17
#include "
GaudiAlg/GaudiHistoTool.h
"
18
#include "
GaudiAlg/GaudiTuples.h
"
19
20
//=============================================================================
21
// Null algorithm like constructor for tool
22
// should NEVER be used...
23
//=============================================================================
24
template
<>
25
GaudiTuples<GaudiHistoTool>::GaudiTuples
(
const
std::string
&
/* name */
,
26
ISvcLocator
*
/* pSvcLocator */
)
27
:
GaudiHistoTool
(
"ERROR"
,
"ERROR"
, 0 )
28
{
29
throw
GaudiException
(
"Invalid GaudiTuples<GaudiTool> constructor"
,
30
"GaudiTuples"
,
StatusCode::FAILURE
);
31
}
32
//=============================================================================
33
34
//=============================================================================
35
// Null tool like constructor for Algorithm
36
// should NEVER be used...
37
//=============================================================================
38
template
<>
39
GaudiTuples<GaudiHistoAlg>::GaudiTuples
(
const
std::string
&
/* type */
,
40
const
std::string
&
/* name */
,
41
const
IInterface
*
/* parent */
)
42
:
GaudiHistoAlg
(
"ERROR"
, 0 )
43
{
44
throw
GaudiException
(
"Invalid GaudiTuples<GaudiAlgorithm> constructor"
,
45
"GaudiTuples"
,
StatusCode::FAILURE
);
46
}
47
//=============================================================================
48
49
//=============================================================================
50
// Standard algorithm constructor, initializes variables
51
//=============================================================================
52
template
<>
53
GaudiTuples<GaudiHistoAlg>::GaudiTuples
(
const
std::string
& name,
54
ISvcLocator
* pSvcLocator )
55
:
GaudiHistoAlg
( name , pSvcLocator )
56
{
57
initGaudiTuplesConstructor
();
58
}
59
//=============================================================================
60
61
//=============================================================================
62
// Standard tool constructor, initializes variables
63
//=============================================================================
64
template
<>
65
GaudiTuples<GaudiHistoTool>::GaudiTuples
(
const
std::string
&
type
,
66
const
std::string
& name ,
67
const
IInterface
* parent )
68
:
GaudiHistoTool
( type , name , parent )
69
{
70
initGaudiTuplesConstructor
();
71
}
72
//=============================================================================
73
74
// ============================================================================
75
// The END
76
// ============================================================================
Generated at Thu Jul 18 2013 12:18:01 for Gaudi Framework, version v23r9 by
Doxygen
version 1.8.2 written by
Dimitri van Heesch
, © 1997-2004