![]() |
ATLAS Offline Software
|
Data class for event shapes. More...
#include <EventShape_v1.h>
Public Types | |
| enum | EventShapeID { UnknownShape = -1 , Thrust , ThrustEta , ThrustPhi , ThrustMinor , Sphericity , FoxWolfram } |
| Event shape variable types. More... | |
| enum | EventDensityID { UnknownDensity = -1 , Density , DensitySigma , DensityArea } |
| Event density variable types. More... | |
Public Member Functions | |
| EventShape_v1 () | |
| Default constructor. | |
| bool | getShape (EventShapeID id, double &v) const |
| Get a shape variable from the object. | |
| double | getShape (EventShapeID id) const |
| Get a shape variable in a PyROOT friendly way (can throw exception!). | |
| bool | setShape (EventShapeID id, double v) |
| Set a shape variable on the object. | |
| bool | getDensity (EventDensityID id, double &v) const |
| Get a density variable from the object. | |
| double | getDensity (EventDensityID id) const |
| Get a density variable in a PyROOT friendly way (can throw exception!). | |
| bool | setDensity (EventDensityID id, double v) |
| Set a density variable on the object. | |
Data class for event shapes.
This class is used to save event-level quantities such as event shapes or event density. One instance holds the shapes/densities corresponding to a given input source. An input source is typically the set of CaloClusters or of TrackParticles or TruthParticles.
Definition at line 28 of file EventShape_v1.h.
Event density variable types.
| Enumerator | |
|---|---|
| UnknownDensity | |
| Density | |
| DensitySigma | |
| DensityArea | |
Definition at line 45 of file EventShape_v1.h.
Event shape variable types.
| Enumerator | |
|---|---|
| UnknownShape | |
| Thrust | |
| ThrustEta | |
| ThrustPhi | |
| ThrustMinor | |
| Sphericity | |
| FoxWolfram | |
Definition at line 35 of file EventShape_v1.h.
| xAOD::EventShape_v1::EventShape_v1 | ( | ) |
Default constructor.
Definition at line 104 of file EventShape_v1.cxx.
| double xAOD::EventShape_v1::getDensity | ( | EventDensityID | id | ) | const |
Get a density variable in a PyROOT friendly way (can throw exception!).
Definition at line 140 of file EventShape_v1.cxx.
| bool xAOD::EventShape_v1::getDensity | ( | EventDensityID | id, |
| double & | v ) const |
Get a density variable from the object.
Definition at line 135 of file EventShape_v1.cxx.
| double xAOD::EventShape_v1::getShape | ( | EventShapeID | id | ) | const |
Get a shape variable in a PyROOT friendly way (can throw exception!).
Definition at line 118 of file EventShape_v1.cxx.
| bool xAOD::EventShape_v1::getShape | ( | EventShapeID | id, |
| double & | v ) const |
Get a shape variable from the object.
Definition at line 113 of file EventShape_v1.cxx.
| bool xAOD::EventShape_v1::setDensity | ( | EventDensityID | id, |
| double | v ) |
Set a density variable on the object.
Definition at line 145 of file EventShape_v1.cxx.
| bool xAOD::EventShape_v1::setShape | ( | EventShapeID | id, |
| double | v ) |
Set a shape variable on the object.
Definition at line 123 of file EventShape_v1.cxx.