ATLAS Offline Software
Loading...
Searching...
No Matches
Trigger/TrigT1/TrigT1Interfaces/TrigT1Interfaces/Range.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_RANGE_H
12#define TRIGT1INTERFACES_RANGE_H
13
14namespace LVL1 {
15
17 class Range {
18
19 public:
20 Range() ;
21 Range( double min, double max );
22 ~Range() = default;
23
24 double min() const;
25 double max() const;
27 void setRange( double min, double max );
29 bool contains( double number ) const;
30
31 private:
32 // This function makes sure m_min really is less than m_max:
33 void checkValues();
34 double m_min;
35 double m_max;
36
37 }; // class Range
38
39} // namespace LVL1
40
41#endif // TRIGT1INTERFACES_RANGE_H
bool contains(double number) const
returns true if the range contains the number (i.e.
void setRange(double min, double max)
sets range
void checkValues()
This function makes sure m_min really is less than m_max.
~Range()=default
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
std::string number(const double &d, const std::string &s)
Definition utils.cxx:186