#include <EventShape_v1.h>
Public Types | |
enum | EventShapeID { UnknownShape = -1, Thrust, ThrustEta, ThrustPhi, ThrustMinor, Sphericity, FoxWolfram } |
Event shape variable types. | |
enum | EventDensityID { UnknownDensity = -1, Density, DensitySigma, DensityArea } |
Event density variable types. | |
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.