ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1Interfaces
TrigT1Interfaces
CoordinateRange.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
/*
3
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
4
*/
5
/***************************************************************************
6
CoordinateRange.h - description
7
-------------------
8
begin : 28/02/2002
9
email : e.moyse@qmul.ac.uk
10
***************************************************************************/
11
12
13
#ifndef TRIGT1INTERFACES_COORDINATERANGE_H
14
#define TRIGT1INTERFACES_COORDINATERANGE_H
15
16
// Local include(s):
17
#include "
TrigT1Interfaces/Coordinate.h
"
18
#include "
TrigT1Interfaces/Range.h
"
19
#include "
TrigT1Interfaces/PhiRange.h
"
20
21
namespace
LVL1
{
22
31
class
CoordinateRange
:
public
Coordinate
{
32
public
:
33
CoordinateRange
(
double
phiMin,
double
phiMax,
double
etaMin,
double
etaMax);
34
CoordinateRange
();
35
virtual
~CoordinateRange
() =
default
;
36
37
void
setRanges
(
double
phiMin,
double
phiMax,
double
etaMin,
double
etaMax);
38
PhiRange
phiRange
()
const
;
39
Range
etaRange
()
const
;
41
bool
contains
(
Coordinate
&
coord
)
const
;
42
43
private
:
45
void
setCentre
();
46
47
PhiRange
m_phiRange
;
48
Range
m_etaRange
;
49
50
};
// class CoordinateRange
51
52
}
// namespace LVL1
53
54
#endif
// TRIGT1INTERFACES_COORDINATERANGE_H
coord
double coord
Type of coordination system.
Definition
JetVoronoiDiagramHelpers.h:43
PhiRange.h
Coordinate.h
Range.h
LVL1::CoordinateRange::m_etaRange
Range m_etaRange
Definition
CoordinateRange.h:48
LVL1::CoordinateRange::etaRange
Range etaRange() const
Definition
CoordinateRange.cxx:37
LVL1::CoordinateRange::m_phiRange
PhiRange m_phiRange
Definition
CoordinateRange.h:47
LVL1::CoordinateRange::~CoordinateRange
virtual ~CoordinateRange()=default
LVL1::CoordinateRange::setRanges
void setRanges(double phiMin, double phiMax, double etaMin, double etaMax)
change coords of an existing CoordinateRange object
Definition
CoordinateRange.cxx:26
LVL1::CoordinateRange::setCentre
void setCentre()
calculates the centre of the ranges and sets the phi,eta coords to that
Definition
CoordinateRange.cxx:46
LVL1::CoordinateRange::CoordinateRange
CoordinateRange(double phiMin, double phiMax, double etaMin, double etaMax)
Definition
CoordinateRange.cxx:15
LVL1::CoordinateRange::phiRange
PhiRange phiRange() const
Definition
CoordinateRange.cxx:35
LVL1::CoordinateRange::contains
bool contains(Coordinate &coord) const
returns true if the coordinate falls inside the coordinate range
Definition
CoordinateRange.cxx:40
LVL1::CoordinateRange::CoordinateRange
CoordinateRange()
Definition
CoordinateRange.cxx:22
LVL1::Coordinate::Coordinate
Coordinate(double phi, double eta)
Definition
Coordinate.cxx:19
LVL1::PhiRange
Range class declaration.
Definition
PhiRange.h:17
LVL1::Range
Range class declaration.
Definition
Trigger/TrigT1/TrigT1Interfaces/TrigT1Interfaces/Range.h:17
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition
IZdcDataAccess.h:13
Generated on
for ATLAS Offline Software by
1.17.0