ATLAS Offline Software
JetRoI_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: JetRoI_v1.h 631149 2014-11-26 12:26:18Z krasznaa $
8 #ifndef XAODTRIGGER_VERSIONS_JETROI_V1_H
9 #define XAODTRIGGER_VERSIONS_JETROI_V1_H
10 
11 // System include(s):
12 extern "C" {
13 # include <stdint.h>
14 }
15 #include <vector>
16 #include <string>
17 
18 // xAOD include(s):
20 
21 namespace xAOD {
22 
35  class JetRoI_v1 : public SG::AuxElement {
36 
37  public:
39  JetRoI_v1();
40 
42  void initialize( uint32_t roiword, float eta, float phi );
43 
45  float eta() const;
47  void setEta( float v );
48 
50  float phi() const;
52  void setPhi( float v );
53 
55  uint32_t roiWord() const;
58 
61 
64 
66  float et4x4() const;
68  void setEt4x4( float value );
69 
71  float et6x6() const;
73  void setEt6x6( float value );
74 
76  float et8x8() const;
78  void setEt8x8( float value );
79 
81 
84 
86  void addThreshold( const std::string& name, float value );
88  void clearThresholds();
89 
91  const std::vector< std::string >& thrNames() const;
93  const std::vector< float >& thrValues() const;
94 
96 
97  }; // class JetRoI_v1
98 
99 } // namespace xAOD
100 
101 // Declare the inheritance of the class:
102 #include "xAODCore/BaseInfo.h"
104 
105 #endif // XAODTRIGGER_VERSIONS_JETROI_V1_H
xAOD::JetRoI_v1::clearThresholds
void clearThresholds()
Remove all the passed thresholds from the RoI.
Definition: JetRoI_v1.cxx:66
xAOD::JetRoI_v1::phi
float phi() const
The azimuthal angle ( ) of the jet candidate.
xAOD::name
name
Definition: TriggerMenuJson_v1.cxx:29
xAOD::JetRoI_v1::roiWord
uint32_t roiWord() const
The "raw" RoI word describing the jet candidate.
xAOD::JetRoI_v1::setRoIWord
void setRoIWord(uint32_t value)
Set the "raw" RoI word, describing the jet candidate.
SG_BASE
SG_BASE(xAOD::JetRoI_v1, SG::AuxElement)
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:446
xAOD::JetRoI_v1::thrValues
const std::vector< float > & thrValues() const
The values of the thresholds (in MeV) passed by the jet candidate.
BaseInfo.h
athena.value
value
Definition: athena.py:122
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::JetRoI_v1::et4x4
float et4x4() const
The energy deposited in a 0.4x0.4 area around the RoI.
xAOD::JetRoI_v1::JetRoI_v1
JetRoI_v1()
Default constructor.
Definition: JetRoI_v1.cxx:14
xAOD::JetRoI_v1::thrNames
const std::vector< std::string > & thrNames() const
The names of the thresholds passed by jet candidate.
xAOD::JetRoI_v1::eta
float eta() const
The pseudorapidity ( ) of the jet candidate.
xAOD::JetRoI_v1::setEt8x8
void setEt8x8(float value)
Set the energy deposited in a 0.8x0.8 area around the RoI.
xAOD::JetRoI_v1::initialize
void initialize(uint32_t roiword, float eta, float phi)
Initialise the object with its most important properties.
Definition: JetRoI_v1.cxx:19
xAOD::JetRoI_v1::addThreshold
void addThreshold(const std::string &name, float value)
Add a new threshold that was passed by the RoI.
Definition: JetRoI_v1.cxx:55
xAOD::JetRoI_v1::thrPattern
uint32_t thrPattern() const
The pattern describing which thresholds were passed by the jet.
xAOD::JetRoI_v1::setEta
void setEta(float v)
Set the pseudorapidity of the jet candidate.
xAOD::JetRoI_v1::setEt6x6
void setEt6x6(float value)
Set the energy deposited in a 0.6x0.6 area around the RoI.
python.PyAthena.v
v
Definition: PyAthena.py:157
xAOD::JetRoI_v1::et6x6
float et6x6() const
The energy deposited in a 0.6x0.6 area around the RoI.
xAOD::JetRoI_v1::setEt4x4
void setEt4x4(float value)
Set the energy deposited in a 0.4x0.4 area around the RoI.
xAOD::JetRoI_v1::et8x8
float et8x8() const
The energy deposited in a 0.8x0.8 area around the RoI.
xAOD::JetRoI_v1
Class describing a LVL1 jet region of interest.
Definition: JetRoI_v1.h:35
AuxElement.h
Base class for elements of a container that can have aux data.
xAOD::JetRoI_v1::setPhi
void setPhi(float v)
Set the azimuthal angle of the jet candidate.