ATLAS Offline Software
Loading...
Searching...
No Matches
EmTauRoI_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: EmTauRoI_v2.h 631149 2014-11-26 12:26:18Z krasznaa $
8#ifndef XAODTRIGGER_VERSIONS_EMTAUROI_V2_H
9#define XAODTRIGGER_VERSIONS_EMTAUROI_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 EmTauRoI_v2 : public SG::AuxElement {
36
37 public:
40
42 void initialize( uint32_t roiword, float eta, float phi );
43
45 enum RoIType {
49 };
50
52 RoIType roiType() const;
53
55 float eta() const;
57 void setEta( float v );
58
60 float phi() const;
62 void setPhi( float v );
63
67 void setRoIWord( uint32_t value );
68
70 float etScale() const;
72 void setEtScale( float v );
73
75 float eT() const;
77 uint8_t isol() const;
78
82 void setThrPattern( uint32_t value );
83
86
88 float core() const;
90 void setCore( float value );
91
93 float emClus() const;
95 void setEmClus( float value );
96
98 float tauClus() const;
100 void setTauClus( float value );
101
103 float emIsol() const;
105 void setEmIsol( float value );
106
108 float hadIsol() const;
110 void setHadIsol( float value );
111
114 float hadCore() const;
116 void setHadCore( float value );
117
119
122
124 void addThreshold( const std::string& name, float value );
126 void clearThresholds();
127
129 const std::vector< std::string >& thrNames() const;
131 const std::vector< float >& thrValues() const;
132
134
135 }; // class EmTauRoI_v2
136
137} // namespace xAOD
138
139// Declare the inheritance of the type:
140#include "xAODCore/BaseInfo.h"
142
143#endif // XAODTRIGGER_VERSIONS_EMTAUROI_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 em/tau region of interest.
Definition EmTauRoI_v2.h:35
float etScale() const
The ET scale of the RoI bits.
void addThreshold(const std::string &name, float value)
Add a new threshold that was passed by the RoI.
float hadCore() const
The ET deposited in the inner hadronic isolation region (2x2 core)
const std::vector< float > & thrValues() const
The values of the thresholds (in MeV) passed by the jet candidate.
float emClus() const
The deposited ET from the "EM cluster".
void setTauClus(float value)
Set the deposited ET from the "tau cluster".
void setEta(float v)
Set the pseudorapidity of the em/tau candidate.
RoIType
RoI word types.
Definition EmTauRoI_v2.h:45
@ TauRoIWord
This is a Run 2 Tau RoI word.
Definition EmTauRoI_v2.h:48
@ EMRoIWord
This is a Run 2 EM RoI word.
Definition EmTauRoI_v2.h:47
@ CPRoIWord
This is a Run 1 EM/Tau RoI word.
Definition EmTauRoI_v2.h:46
void setCore(float value)
Set the ET of the RoI Core cluster (2x2 towers, EM+Had)
float hadIsol() const
The hadron calorimeter isolation (outer ring of had towers)
float eta() const
The pseudorapidity ( ) of the em/tau candidate.
float eT() const
The ET of the cluster (from RoI word)
void setHadCore(float value)
Set the ET deposited in the inner hadronic isolation region.
uint32_t thrPattern() const
The pattern describing which thresholds were passed by the jet.
void setEtScale(float v)
Set the ET scale.
void setEmClus(float value)
Set the deposited ET from the "EM cluster".
uint8_t isol() const
The isolation result mask (from RoI word)
RoIType roiType() const
Get the type of the RoI word.
void clearThresholds()
Remove all the passed thresholds from the RoI.
float tauClus() const
The deposited ET from the "tau cluster".
void setEmIsol(float value)
Set the EM calorimeter isolation (outer ring of EM towers)
void setRoIWord(uint32_t value)
Set the "raw" RoI word, describing the em/tau candidate.
uint32_t roiWord() const
The "raw" RoI word describing the em/tau candidate.
float emIsol() const
The EM calorimeter isolation (outer ring of EM towers)
float phi() const
The azimuthal angle ( ) of the em/tau candidate.
void setPhi(float v)
Set the azimuthal angle of the em/tau candidate.
void setThrPattern(uint32_t value)
Set the threshold pattern.
const std::vector< std::string > & thrNames() const
The names of the thresholds passed by jet candidate.
void setHadIsol(float value)
Set the hadron calorimeter isolation (outer ring of had towers)
EmTauRoI_v2()
Default constructor.
float core() const
The ET of the RoI Core cluster (2x2 towers, EM+Had)
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
setEventNumber uint32_t
void initialize()