ATLAS Offline Software
Loading...
Searching...
No Matches
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):
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_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
57 void setRoIWord( uint32_t value );
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
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_v1.h:35
float et8x8() const
The energy deposited in a 0.8x0.8 area around the RoI.
float eta() const
The pseudorapidity ( ) of the jet candidate.
uint32_t thrPattern() const
The pattern describing which thresholds were passed by the jet.
float phi() const
The azimuthal angle ( ) of the jet candidate.
const std::vector< float > & thrValues() const
The values of the thresholds (in MeV) passed by the jet candidate.
float et6x6() const
The energy deposited in a 0.6x0.6 area around the RoI.
void setRoIWord(uint32_t value)
Set the "raw" RoI word, describing the jet candidate.
const std::vector< std::string > & thrNames() const
The names of the thresholds passed by jet candidate.
uint32_t roiWord() const
The "raw" RoI word describing the jet candidate.
void clearThresholds()
Remove all the passed thresholds from the RoI.
Definition JetRoI_v1.cxx:66
float et4x4() const
The energy deposited in a 0.4x0.4 area around the RoI.
JetRoI_v1()
Default constructor.
Definition JetRoI_v1.cxx:14
void setEt4x4(float value)
Set the energy deposited in a 0.4x0.4 area around the RoI.
void setPhi(float v)
Set the azimuthal angle of the jet candidate.
void setEt6x6(float value)
Set the energy deposited in a 0.6x0.6 area around the RoI.
void setEt8x8(float value)
Set the energy deposited in a 0.8x0.8 area around the RoI.
void setEta(float v)
Set the pseudorapidity of the jet candidate.
void addThreshold(const std::string &name, float value)
Add a new threshold that was passed by the RoI.
Definition JetRoI_v1.cxx:55
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
setEventNumber uint32_t
void initialize()