ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigEvent
TrigSteeringEvent
TrigSteeringEvent
TrigRoiDescriptor.h
Go to the documentation of this file.
1
// emacs: this is -*- c++ -*-
2
/*
3
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
4
*/
5
//
6
// @file TrigRoiDescriptor.h
7
//
8
// RoiDescriptor class - includes constructors in preparation
9
// for enforcement of correct roi sizes
10
//
11
// @author sutt@cern.ch
12
//
13
14
19
20
#ifndef TRIGSTEERINGEVENT_TRIGROIDESCRIPTOR_H
21
#define TRIGSTEERINGEVENT_TRIGROIDESCRIPTOR_H
22
23
#include <stdint.h>
24
#include <vector>
25
#include <iosfwd>
26
27
#include "
RoiDescriptor/RoiDescriptor.h
"
28
29
#include "
xAODCore/CLASS_DEF.h
"
30
31
47
48
class
TrigRoiDescriptor
:
public
RoiDescriptor
{
49
50
public
:
51
56
TrigRoiDescriptor
(
bool
fullscan=
false
);
57
70
TrigRoiDescriptor
(
double
eta
,
double
etaMinus
,
double
etaPlus
,
71
double
phi
,
double
phiMinus
,
double
phiPlus
,
72
double
zed
=0,
double
zedMinus
=-
s_zedWidthDefault
,
double
zedPlus
=
s_zedWidthDefault
);
73
88
TrigRoiDescriptor
(
unsigned
int
l1id,
unsigned
int
id
,
89
double
eta
,
double
etaMinus
,
double
etaPlus
,
90
double
phi
,
double
phiMinus
,
double
phiPlus
,
91
double
zed
=0,
double
zedMinus
=-
s_zedWidthDefault
,
double
zedPlus
=
s_zedWidthDefault
);
92
108
TrigRoiDescriptor
(
unsigned
int
roiWord
,
unsigned
int
l1id,
unsigned
int
id
,
109
double
eta
,
double
etaMinus
,
double
etaPlus
,
110
double
phi
,
double
phiMinus
,
double
phiPlus
,
111
double
zed
=0,
double
zedMinus
=-
s_zedWidthDefault
,
double
zedPlus
=
s_zedWidthDefault
);
112
113
114
TrigRoiDescriptor
(
const
IRoiDescriptor
& roi );
115
116
TrigRoiDescriptor
(
const
TrigRoiDescriptor
& roi );
117
118
TrigRoiDescriptor
&
operator=
(
const
IRoiDescriptor
& roi );
119
120
TrigRoiDescriptor
&
operator=
(
const
TrigRoiDescriptor
& roi );
121
122
TrigRoiDescriptor
&
operator=
(
TrigRoiDescriptor
&& roi ) =
default
;
123
124
// Destructor
125
virtual
~TrigRoiDescriptor
();
126
127
virtual
unsigned
int
roiId
()
const
override final {
return
m_roiId
; }
128
virtual
unsigned
int
l1Id
()
const
override final {
return
m_l1Id
; }
129
virtual
unsigned
int
roiWord
()
const
override final {
return
m_roiWord
; }
130
131
virtual
operator
std::string()
const override
;
132
133
protected
:
134
135
unsigned
int
m_l1Id
;
136
unsigned
int
m_roiId
;
137
unsigned
int
m_roiWord
;
138
139
};
140
141
142
std::string
str
(
const
TrigRoiDescriptor
& d );
//<! printing helper
143
std::ostream&
operator<<
( std::ostream& m,
const
TrigRoiDescriptor
& d );
//<! printing helper (wraps above)
144
145
146
CLASS_DEF
(
TrigRoiDescriptor
, 6455, 1)
147
148
#endif
// TRIGROIDESCRIPTOR_H
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
CLASS_DEF.h
File providing the different SG_BASE macros.
RoiDescriptor.h
operator<<
std::ostream & operator<<(std::ostream &m, const TrigRoiDescriptor &d)
Definition
TrigRoiDescriptor.cxx:116
TrigRoiDescriptor
Athena::TPCnvVers::Current TrigRoiDescriptor
Definition
TrigSteeringEventTPCnv.cxx:68
IRoiDescriptor::IRoiDescriptor
IRoiDescriptor()
default constructor
Definition
IRoiDescriptor.h:35
RoiDescriptor::etaMinus
virtual double etaMinus() const override final
gets eta at zMinus
Definition
RoiDescriptor.h:117
RoiDescriptor::etaPlus
virtual double etaPlus() const override final
gets eta at zedPlus
Definition
RoiDescriptor.h:116
RoiDescriptor::zed
virtual double zed() const override final
Definition
RoiDescriptor.h:103
RoiDescriptor::RoiDescriptor
RoiDescriptor(bool fullscan=ROI)
default constructor
Definition
RoiDescriptor.cxx:41
RoiDescriptor::phi
virtual double phi() const override final
Methods to retrieve data members.
Definition
RoiDescriptor.h:101
RoiDescriptor::phiMinus
virtual double phiMinus() const override final
gets phiMinus
Definition
RoiDescriptor.h:120
RoiDescriptor::zedPlus
virtual double zedPlus() const override final
z at the most forward end of the RoI
Definition
RoiDescriptor.h:113
RoiDescriptor::zedMinus
virtual double zedMinus() const override final
z at the most backward end of the RoI
Definition
RoiDescriptor.h:114
RoiDescriptor::s_zedWidthDefault
static std::atomic< double > s_zedWidthDefault
default parameters - there may be better ways, but this will do
Definition
RoiDescriptor.h:207
RoiDescriptor::eta
virtual double eta() const override final
Definition
RoiDescriptor.h:102
RoiDescriptor::phiPlus
virtual double phiPlus() const override final
gets phiPlus
Definition
RoiDescriptor.h:119
TrigRoiDescriptor
nope - should be used for standalone also, perhaps need to protect the class def bits ifndef XAOD_ANA...
Definition
TrigRoiDescriptor.h:48
TrigRoiDescriptor::m_roiWord
unsigned int m_roiWord
lvl1 RoI word from which this RoI was initially constructed
Definition
TrigRoiDescriptor.h:137
TrigRoiDescriptor::~TrigRoiDescriptor
virtual ~TrigRoiDescriptor()
Definition
TrigRoiDescriptor.cxx:98
TrigRoiDescriptor::TrigRoiDescriptor
TrigRoiDescriptor(bool fullscan=false)
default constructor
Definition
TrigRoiDescriptor.cxx:25
TrigRoiDescriptor::roiWord
virtual unsigned int roiWord() const override final
Definition
TrigRoiDescriptor.h:129
TrigRoiDescriptor::operator=
TrigRoiDescriptor & operator=(const IRoiDescriptor &roi)
Definition
TrigRoiDescriptor.cxx:69
TrigRoiDescriptor::roiId
virtual unsigned int roiId() const override final
these quantities probably don't need to be used any more
Definition
TrigRoiDescriptor.h:127
TrigRoiDescriptor::l1Id
virtual unsigned int l1Id() const override final
Definition
TrigRoiDescriptor.h:128
TrigRoiDescriptor::m_roiId
unsigned int m_roiId
RoI number.
Definition
TrigRoiDescriptor.h:136
TrigRoiDescriptor::operator=
TrigRoiDescriptor & operator=(TrigRoiDescriptor &&roi)=default
TrigRoiDescriptor::m_l1Id
unsigned int m_l1Id
lvl1 event number
Definition
TrigRoiDescriptor.h:135
const
str
Definition
BTagTrackIpAccessor.cxx:11
Generated on
for ATLAS Offline Software by
1.17.0