ATLAS Offline Software
Loading...
Searching...
No Matches
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
14namespace xAOD {
15
29
30 public:
33
44
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
Base class for elements of a container that can have aux data.
#define SG_BASE(D, B)
Declare that class D derives from class B.
Base class for elements of a container that can have aux data.
Definition AuxElement.h:483
Data class for event shapes.
EventShapeID
Event shape variable types.
bool setShape(EventShapeID id, double v)
Set a shape variable on the object.
EventDensityID
Event density variable types.
bool setDensity(EventDensityID id, double v)
Set a density variable on the object.
bool getDensity(EventDensityID id, double &v) const
Get a density variable from the object.
bool getShape(EventShapeID id, double &v) const
Get a shape variable from the object.
EventShape_v1()
Default constructor.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.