ATLAS Offline Software
Loading...
Searching...
No Matches
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
20namespace 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
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.
An STL vector of pointers that by default owns its pointed-to elements.
Base class for elements of a container that can have aux data.
Definition AuxElement.h:483
SG::Accessor< T, ALLOC > Accessor
Definition AuxElement.h:572
void setEt_sin(const std::vector< float > &value)
float area() const
float etaMax() const
std::vector< float > & Et_sin()
const std::vector< float > & Et_cos() const
void setEt_cos(const std::vector< float > &value)
const std::vector< float > & Et_sin() const
std::vector< float > & Et_cos()
float etaMin() const
HIEventShape_v1()
Default constructor.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
static const SG::AuxElement::Accessor< ElementLink< IParticleContainer > > acc("originalObjectLink")
Object used for setting/getting the dynamic decoration in question.