ATLAS Offline Software
Trigger
TrigT1
TrigT1Result
TrigT1Result
EMTauRoI.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/* **********************************************************
6
*
7
* EMTauRoI contains to a RoI delivered by the egamma.
8
* Contained in the EMTauResult class.
9
* Author: Thomas Schoerner-Sadenius <thomas.schoerner@cern.ch>
10
*
11
********************************************************** */
12
#ifndef TRIGT1RESULT_EMTAUROI_H
13
#define TRIGT1RESULT_EMTAUROI_H
14
15
#include <stdint.h>
16
#include <vector>
17
18
namespace
ROIB
{
19
20
class
EMTauRoI
{
21
22
public
:
23
/* A RoI is a uint32_t */
24
EMTauRoI
(
uint32_t
);
25
/* Init to 0 */
26
EMTauRoI
();
27
~EMTauRoI
() =
default
;
28
29
/* Method to update the RoI word format */
30
void
update
();
31
32
/* Method returning the RoI */
33
uint32_t
roIWord
()
const
;
34
/* Checks the first few bits of the RoI, to see if this really is an
35
EM/tau RoI */
36
unsigned
int
roIType
()
const
;
37
/* Return the bit pattern for the electronics address */
38
unsigned
int
electronicsID
()
const
;
39
/* Returns a vector containing the thresholds that were passsed (Run 1 only)*/
40
std::vector<unsigned int>
thresholds
()
const
;
41
/* Returns cluster ET value (Run 2 only) */
42
unsigned
int
et
()
const
;
43
/* Returns isolation results (Run 2 only) */
44
unsigned
int
isolation
()
const
;
45
46
private
:
47
/* The uint32_t data member of the RoI */
48
uint32_t
m_roIWord
;
49
50
};
// class RMTauRoI
51
52
}
// namespace ROIB
53
54
#endif // TRIGT1RESULT_EMTAUROI_H
ROIB::EMTauRoI::~EMTauRoI
~EMTauRoI()=default
xAOD::uint32_t
setEventNumber uint32_t
Definition:
EventInfo_v1.cxx:127
ROIB::EMTauRoI::electronicsID
unsigned int electronicsID() const
Return bitmask containing coordinate information (crate, module, chip, ocation)
Definition:
EMTauRoI.cxx:58
ROIB::EMTauRoI::thresholds
std::vector< unsigned int > thresholds() const
Return vector of thresholds passed for Run 1 RoI.
Definition:
EMTauRoI.cxx:68
ROIB::EMTauRoI::et
unsigned int et() const
Return cluster ET for Run 2 RoI.
Definition:
EMTauRoI.cxx:81
ROIB
Namespace of the LVL1 RoIB simulation.
Definition:
ILvl1ResultAccessTool.h:19
ROIB::EMTauRoI::roIWord
uint32_t roIWord() const
Definition:
EMTauRoI.cxx:32
ROIB::EMTauRoI::m_roIWord
uint32_t m_roIWord
Definition:
EMTauRoI.h:48
ROIB::EMTauRoI::isolation
unsigned int isolation() const
Return isolation flags for Run 2 RoI.
Definition:
EMTauRoI.cxx:90
ROIB::EMTauRoI
Definition:
EMTauRoI.h:20
ROIB::EMTauRoI::roIType
unsigned int roIType() const
Return RoI type.
Definition:
EMTauRoI.cxx:38
ROIB::EMTauRoI::update
void update()
Definition:
EMTauRoI.cxx:26
ROIB::EMTauRoI::EMTauRoI
EMTauRoI()
Definition:
EMTauRoI.cxx:21
Generated on Thu Nov 7 2024 21:14:43 for ATLAS Offline Software by
1.8.18