ATLAS Offline Software
Loading...
Searching...
No Matches
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):
12extern "C" {
13# include <stdint.h>
14}
15#include <vector>
16#include <string>
17
18// xAOD include(s):
20
21namespace 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
57 void setRoIWord( uint32_t value );
58
60 float etLarge() const;
61 float etSmall() const;
62
64 float etScale() const;
66 void setEtScale( float value );
67
71 void setThrPattern( uint32_t value );
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
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
Class describing a LVL1 jet region of interest.
Definition JetRoI_v2.h:35
float etLarge() const
The ET values stored in the RoI.
void setEt8x8(float value)
Set the energy deposited in a 0.8x0.8 area around the RoI.
void setEt6x6(float value)
Set the energy deposited in a 0.6x0.6 area around the RoI.
float et6x6() const
The energy deposited in a 0.6x0.6 area around the RoI.
void addThreshold(const std::string &name, float value)
Add a new threshold that was passed by the RoI.
Definition JetRoI_v2.cxx:72
float et4x4() const
The energy deposited in a 0.4x0.4 area around the RoI.
JetRoI_v2()
Default constructor.
Definition JetRoI_v2.cxx:14
void setEtScale(float value)
Set the ET scale for RoI digits.
void setPhi(float v)
Set the azimuthal angle of the jet candidate.
float etScale() const
The ET scale for RoI digits.
uint32_t thrPattern() const
The pattern describing which thresholds were passed by the jet.
const std::vector< float > & thrValues() const
The values of the thresholds (in MeV) passed by the jet candidate.
float et8x8() const
The energy deposited in a 0.8x0.8 area around the RoI.
uint32_t roiWord() const
The "raw" RoI word describing the jet candidate.
const std::vector< std::string > & thrNames() const
The names of the thresholds passed by jet candidate.
void setEt4x4(float value)
Set the energy deposited in a 0.4x0.4 area around the RoI.
float etSmall() const
float eta() const
The pseudorapidity ( ) of the jet candidate.
void setThrPattern(uint32_t value)
Set the threshold pattern.
float phi() const
The azimuthal angle ( ) of the jet candidate.
void setRoIWord(uint32_t value)
Set the "raw" RoI word, describing the jet candidate.
void clearThresholds()
Remove all the passed thresholds from the RoI.
Definition JetRoI_v2.cxx:83
void setEta(float v)
Set the pseudorapidity of the jet candidate.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
setEventNumber uint32_t
void initialize()