ATLAS Offline Software
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 
14 namespace 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
LVL1::Range::checkValues
void checkValues()
This function makes sure m_min really is less than m_max.
Definition: Trigger/TrigT1/TrigT1Interfaces/src/Range.cxx:53
LVL1::Range::Range
Range()
Definition: Trigger/TrigT1/TrigT1Interfaces/src/Range.cxx:20
LVL1::Range::min
double min() const
Definition: Trigger/TrigT1/TrigT1Interfaces/src/Range.cxx:31
LVL1::Range::m_max
double m_max
Definition: Trigger/TrigT1/TrigT1Interfaces/TrigT1Interfaces/Range.h:45
LVL1::Range::setRange
void setRange(double min, double max)
sets range
Definition: Trigger/TrigT1/TrigT1Interfaces/src/Range.cxx:40
LVL1::Range::max
double max() const
Definition: Trigger/TrigT1/TrigT1Interfaces/src/Range.cxx:35
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
python.selection.number
number
Definition: selection.py:20
LVL1::Range::~Range
~Range()=default
Range
A Range describes the possible ranges for the field values of an ExpandedIdentifier.
Definition: DetectorDescription/Identifier/Identifier/Range.h:27
LVL1::Range::m_min
double m_min
Definition: Trigger/TrigT1/TrigT1Interfaces/TrigT1Interfaces/Range.h:44
LVL1::Range::contains
bool contains(double number) const
returns true if the range contains the number (i.e.
Definition: Trigger/TrigT1/TrigT1Interfaces/src/Range.cxx:48