ATLAS Offline Software
JetRoI_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: JetRoI_v2.h 631149 2014-11-26 12:26:18Z krasznaa $
8 #ifndef XAODTRIGGER_VERSIONS_JETROI_V2_H
9 #define XAODTRIGGER_VERSIONS_JETROI_V2_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_v2 : public SG::AuxElement {
36 
37  public:
39  JetRoI_v2();
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 
60  float etLarge() const;
61  float etSmall() const;
62 
64  float etScale() const;
66  void setEtScale( float value );
67 
72 
75 
77  float et4x4() const;
79  void setEt4x4( float value );
80 
82  float et6x6() const;
84  void setEt6x6( float value );
85 
87  float et8x8() const;
89  void setEt8x8( float value );
90 
92 
95 
97  void addThreshold( const std::string& name, float value );
99  void clearThresholds();
100 
102  const std::vector< std::string >& thrNames() const;
104  const std::vector< float >& thrValues() const;
105 
107 
108  }; // class JetRoI_v2
109 
110 } // namespace xAOD
111 
112 // Declare the inheritance of the class:
113 #include "xAODCore/BaseInfo.h"
115 
116 #endif // XAODTRIGGER_VERSIONS_JETROI_V2_H
xAOD::JetRoI_v2::etSmall
float etSmall() const
xAOD::JetRoI_v2::setThrPattern
void setThrPattern(uint32_t value)
Set the threshold pattern.
xAOD::JetRoI_v2::thrValues
const std::vector< float > & thrValues() const
The values of the thresholds (in MeV) passed by the jet candidate.
xAOD::name
name
Definition: TriggerMenuJson_v1.cxx:29
xAOD::JetRoI_v2::et8x8
float et8x8() const
The energy deposited in a 0.8x0.8 area around the RoI.
xAOD::JetRoI_v2::et6x6
float et6x6() const
The energy deposited in a 0.6x0.6 area around the RoI.
xAOD::JetRoI_v2::thrNames
const std::vector< std::string > & thrNames() const
The names of the thresholds passed by jet candidate.
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_v2::etLarge
float etLarge() const
The ET values stored in the RoI.
xAOD::JetRoI_v2::setRoIWord
void setRoIWord(uint32_t value)
Set the "raw" RoI word, describing the jet candidate.
xAOD::JetRoI_v2::thrPattern
uint32_t thrPattern() const
The pattern describing which thresholds were passed by the jet.
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_v2::initialize
void initialize(uint32_t roiword, float eta, float phi)
Initialise the object with its most important properties.
Definition: JetRoI_v2.cxx:19
xAOD::JetRoI_v2::clearThresholds
void clearThresholds()
Remove all the passed thresholds from the RoI.
Definition: JetRoI_v2.cxx:83
xAOD::JetRoI_v2::etScale
float etScale() const
The ET scale for RoI digits.
xAOD::JetRoI_v2::eta
float eta() const
The pseudorapidity ( ) of the jet candidate.
xAOD::JetRoI_v2::setEt8x8
void setEt8x8(float value)
Set the energy deposited in a 0.8x0.8 area around the RoI.
SG_BASE
SG_BASE(xAOD::JetRoI_v2, SG::AuxElement)
xAOD::JetRoI_v2::phi
float phi() const
The azimuthal angle ( ) of the jet candidate.
xAOD::JetRoI_v2::et4x4
float et4x4() const
The energy deposited in a 0.4x0.4 area around the RoI.
xAOD::JetRoI_v2::JetRoI_v2
JetRoI_v2()
Default constructor.
Definition: JetRoI_v2.cxx:14
xAOD::JetRoI_v2::setEtScale
void setEtScale(float value)
Set the ET scale for RoI digits.
xAOD::JetRoI_v2
Class describing a LVL1 jet region of interest.
Definition: JetRoI_v2.h:35
python.PyAthena.v
v
Definition: PyAthena.py:157
xAOD::JetRoI_v2::roiWord
uint32_t roiWord() const
The "raw" RoI word describing the jet candidate.
xAOD::JetRoI_v2::setEt6x6
void setEt6x6(float value)
Set the energy deposited in a 0.6x0.6 area around the RoI.
xAOD::JetRoI_v2::setPhi
void setPhi(float v)
Set the azimuthal angle of the jet candidate.
xAOD::JetRoI_v2::addThreshold
void addThreshold(const std::string &name, float value)
Add a new threshold that was passed by the RoI.
Definition: JetRoI_v2.cxx:72
xAOD::JetRoI_v2::setEt4x4
void setEt4x4(float value)
Set the energy deposited in a 0.4x0.4 area around the RoI.
xAOD::JetRoI_v2::setEta
void setEta(float v)
Set the pseudorapidity of the jet candidate.
AuxElement.h
Base class for elements of a container that can have aux data.