ATLAS Offline Software
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):
13 
14 namespace xAOD {
15 
28  class EventShape_v1 : public SG::AuxElement {
29 
30  public:
32  EventShape_v1();
33 
35  enum EventShapeID {
43  };
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"
73 
74 #endif // XAODEVENTSHAPE_VERSIONS_EVENTSHAPE_V1_H
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::Thrust
@ Thrust
Definition: EventShape_v1.h:37
xAOD::EventShape_v1::getShape
bool getShape(EventShapeID id, double &v) const
Get a shape variable from the object.
Definition: EventShape_v1.cxx:113
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:483
BaseInfo.h
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::EventShape_v1::DensitySigma
@ DensitySigma
Definition: EventShape_v1.h:48
xAOD::EventShape_v1::Density
@ Density
Definition: EventShape_v1.h:47
xAOD::EventShape_v1::FoxWolfram
@ FoxWolfram
Definition: EventShape_v1.h:42
xAOD::EventShape_v1::UnknownDensity
@ UnknownDensity
Definition: EventShape_v1.h:46
xAOD::EventShape_v1::EventDensityID
EventDensityID
Event density variable types.
Definition: EventShape_v1.h:45
xAOD::EventShape_v1::ThrustPhi
@ ThrustPhi
Definition: EventShape_v1.h:39
xAOD::EventShape_v1
Data class for event shapes.
Definition: EventShape_v1.h:28
xAOD::EventShape_v1::ThrustMinor
@ ThrustMinor
Definition: EventShape_v1.h:40
xAOD::EventShape_v1::DensityArea
@ DensityArea
Definition: EventShape_v1.h:49
python.PyAthena.v
v
Definition: PyAthena.py:154
xAOD::EventShape_v1::EventShape_v1
EventShape_v1()
Default constructor.
Definition: EventShape_v1.cxx:104
xAOD::EventShape_v1::EventShapeID
EventShapeID
Event shape variable types.
Definition: EventShape_v1.h:35
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::setShape
bool setShape(EventShapeID id, double v)
Set a shape variable on the object.
Definition: EventShape_v1.cxx:123
xAOD::EventShape_v1::ThrustEta
@ ThrustEta
Definition: EventShape_v1.h:38
xAOD::EventShape_v1::UnknownShape
@ UnknownShape
Definition: EventShape_v1.h:36
SG_BASE
SG_BASE(xAOD::EventShape_v1, SG::AuxElement)
xAOD::EventShape_v1::Sphericity
@ Sphericity
Definition: EventShape_v1.h:41
AuxElement.h
Base class for elements of a container that can have aux data.