ATLAS Offline Software
Loading...
Searching...
No Matches
jFexSumETRoI_v1.h
Go to the documentation of this file.
1//create
2/*
3 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
4*/
5#ifndef XAODTRIGGER_VERSIONS_JFEXSUMETROI_V1_H
6#define XAODTRIGGER_VERSIONS_JFEXSUMETROI_V1_H
7
8// System include(s):
9extern "C" {
10# include <stdint.h>
11}
12#include <vector>
13#include <string>
14
15// xAOD include(s):
17namespace xAOD {
18
21
23
24 public:
27
30
39 int tobEtScale() const;
40
45
46 //Unpack Et_lower from the SumEt TOB word
48 void setTobEt_lower( uint16_t value) ;
49 int Et_lower() const;
50
51 //Unpack Et_upper from the SumEt TOB word
53 void setTobEt_upper( uint16_t value) ;
54 int Et_upper() const;
55
56 //Unpack saturation for lower from the SumEt TOB word
58 void setTobSat_lower( uint8_t value) ;
59
60 //Unpack saturation for upper from the SumEt TOB word
62 void setTobSat_upper( uint8_t value) ;
63
64 //Et resolution
65 void setResolution(int value);
66
67 private:
68
69 // Data locations within word
70 static const int s_Sat_upperBit = 31;
71 static const int s_Et_upperBit = 16;
72 static const int s_Et_lowerBit = 1;
73 static const int s_Sat_lowerBit = 0;
74
75 //Data masks
76 static const int s_Sat_upperMask = 0x1;
77 static const int s_Et_upperMask = 0x7fff;
78 static const int s_Et_lowerMask = 0x7fff;
79 static const int s_Sat_lowerMask = 0x1;
80
81
82 }; // class jFexSumETRoI_v1
83
84} // namespace xAOD
85// Declare the inheritance of the type:
86#include "xAODCore/BaseInfo.h"
88
89#endif //XAODTRIGGER_VERSIONS_JFEXSumETROI_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 properties of a LVL1 jFEX global Trigger Object (TOB) in the xAOD format.
uint8_t unpackSat_lower() const
static const int s_Et_lowerMask
static const int s_Sat_upperMask
void setTobSat_upper(uint8_t value)
uint32_t tobWord() const
The "raw" 32-bit word describing the object candidate.
int Et_upper() const
Et_upper in 1 MeV scale.
uint8_t tobSat_upper() const
uint8_t tobSat_lower() const
void setjFexNumber(uint8_t jFexNumber)
uint16_t unpackEt_upper() const
static const int s_Et_lowerBit
static const int s_Et_upperBit
uint16_t tobEt_lower() const
void setTobWord(uint32_t tobWord)
Set the "raw" 32-bit words describing the object candidate.
void setTobSat_lower(uint8_t value)
uint16_t unpackEt_lower() const
Raw data words.
static const int s_Sat_lowerMask
void setfpgaNumber(uint8_t fpgaNumber)
static const int s_Et_upperMask
uint8_t fpgaNumber() const
jFexSumETRoI_v1()
Default constructor.
static const int s_Sat_upperBit
static const int s_Sat_lowerBit
void setResolution(int value)
void setTobEt_upper(uint16_t value)
int Et_lower() const
Methods that require combining results or applying scales.
uint16_t tobEt_upper() const
int tobEtScale() const
void setTobEt_lower(uint16_t value)
uint8_t unpackSat_upper() const
uint8_t jFexNumber() const
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
setWord1 uint16_t
setEventNumber uint32_t
void initialize()