Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Control
AthenaExamples
AthExHistNtup
src
Ntup.h
Go to the documentation of this file.
1
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// Ntup.h
8
// Header file for class AthEx::Ntup
9
// Author: S.Binet<binet@cern.ch>
11
#ifndef ATHEXHISTNTUP_ATHEXNTUP_H
12
#define ATHEXHISTNTUP_ATHEXNTUP_H 1
13
14
// STL includes
15
#include <string>
16
#include <vector>
17
18
// FrameWork includes
19
#include "
AthenaBaseComps/AthAlgorithm.h
"
20
#include "GaudiKernel/ITHistSvc.h"
21
#include "GaudiKernel/ServiceHandle.h"
22
23
//#include "TTree.h"
24
// fwd declares
25
class
TTree;
26
27
namespace
AthEx
{
28
29
class
Ntup
30
:
public
::AthAlgorithm
31
{
32
34
// Public methods:
36
public
:
37
38
// Copy constructor:
39
41
Ntup
(
const
std::string&
name
, ISvcLocator* pSvcLocator );
42
44
virtual
~Ntup
();
45
46
// Assignment operator:
47
//Ntup &operator=(const Ntup &alg);
48
49
// Athena algorithm's Hooks
50
virtual
StatusCode
initialize
();
51
virtual
StatusCode
execute
();
52
virtual
StatusCode
finalize
();
53
55
// Private data:
57
private
:
58
60
Ntup
();
61
63
ServiceHandle<ITHistSvc>
m_ntsvc
;
64
65
// n-tuple data members
66
unsigned
int
m_size
;
67
unsigned
int
m_run
;
68
unsigned
int
m_event
;
69
std::vector<long>
m_rundata
;
70
72
TTree*
m_ntuple
;
73
75
std::string
m_evtInfoName
;
76
77
};
78
79
}
//> namespace AthEx
80
81
#endif //> !ATHEXHISTNTUP_ATHEXNTUP_H
AthEx::Ntup::m_evtInfoName
std::string m_evtInfoName
key to the event-info
Definition:
Ntup.h:75
AthEx::Ntup::execute
virtual StatusCode execute()
Definition:
Ntup.cxx:91
AthEx::Ntup::finalize
virtual StatusCode finalize()
Definition:
Ntup.cxx:84
AthAlgorithm.h
AthEx::Ntup
Definition:
Ntup.h:31
AthEx::Ntup::m_size
unsigned int m_size
Definition:
Ntup.h:66
AthEx::Ntup::~Ntup
virtual ~Ntup()
Destructor:
Definition:
Ntup.cxx:55
AthEx::Ntup::m_rundata
std::vector< long > m_rundata
Definition:
Ntup.h:69
AthEx::Ntup::initialize
virtual StatusCode initialize()
Definition:
Ntup.cxx:60
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthEx
Definition:
Hist.h:25
AthEx::Ntup::m_run
unsigned int m_run
Definition:
Ntup.h:67
AthEx::Ntup::m_event
unsigned int m_event
Definition:
Ntup.h:68
AthAlgorithm
Definition:
AthAlgorithm.h:47
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:240
AthEx::Ntup::m_ntuple
TTree * m_ntuple
pointer to the n-tuple
Definition:
Ntup.h:72
AthEx::Ntup::m_ntsvc
ServiceHandle< ITHistSvc > m_ntsvc
handle to the n-tuple svc
Definition:
Ntup.h:63
AthEx::Ntup::Ntup
Ntup()
Default constructor:
ServiceHandle< ITHistSvc >
Generated on Mon Apr 7 2025 21:16:11 for ATLAS Offline Software by
1.8.18