ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
AnalysisTrigger
AnalysisTriggerEvent
AnalysisTriggerEvent
JetET_ROI.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2026 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
:
29
JetET_ROI
( uint32_t roiWord, uint32_t thrPattern )
30
:
m_roiWord
( roiWord ),
m_thrPattern
( thrPattern ),
m_thresholds
( 0 ) {}
31
32
JetET_ROI
()
33
:
m_roiWord
( 0 ),
m_thrPattern
( 0 ),
m_thresholds
( 0 ) {}
34
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
(
const
thresholds_type::value_type & thr ) {
m_thresholds
.push_back( thr ); }
50
51
private
:
52
uint32_t
m_roiWord
;
53
uint32_t
m_thrPattern
;
54
thresholds_type
m_thresholds
;
55
56
};
// class JetET_ROI
57
58
#endif
// ANALYSISTRIGGEREVENT_JETET_ROI_H
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::~JetET_ROI
virtual ~JetET_ROI()
Destructor.
Definition
JetET_ROI.h:35
JetET_ROI::JetET_ROI
JetET_ROI()
Default constructor (for persistency purposes).
Definition
JetET_ROI.h:32
JetET_ROI::getThresholds
const thresholds_type & getThresholds() const
Return the names of the passed threshodlds.
Definition
JetET_ROI.h:46
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
JetET_ROI::m_roiWord
uint32_t m_roiWord
32bit encoded ROI word
Definition
JetET_ROI.h:52
JetET_ROI::getThrPattern
uint32_t getThrPattern() const
Return the bit-pattern describing the passed thresholds.
Definition
JetET_ROI.h:43
JetET_ROI::getROIWord
uint32_t getROIWord() const
Return the RoI word produced by the L1Calo hardware.
Definition
JetET_ROI.h:41
JetET_ROI::m_thrPattern
uint32_t m_thrPattern
threshold bit pattern
Definition
JetET_ROI.h:53
JetET_ROI::addThreshold
void addThreshold(const thresholds_type::value_type &thr)
Add the name of a threshold that this RoI passed.
Definition
JetET_ROI.h:49
Generated on
for ATLAS Offline Software by
1.17.0