ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODEventShape
xAODEventShape
versions
EventShape_v1.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id: EventShape_v1.h 629489 2014-11-19 14:37:55Z krasznaa $
8
#ifndef XAODEVENTSHAPE_VERSIONS_EVENTSHAPE_V1_H
9
#define XAODEVENTSHAPE_VERSIONS_EVENTSHAPE_V1_H
10
11
// Base EDM include(s):
12
#include "
AthContainers/AuxElement.h
"
13
14
namespace
xAOD
{
15
28
class
EventShape_v1
:
public
SG::AuxElement
{
29
30
public
:
32
EventShape_v1
();
33
35
enum
EventShapeID
{
36
UnknownShape
= -1,
37
Thrust
,
38
ThrustEta
,
39
ThrustPhi
,
40
ThrustMinor
,
41
Sphericity
,
42
FoxWolfram
43
};
44
45
enum
EventDensityID
{
46
UnknownDensity
= -1,
47
Density
,
48
DensitySigma
,
49
DensityArea
50
};
51
53
bool
getShape
(
EventShapeID
id
,
double
&v )
const
;
55
double
getShape
(
EventShapeID
id
)
const
;
57
bool
setShape
(
EventShapeID
id
,
double
v );
58
60
bool
getDensity
(
EventDensityID
id
,
double
&v )
const
;
62
double
getDensity
(
EventDensityID
id
)
const
;
64
bool
setDensity
(
EventDensityID
id
,
double
v );
65
66
};
// class EventShape_v1
67
68
}
// namespace xAOD
69
70
// Declare the inheritance of the class towards SG:
71
#include "
xAODCore/BaseInfo.h
"
72
SG_BASE
(
xAOD::EventShape_v1
,
SG::AuxElement
);
73
74
#endif
// XAODEVENTSHAPE_VERSIONS_EVENTSHAPE_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
BaseInfo.h
xAOD::EventShape_v1
Data class for event shapes.
Definition
EventShape_v1.h:28
xAOD::EventShape_v1::EventShapeID
EventShapeID
Event shape variable types.
Definition
EventShape_v1.h:35
xAOD::EventShape_v1::ThrustEta
@ ThrustEta
Definition
EventShape_v1.h:38
xAOD::EventShape_v1::Sphericity
@ Sphericity
Definition
EventShape_v1.h:41
xAOD::EventShape_v1::FoxWolfram
@ FoxWolfram
Definition
EventShape_v1.h:42
xAOD::EventShape_v1::ThrustPhi
@ ThrustPhi
Definition
EventShape_v1.h:39
xAOD::EventShape_v1::ThrustMinor
@ ThrustMinor
Definition
EventShape_v1.h:40
xAOD::EventShape_v1::UnknownShape
@ UnknownShape
Definition
EventShape_v1.h:36
xAOD::EventShape_v1::Thrust
@ Thrust
Definition
EventShape_v1.h:37
xAOD::EventShape_v1::setShape
bool setShape(EventShapeID id, double v)
Set a shape variable on the object.
Definition
EventShape_v1.cxx:123
xAOD::EventShape_v1::EventDensityID
EventDensityID
Event density variable types.
Definition
EventShape_v1.h:45
xAOD::EventShape_v1::DensityArea
@ DensityArea
Definition
EventShape_v1.h:49
xAOD::EventShape_v1::UnknownDensity
@ UnknownDensity
Definition
EventShape_v1.h:46
xAOD::EventShape_v1::DensitySigma
@ DensitySigma
Definition
EventShape_v1.h:48
xAOD::EventShape_v1::Density
@ Density
Definition
EventShape_v1.h:47
xAOD::EventShape_v1::setDensity
bool setDensity(EventDensityID id, double v)
Set a density variable on the object.
Definition
EventShape_v1.cxx:145
xAOD::EventShape_v1::getDensity
bool getDensity(EventDensityID id, double &v) const
Get a density variable from the object.
Definition
EventShape_v1.cxx:135
xAOD::EventShape_v1::getShape
bool getShape(EventShapeID id, double &v) const
Get a shape variable from the object.
Definition
EventShape_v1.cxx:113
xAOD::EventShape_v1::EventShape_v1
EventShape_v1()
Default constructor.
Definition
EventShape_v1.cxx:104
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
Generated on
for ATLAS Offline Software by
1.17.0