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