ATLAS Offline Software
Loading...
Searching...
No Matches
HIEventShape_v2.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: HIEventShape_v2.h 693494 2015-09-07 14:59:45Z krasznaa $
8#ifndef XAODHIEVENT_VERSIONS_HIEVENTSHAPE_V2_H
9#define XAODHIEVENT_VERSIONS_HIEVENTSHAPE_V2_H
10
11// System include(s):
12#include <vector>
13
14// EDM include(s):
16
18namespace xAOD {
19
33
34 public:
37
40
42 float et() const;
44 void setEt( float value );
45
47 float area() const;
49 void setArea( float value );
50
52 float rho() const;
54 void setRho( float value );
55
57 int nCells() const;
59 void setNCells( int value );
60
62
65
70 const std::vector< float >& etCos() const;
72 std::vector< float >& etCos();
74 void setEtCos( const std::vector< float >& value );
75
78 const std::vector<float>& etSin() const;
80 std::vector<float>& etSin();
82 void setEtSin( const std::vector< float >& value );
83
85
88
90 float etaMin() const;
92 void setEtaMin( float value );
93
95 float etaMax() const;
97 void setEtaMax( float value );
98
102 int layer() const;
104 void setLayer( int value );
105
107
108 }; // class HIEventShape_v2
109
110} // namespace xAOD
111
112// Declare SG::AuxElement as a base of the class:
113#include "xAODCore/BaseInfo.h"
115
116#endif // XAODHIEVENT_VERSIONS_HIEVENTSHAPE_V2_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
Interface class for the HI reconstruction EDM.
void setEtCos(const std::vector< float > &value)
set the cosine harmonic modulation
void setEtaMin(float value)
set eta slice "left" edge
int nCells() const
number of cells that were summed in slice
void setArea(float value)
set the area of the eta slice
void setEt(float value)
Set the reconstructed transverse energy.
HIEventShape_v2()
Default constructor.
float etaMax() const
eta slice "right" edge
float area() const
obtain the area of the eta slice
void setLayer(int value)
set layer information
float rho() const
energy density (et/area)
void setEtaMax(float value)
set eta slice "right" edge
int layer() const
calorimeter layer for which the quantities were calculated 0 - all calorimeter depth others numbers a...
const std::vector< float > & etSin() const
sine (x) part of the harmonic modulation strength
std::vector< float > & etSin()
read-write accessor for since modulation
const std::vector< float > & etCos() const
cosine (y) part of the harmonic modulation strength Following convention is used: index 0 is first ha...
float et() const
Transverse energy reconstructed on the slice.
void setNCells(int value)
set the number of cells summed in slice
void setEtSin(const std::vector< float > &value)
set the sine harmonic modulation
float etaMin() const
eta slice "left" edge
void setRho(float value)
set the rho value
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.