The Gaudi Framework
v36r9p1 (5c15b2bb)
P1D.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 GAUDISVC_P1D_H
12
#define GAUDISVC_P1D_H
13
14
#include "
Generic1D.h
"
15
#include <AIDA/IProfile1D.h>
16
#include <
GaudiKernel/DataObject.h
>
17
#include <TProfile.h>
18
19
/*
20
* Gaudi namespace
21
*/
22
namespace
Gaudi
{
23
30
class
GAUDI_API
Profile1D
:
public
DataObject
,
public
Generic1D
<AIDA::IProfile1D, TProfile> {
31
typedef
AIDA::IAnnotation
IAnnotation
;
32
33
private
:
34
void
init(
const
std::string
& title,
bool
initialize_axis =
true
);
35
36
public
:
38
Profile1D
();
40
Profile1D
( TProfile* rep );
41
43
bool
fill
(
double
x,
double
y,
double
weight = 1. )
override
;
44
virtual
bool
setBinContents(
int
i,
int
entries,
double
height,
double
error,
double
spread,
double
centre );
46
const
CLID
&
clID
()
const override
{
return
classID(); }
47
static
const
CLID
&
classID
() {
return
CLID_ProfileH; }
48
49
private
:
50
std::mutex
m_fillSerialization
;
51
52
};
// end class IProfile1D
53
}
// end namespace Gaudi
54
55
#endif // GAUDISVC_P1D_H
Gaudi::Profile1D::clID
const CLID & clID() const override
Retrieve reference to class defininition identifier.
Definition:
P1D.h:46
Gaudi::Profile1D::classID
static const CLID & classID()
Definition:
P1D.h:47
std::string
STL class.
Generic1D.h
CLID
unsigned int CLID
Class ID definition.
Definition:
ClassID.h:18
Gaudi
Header file for std:chrono::duration-based Counters.
Definition:
__init__.py:1
DataObject.h
DataObject
Definition:
DataObject.h:40
std::mutex
STL class.
Gaudi::Generic1D
Definition:
Generic1D.h:46
Gaudi::Profile1D::IAnnotation
AIDA::IAnnotation IAnnotation
Definition:
P1D.h:31
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::Profile1D
Definition:
P1D.h:30
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:81
Gaudi::Profile1D::m_fillSerialization
std::mutex m_fillSerialization
Definition:
P1D.h:50
GaudiCommonSvc
include
GaudiCommonSvc
P1D.h
Generated on Fri Feb 3 2023 18:02:52 for The Gaudi Framework by
1.8.18