ATLAS Offline Software
HIEventShape_v1.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef XAODHIEVENT_VERSIONS_HIEVENTSHAPE_V1_H
6 #define XAODHIEVENT_VERSIONS_HIEVENTSHAPE_V1_H
7 
8 #include <set>
9 #include <vector>
10 #include <string>
11 #include <iosfwd>
12 
13 // EDM include(s):
16 #include "AthLinks/ElementLink.h"
17 
18 
20 namespace xAOD {
21 
23 
24  public:
27 
28  // are floats enough for storage?
29  float Et() const;
30  void setEt(float);
31 
32  float area() const;
33  void setArea(float);
34 
35  float rho() const;
36  void setRho(float);
37 
38  const std::vector<float>& Et_cos() const;
39  void setEt_cos(const std::vector<float>& value);
40 
41  const std::vector<float>& Et_sin() const;
42  void setEt_sin(const std::vector<float>& value);
43 
44  float etaMin() const;
45  void setEtaMin(float);
46 
47  float etaMax() const;
48  void setEtaMax(float);
49 
50  int layer() const;
51  void setLayer(int);
52 
53  int nCells() const;
54  void setNcells(int);
55 
56  void toPersistent();
57 
58 
59  std::vector<float>& Et_cos()
60  {
61  static Accessor< std::vector<float> > acc("Et_cos");
62  return acc(*this);
63  }
64  std::vector<float>& Et_sin()
65  {
66  static Accessor< std::vector<float> > acc("Et_sin");
67  return (std::vector<float>&) acc(*this);
68  }
69 
70  }; // class HIEventShape_v1
71 
72 } // namespace xAOD
73 #include "xAODCore/BaseInfo.h"
75 
76 #endif // XAODEVENTINFO_VERSIONS_EVENTINFO_V1_H
SG_BASE
SG_BASE(xAOD::HIEventShape_v1, SG::AuxElement)
xAOD::HIEventShape_v1::setEt
void setEt(float)
xAOD::HIEventShape_v1::area
float area() const
xAOD::HIEventShape_v1::toPersistent
void toPersistent()
Definition: HIEventShape_v1.cxx:32
SG::Accessor
Helper class to provide type-safe access to aux data.
Definition: Control/AthContainers/AthContainers/Accessor.h:68
xAOD::HIEventShape_v1::setNcells
void setNcells(int)
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:472
xAOD::HIEventShape_v1::etaMax
float etaMax() const
xAOD::HIEventShape_v1
Definition: HIEventShape_v1.h:22
BaseInfo.h
xAOD::HIEventShape_v1::nCells
int nCells() const
athena.value
value
Definition: athena.py:124
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::HIEventShape_v1::setEt_cos
void setEt_cos(const std::vector< float > &value)
xAOD::HIEventShape_v1::setArea
void setArea(float)
xAOD::HIEventShape_v1::Et_cos
std::vector< float > & Et_cos()
Definition: HIEventShape_v1.h:59
xAOD::HIEventShape_v1::setEtaMax
void setEtaMax(float)
xAOD::HIEventShape_v1::Et_cos
const std::vector< float > & Et_cos() const
xAOD::HIEventShape_v1::Et_sin
std::vector< float > & Et_sin()
Definition: HIEventShape_v1.h:64
xAOD::HIEventShape_v1::setRho
void setRho(float)
xAOD::HIEventShape_v1::rho
float rho() const
xAOD::HIEventShape_v1::setEt_sin
void setEt_sin(const std::vector< float > &value)
xAOD::HIEventShape_v1::Et_sin
const std::vector< float > & Et_sin() const
xAOD::HIEventShape_v1::Et
float Et() const
xAOD::HIEventShape_v1::layer
int layer() const
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
xAOD::HIEventShape_v1::setEtaMin
void setEtaMin(float)
xAOD::HIEventShape_v1::HIEventShape_v1
HIEventShape_v1()
Default constructor.
Definition: HIEventShape_v1.cxx:14
AuxElement.h
Base class for elements of a container that can have aux data.
xAOD::HIEventShape_v1::setLayer
void setLayer(int)
xAOD::HIEventShape_v1::etaMin
float etaMin() const