ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1Interfaces
TrigT1Interfaces
PhiRange.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
Range.h - description
6
-------------------
7
begin : 28/02/2002
8
email : e.moyse@qmul.ac.uk
9
***************************************************************************/
10
11
#ifndef TRIGT1INTERFACES_PHIRANGE_H
12
#define TRIGT1INTERFACES_PHIRANGE_H
13
14
namespace
LVL1
{
15
17
class
PhiRange
{
18
19
public
:
20
PhiRange
();
21
PhiRange
(
double
min
,
double
max
);
22
~PhiRange
() =
default
;
23
24
double
min
()
const
;
25
double
max
()
const
;
26
28
void
setRange
(
double
min
,
double
max
);
30
bool
contains
(
double
number
)
const
;
33
double
centre
()
const
;
34
35
private
:
37
void
checkValues
();
38
39
double
m_min
;
40
double
m_max
;
41
42
};
// class PhiRange
43
44
}
// namespace LVL1
45
46
#endif
// TRIGT1INTERFACES_PHIRANGE_H
LVL1::PhiRange::PhiRange
PhiRange()
Definition
PhiRange.cxx:19
LVL1::PhiRange::m_max
double m_max
Definition
PhiRange.h:40
LVL1::PhiRange::min
double min() const
Definition
PhiRange.cxx:30
LVL1::PhiRange::checkValues
void checkValues()
This function makes sure m_min really is less than m_max.
Definition
PhiRange.cxx:63
LVL1::PhiRange::contains
bool contains(double number) const
returns true if the range contains the number (i.e.
Definition
PhiRange.cxx:50
LVL1::PhiRange::setRange
void setRange(double min, double max)
sets range
Definition
PhiRange.cxx:39
LVL1::PhiRange::max
double max() const
Definition
PhiRange.cxx:34
LVL1::PhiRange::m_min
double m_min
Definition
PhiRange.h:39
LVL1::PhiRange::~PhiRange
~PhiRange()=default
LVL1::PhiRange::centre
double centre() const
returns the centre of the two ranges.
Definition
PhiRange.cxx:93
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition
IZdcDataAccess.h:13
number
std::string number(const double &d, const std::string &s)
Definition
utils.cxx:186
Generated on
for ATLAS Offline Software by
1.17.0