ATLAS Offline Software
Loading...
Searching...
No Matches
EmTauRoI_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: EmTauRoI_v1.h 631149 2014-11-26 12:26:18Z krasznaa $
8#ifndef XAODTRIGGER_VERSIONS_EMTAUROI_V1_H
9#define XAODTRIGGER_VERSIONS_EMTAUROI_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 EmTauRoI_v1 : public SG::AuxElement {
36
37 public:
40
42 void initialize( uint32_t roiword, float eta, float phi );
43
45 enum RoIType {
49 };
50
51 RoIType roiType() const;
52
54 float eta() const;
56 void setEta( float v );
57
59 float phi() const;
61 void setPhi( float v );
62
66 void setRoIWord( uint32_t value );
67
70
73
75 float core() const;
77 void setCore( float value );
78
80 float emClus() const;
82 void setEmClus( float value );
83
85 float tauClus() const;
87 void setTauClus( float value );
88
90 float emIsol() const;
92 void setEmIsol( float value );
93
95 float hadIsol() const;
97 void setHadIsol( float value );
98
101 float hadCore() const;
103 void setHadCore( float value );
104
106
109
111 void addThreshold( const std::string& name, float value );
113 void clearThresholds();
114
116 const std::vector< std::string >& thrNames() const;
118 const std::vector< float >& thrValues() const;
119
121
122 }; // class EmTauRoI_v1
123
124} // namespace xAOD
125
126// Declare the inheritance of the type:
127#include "xAODCore/BaseInfo.h"
129
130#endif // XAODTRIGGER_VERSIONS_EMTAUROI_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 em/tau region of interest.
Definition EmTauRoI_v1.h:35
void setRoIWord(uint32_t value)
Set the "raw" RoI word, describing the em/tau candidate.
EmTauRoI_v1()
Default constructor.
float core() const
The ET of the RoI Core cluster (2x2 towers, EM+Had)
uint32_t roiWord() const
The "raw" RoI word describing the em/tau candidate.
RoIType roiType() const
Get the type of the RoI word.
float emIsol() const
The EM calorimeter isolation (outer ring of EM towers)
float hadIsol() const
The hadron calorimeter isolation (outer ring of had towers)
RoIType
RoI word types.
Definition EmTauRoI_v1.h:45
@ EMRoIWord
This is a Run 2 EM RoI word.
Definition EmTauRoI_v1.h:47
@ CPRoIWord
This is a Run 1 EM/Tau RoI word.
Definition EmTauRoI_v1.h:46
@ TauRoIWord
This is a Run 2 Tau RoI word.
Definition EmTauRoI_v1.h:48
void setPhi(float v)
Set the azimuthal angle of the em/tau candidate.
void setEmClus(float value)
Set the deposited ET from the "EM cluster".
void setCore(float value)
Set the ET of the RoI Core cluster (2x2 towers, EM+Had)
void clearThresholds()
Remove all the passed thresholds from the RoI.
void setEmIsol(float value)
Set the EM calorimeter isolation (outer ring of EM towers)
void addThreshold(const std::string &name, float value)
Add a new threshold that was passed by the RoI.
float emClus() const
The deposited ET from the "EM cluster".
uint32_t thrPattern() const
The pattern describing which thresholds were passed by the jet.
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)
void setHadCore(float value)
Set the ET deposited in the inner hadronic isolation region.
void setTauClus(float value)
Set the deposited ET from the "tau cluster".
float phi() const
The azimuthal angle ( ) of the em/tau candidate.
float tauClus() const
The deposited ET from the "tau cluster".
float eta() const
The pseudorapidity ( ) of the em/tau candidate.
float hadCore() const
The ET deposited in the inner hadronic isolation region (2x2 core)
void setEta(float v)
Set the pseudorapidity of the em/tau candidate.
const std::vector< float > & thrValues() const
The values of the thresholds (in MeV) passed by the jet candidate.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
setEventNumber uint32_t
void initialize()