ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
HLT::MET::GridParameters Struct Reference

Parameters describing a grid. More...

#include <PeriodicGridBase.h>

Collaboration diagram for HLT::MET::GridParameters:

Public Member Functions

bool operator!= (const GridParameters &other) const
 Check inequality with other parameter sets. More...
 
bool operator== (const GridParameters &other) const
 
GridDisplacement displacement () const
 The. More...
 

Public Attributes

double maxEta {0.}
 The maximum |eta| value. More...
 
std::size_t nEtaTowers {0}
 The number of divisions along the eta axis. More...
 
std::size_t nPhiTowers {0}
 The number of divisions along the phi axis. More...
 
bool displaceEta {false}
 Whether the grid is displaced in eta. More...
 
bool displacePhi {false}
 Whether the grid is displaced in phi. More...
 

Detailed Description

Parameters describing a grid.

How the grid divides up the detector is described mainly by the extent in eta (phi is by definition 2*pi) and the number of divisions in eta and phi. However, the grids must also support being displaced slightly in eta and phi, so these members are also required.

Definition at line 42 of file PeriodicGridBase.h.

Member Function Documentation

◆ displacement()

GridDisplacement HLT::MET::GridParameters::displacement ( ) const

The.

See also
GridDisplacement enum

Definition at line 25 of file PeriodicGridBase.cxx.

26  {
27  return static_cast<GridDisplacement>(
30  }

◆ operator!=()

Check inequality with other parameter sets.

Definition at line 11 of file PeriodicGridBase.cxx.

12  {
13  return maxEta != other.maxEta ||
14  nEtaTowers != other.nEtaTowers ||
15  nPhiTowers != other.nPhiTowers ||
16  displaceEta != other.displaceEta ||
17  displacePhi != other.displacePhi;
18  }

◆ operator==()

bool HLT::MET::GridParameters::operator== ( const GridParameters other) const

Definition at line 20 of file PeriodicGridBase.cxx.

21  {
22  return !(*this != other);
23  }

Member Data Documentation

◆ displaceEta

bool HLT::MET::GridParameters::displaceEta {false}

Whether the grid is displaced in eta.

Definition at line 51 of file PeriodicGridBase.h.

◆ displacePhi

bool HLT::MET::GridParameters::displacePhi {false}

Whether the grid is displaced in phi.

Definition at line 53 of file PeriodicGridBase.h.

◆ maxEta

double HLT::MET::GridParameters::maxEta {0.}

The maximum |eta| value.

Definition at line 45 of file PeriodicGridBase.h.

◆ nEtaTowers

std::size_t HLT::MET::GridParameters::nEtaTowers {0}

The number of divisions along the eta axis.

Definition at line 47 of file PeriodicGridBase.h.

◆ nPhiTowers

std::size_t HLT::MET::GridParameters::nPhiTowers {0}

The number of divisions along the phi axis.

Definition at line 49 of file PeriodicGridBase.h.


The documentation for this struct was generated from the following files:
HLT::MET::EtaDisplaced
@ EtaDisplaced
The grid is shifted by half a tower width in eta.
Definition: PeriodicGridBase.h:27
HLT::MET::GridParameters::nEtaTowers
std::size_t nEtaTowers
The number of divisions along the eta axis.
Definition: PeriodicGridBase.h:47
HLT::MET::GridParameters::displacePhi
bool displacePhi
Whether the grid is displaced in phi.
Definition: PeriodicGridBase.h:53
HLT::MET::PhiDisplaced
@ PhiDisplaced
The grid is shifted by half a tower width in phi.
Definition: PeriodicGridBase.h:29
HLT::MET::NoDisplacement
@ NoDisplacement
The grid is not shifted.
Definition: PeriodicGridBase.h:25
HLT::MET::GridDisplacement
GridDisplacement
Enum to describe the positioning of the grid.
Definition: PeriodicGridBase.h:23
HLT::MET::GridParameters::nPhiTowers
std::size_t nPhiTowers
The number of divisions along the phi axis.
Definition: PeriodicGridBase.h:49
HLT::MET::GridParameters::displaceEta
bool displaceEta
Whether the grid is displaced in eta.
Definition: PeriodicGridBase.h:51
HLT::MET::GridParameters::maxEta
double maxEta
The maximum |eta| value.
Definition: PeriodicGridBase.h:45
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16