Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework
v36r7 (7f57a304)
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
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
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
Typedefs
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
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
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
x
Enumerations
a
c
d
e
f
i
l
m
n
o
p
r
s
t
Enumerator
a
b
c
d
e
f
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Properties
Related Functions
:
a
b
c
d
e
g
h
i
m
o
p
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
_
b
c
e
f
g
h
i
l
m
n
o
p
r
s
t
u
z
Variables
a
b
c
d
e
g
h
i
m
o
p
r
s
t
v
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
Enumerations
Enumerator
c
e
f
p
u
v
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
H3D.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#ifndef GAUDICOMMONSVC_H3D_H
12
#define GAUDICOMMONSVC_H3D_H
13
14
#include "
Generic3D.h
"
15
#include <AIDA/IHistogram3D.h>
16
#include <
GaudiKernel/DataObject.h
>
17
#include <TH3D.h>
18
19
namespace
Gaudi
{
20
27
class
GAUDI_API
Histogram3D
:
public
DataObject
,
public
Generic3D
<AIDA::IHistogram3D, TH3D> {
28
public
:
30
Histogram3D
();
32
Histogram3D
( TH3D* rep );
33
35
bool
fill
(
double
x,
double
y,
double
z,
double
weight )
override
;
37
virtual
bool
setBinContents(
int
i,
int
j,
int
k,
int
entries,
double
height,
double
error,
double
centreX,
38
double
centreY,
double
centreZ );
40
virtual
bool
setRms(
double
rmsX,
double
rmsY,
double
rmsZ );
41
// overwrite reset
42
bool
reset()
override
;
44
void
* cast(
const
std::string
& className )
const override
;
46
void
copyFromAida(
const
AIDA::IHistogram3D&
h
);
48
const
CLID
&
clID
()
const override
{
return
classID(); }
49
static
const
CLID
&
classID
() {
return
CLID_H3D; }
50
51
protected
:
52
// cache sumwx and sumwy when setting contents since I don't have bin mean
53
double
m_sumwx = 0;
54
double
m_sumwy = 0;
55
double
m_sumwz = 0;
56
57
private
:
58
std::mutex
m_fillSerialization
;
59
};
60
}
// namespace Gaudi
61
62
#endif
std::string
STL class.
Gaudi::Histogram3D::classID
static const CLID & classID()
Definition:
H3D.h:49
Gaudi::Histogram3D::clID
const CLID & clID() const override
Retrieve reference to class defininition identifier.
Definition:
H3D.h:48
Gaudi::Histogram3D::m_fillSerialization
std::mutex m_fillSerialization
Definition:
H3D.h:58
AlgSequencer.h
h
Definition:
AlgSequencer.py:32
CLID
unsigned int CLID
Class ID definition.
Definition:
ClassID.h:18
Gaudi::Histogram3D
Definition:
H3D.h:27
Gaudi
Header file for std:chrono::duration-based Counters.
Definition:
__init__.py:1
DataObject.h
DataObject
Definition:
DataObject.h:40
Generic3D.h
std::mutex
STL class.
Gaudi::Generic3D
Definition:
Generic3D.h:46
Gaudi::Utils::Histos::fill
GAUDI_API void fill(AIDA::IHistogram1D *histo, const double value, const double weight=1.0)
simple function to fill AIDA::IHistogram1D objects
Definition:
Fill.cpp:45
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:81
GaudiCommonSvc
include
GaudiCommonSvc
H3D.h
Generated on Fri Jul 29 2022 20:50:38 for The Gaudi Framework by
1.8.18