ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODHIEvent
xAODHIEvent
versions
HIEventShape_v1.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef XAODHIEVENT_VERSIONS_HIEVENTSHAPE_V1_H
6
#define XAODHIEVENT_VERSIONS_HIEVENTSHAPE_V1_H
7
8
#include <set>
9
#include <vector>
10
#include <string>
11
#include <iosfwd>
12
13
// EDM include(s):
14
#include "
AthContainers/AuxElement.h
"
15
#include "
AthContainers/DataVector.h
"
16
#include "AthLinks/ElementLink.h"
17
18
20
namespace
xAOD
{
21
22
class
HIEventShape_v1
:
public
SG::AuxElement
{
23
24
public
:
26
HIEventShape_v1
();
27
28
// are floats enough for storage?
29
float
Et
()
const
;
30
void
setEt
(
float
);
31
32
float
area
()
const
;
33
void
setArea
(
float
);
34
35
float
rho
()
const
;
36
void
setRho
(
float
);
37
38
const
std::vector<float>&
Et_cos
()
const
;
39
void
setEt_cos
(
const
std::vector<float>& value);
40
41
const
std::vector<float>&
Et_sin
()
const
;
42
void
setEt_sin
(
const
std::vector<float>& value);
43
44
float
etaMin
()
const
;
45
void
setEtaMin
(
float
);
46
47
float
etaMax
()
const
;
48
void
setEtaMax
(
float
);
49
50
int
layer
()
const
;
51
void
setLayer
(
int
);
52
53
int
nCells
()
const
;
54
void
setNcells
(
int
);
55
56
void
toPersistent
();
57
58
59
std::vector<float>&
Et_cos
()
60
{
61
static
Accessor< std::vector<float> >
acc
(
"Et_cos"
);
62
return
acc
(*
this
);
63
}
64
std::vector<float>&
Et_sin
()
65
{
66
static
Accessor< std::vector<float> >
acc
(
"Et_sin"
);
67
return
(std::vector<float>&)
acc
(*
this
);
68
}
69
70
};
// class HIEventShape_v1
71
72
}
// namespace xAOD
73
#include "
xAODCore/BaseInfo.h
"
74
SG_BASE
(
xAOD::HIEventShape_v1
,
SG::AuxElement
);
75
76
#endif
// XAODEVENTINFO_VERSIONS_EVENTINFO_V1_H
AuxElement.h
Base class for elements of a container that can have aux data.
SG_BASE
#define SG_BASE(D, B)
Declare that class D derives from class B.
Definition
Control/AthenaKernel/AthenaKernel/BaseInfo.h:243
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
BaseInfo.h
xAOD::HIEventShape_v1
Definition
HIEventShape_v1.h:22
xAOD::HIEventShape_v1::setEt_sin
void setEt_sin(const std::vector< float > &value)
xAOD::HIEventShape_v1::setLayer
void setLayer(int)
xAOD::HIEventShape_v1::layer
int layer() const
xAOD::HIEventShape_v1::setEtaMax
void setEtaMax(float)
xAOD::HIEventShape_v1::area
float area() const
xAOD::HIEventShape_v1::setRho
void setRho(float)
xAOD::HIEventShape_v1::Et
float Et() const
xAOD::HIEventShape_v1::nCells
int nCells() const
xAOD::HIEventShape_v1::setArea
void setArea(float)
xAOD::HIEventShape_v1::toPersistent
void toPersistent()
Definition
HIEventShape_v1.cxx:32
xAOD::HIEventShape_v1::etaMax
float etaMax() const
xAOD::HIEventShape_v1::setEt
void setEt(float)
xAOD::HIEventShape_v1::Et_sin
std::vector< float > & Et_sin()
Definition
HIEventShape_v1.h:64
xAOD::HIEventShape_v1::setEtaMin
void setEtaMin(float)
xAOD::HIEventShape_v1::Et_cos
const std::vector< float > & Et_cos() const
xAOD::HIEventShape_v1::setNcells
void setNcells(int)
xAOD::HIEventShape_v1::setEt_cos
void setEt_cos(const std::vector< float > &value)
xAOD::HIEventShape_v1::Et_sin
const std::vector< float > & Et_sin() const
xAOD::HIEventShape_v1::Et_cos
std::vector< float > & Et_cos()
Definition
HIEventShape_v1.h:59
xAOD::HIEventShape_v1::rho
float rho() const
xAOD::HIEventShape_v1::etaMin
float etaMin() const
xAOD::HIEventShape_v1::HIEventShape_v1
HIEventShape_v1()
Default constructor.
Definition
HIEventShape_v1.cxx:14
SG::AuxElement
AuxElement(SG::AuxVectorData *container, size_t index)
Base class for elements of a container that can have aux data.
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
xAOD::acc
static const SG::AuxElement::Accessor< ElementLink< IParticleContainer > > acc("originalObjectLink")
Object used for setting/getting the dynamic decoration in question.
Generated on
for ATLAS Offline Software by
1.17.0