ATLAS Offline Software
JetEnergyRoI.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 * JetEnergyRoI contains to a RoI delivered by the jet/E trigger.
8 * Contained in the JetEnergyResult class.
9 * Author: Thomas Schoerner-Sadenius <thomas.schoerner@cern.ch>
10 *
11 ********************************************************** */
12 #ifndef TRIGT1RESULT_JETENERGYROI_H
13 #define TRIGT1RESULT_JETENERGYROI_H
14 
15 #include <stdint.h>
16 #include <vector>
17 
18 namespace ROIB {
19 
20  class JetEnergyRoI {
21 
22  public:
23  /* A RoI is a uint32_t */
25  JetEnergyRoI();
26  ~JetEnergyRoI() = default;
27 
28  /* Method to update the RoI word format Obselete*/
29  void update();
30 
32  uint32_t roIWord() const;
34  unsigned int roIType() const;
36  unsigned int electronicsID() const;
38  std::vector<unsigned int> thresholds() const;
39  /* Method returning the jet Et Sum*/
40  unsigned int jetEt() const;
42  unsigned int etLarge() const;
43  unsigned int etSmall() const;
45  unsigned int energyX() const;
46  unsigned int energyY() const;
47  unsigned int energySum() const;
49  unsigned int etSumType() const;
51  std::vector<unsigned int> etSumThresholds() const;
52  std::vector<unsigned int> etMissThresholds() const;
53  std::vector<unsigned int> metSigThresholds() const;
55  unsigned int jetRoIVersion() const;
56 
57  private:
58  /* The data member - a uint32_t */
60 
61  }; // class JetEnergyRoI
62 
63 } // namespace ROIB
64 
65 #endif // TRIGT1RESULT_JETENERGYROI_H
ROIB::JetEnergyRoI::etMissThresholds
std::vector< unsigned int > etMissThresholds() const
Definition: JetEnergyRoI.cxx:149
ROIB::JetEnergyRoI::etSumType
unsigned int etSumType() const
Eta range for MET/SumET RoIs (0 = full, 1 = restricted)
Definition: JetEnergyRoI.cxx:127
ROIB::JetEnergyRoI::metSigThresholds
std::vector< unsigned int > metSigThresholds() const
Definition: JetEnergyRoI.cxx:162
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
ROIB::JetEnergyRoI::etLarge
unsigned int etLarge() const
Methods returning the jet ET cluster values for Run 2 RoIs.
Definition: JetEnergyRoI.cxx:85
ROIB::JetEnergyRoI::update
void update()
Definition: JetEnergyRoI.cxx:26
ROIB::JetEnergyRoI::energyX
unsigned int energyX() const
Method returning Ex, Ey, and Esum.
Definition: JetEnergyRoI.cxx:103
ROIB::JetEnergyRoI::jetRoIVersion
unsigned int jetRoIVersion() const
Jet RoI version (Run 1 or Run 2)
Definition: JetEnergyRoI.cxx:36
ROIB::JetEnergyRoI::m_roIWord
uint32_t m_roIWord
Definition: JetEnergyRoI.h:59
ROIB::JetEnergyRoI::energyY
unsigned int energyY() const
Definition: JetEnergyRoI.cxx:111
ROIB::JetEnergyRoI
Definition: JetEnergyRoI.h:20
ROIB
Namespace of the LVL1 RoIB simulation.
Definition: ILvl1ResultAccessTool.h:19
ROIB::JetEnergyRoI::energySum
unsigned int energySum() const
Definition: JetEnergyRoI.cxx:119
ROIB::JetEnergyRoI::thresholds
std::vector< unsigned int > thresholds() const
Method returning the list of passed thresholds.
Definition: JetEnergyRoI.cxx:73
ROIB::JetEnergyRoI::roIType
unsigned int roIType() const
Method returning the RoI type (jet, energy, jet-Et)
Definition: JetEnergyRoI.cxx:45
ROIB::JetEnergyRoI::roIWord
uint32_t roIWord() const
Method returning the RoI word.
Definition: JetEnergyRoI.cxx:32
ROIB::JetEnergyRoI::etSmall
unsigned int etSmall() const
Definition: JetEnergyRoI.cxx:90
ROIB::JetEnergyRoI::jetEt
unsigned int jetEt() const
Definition: JetEnergyRoI.cxx:95
ROIB::JetEnergyRoI::etSumThresholds
std::vector< unsigned int > etSumThresholds() const
Method returning patterns for passed etsum and etmiss threhsolds.
Definition: JetEnergyRoI.cxx:137
ROIB::JetEnergyRoI::~JetEnergyRoI
~JetEnergyRoI()=default
ROIB::JetEnergyRoI::electronicsID
unsigned int electronicsID() const
Method returning electronics address.
Definition: JetEnergyRoI.cxx:65
ROIB::JetEnergyRoI::JetEnergyRoI
JetEnergyRoI()
Definition: JetEnergyRoI.cxx:21