ATLAS Offline Software
JetET_ROI.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: JetET_ROI.h,v 1.4 2008-05-08 15:00:11 krasznaa Exp $
8 #ifndef ANALYSISTRIGGEREVENT_JETET_ROI_H
9 #define ANALYSISTRIGGEREVENT_JETET_ROI_H
10 
11 // STL/System include(s):
12 #include <string>
13 #include <vector>
14 #include <inttypes.h>
15 
25 class JetET_ROI {
26 
27 public:
33  : m_roiWord( 0 ), m_thrPattern( 0 ), m_thresholds( 0 ) {}
35  virtual ~JetET_ROI() {}
36 
38  typedef std::vector< std::string > thresholds_type;
39 
41  uint32_t getROIWord() const { return m_roiWord; }
43  uint32_t getThrPattern() const { return m_thrPattern; }
44 
46  const thresholds_type& getThresholds() const { return m_thresholds; }
47 
49  void addThreshold( thresholds_type::value_type thr ) { m_thresholds.push_back( thr ); }
50 
51 private:
55 
56 }; // class JetET_ROI
57 
58 #endif // ANALYSISTRIGGEREVENT_JETET_ROI_H
JetET_ROI::getROIWord
uint32_t getROIWord() const
Return the RoI word produced by the L1Calo hardware.
Definition: JetET_ROI.h:41
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
JetET_ROI::JetET_ROI
JetET_ROI(uint32_t roiWord, uint32_t thrPattern)
Constructor used when creating the object from RoIBResult data.
Definition: JetET_ROI.h:29
JetET_ROI::getThrPattern
uint32_t getThrPattern() const
Return the bit-pattern describing the passed thresholds.
Definition: JetET_ROI.h:43
JetET_ROI
Energy-Sum RoI class for analysis.
Definition: JetET_ROI.h:25
JetET_ROI::~JetET_ROI
virtual ~JetET_ROI()
Destructor.
Definition: JetET_ROI.h:35
xAOD::roiWord
roiWord
Definition: TrigMissingET_v1.cxx:36
JetET_ROI::addThreshold
void addThreshold(thresholds_type::value_type thr)
Add the name of a threshold that this RoI passed.
Definition: JetET_ROI.h:49
JetET_ROI::JetET_ROI
JetET_ROI()
Default constructor (for persistency purposes)
Definition: JetET_ROI.h:32
JetET_ROI::thresholds_type
std::vector< std::string > thresholds_type
Type storing the names of the passed thresholds.
Definition: JetET_ROI.h:38
JetET_ROI::m_thresholds
thresholds_type m_thresholds
Names of the passed thresholds.
Definition: JetET_ROI.h:54
xAOD::thrPattern
thrPattern
Definition: EmTauRoI_v2.cxx:60
JetET_ROI::getThresholds
const thresholds_type & getThresholds() const
Return the names of the passed threshodlds.
Definition: JetET_ROI.h:46
JetET_ROI::m_thrPattern
uint32_t m_thrPattern
threshold bit pattern
Definition: JetET_ROI.h:53
JetET_ROI::m_roiWord
uint32_t m_roiWord
32bit encoded ROI word
Definition: JetET_ROI.h:52