ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
EtaModule Class Reference

#include <WaferTree.h>

Inheritance diagram for EtaModule:
Collaboration diagram for EtaModule:

Public Member Functions

bool add (int eta, int phi, int side, Wafer &wafer)
 
PhiModuleoperator[] (int eta)
 
int nEtaModules () const
 

Public Attributes

keys
 STL member. More...
 
elements
 STL member. More...
 

Detailed Description

Definition at line 50 of file WaferTree.h.

Member Function Documentation

◆ add()

bool EtaModule::add ( int  eta,
int  phi,
int  side,
Wafer wafer 
)

Definition at line 33 of file WaferTree.cxx.

33  {
34  if (count(eta) == 0) {
35  insert(pair<int, PhiModule>(eta, PhiModule()));
36  }
37  if (!(*this)[eta].add(phi, side, wafer)) {
38  errmsg << "; eta = " << eta;
39  return false;
40  }
41  return true;
42 }

◆ nEtaModules()

int EtaModule::nEtaModules ( ) const
inline

Definition at line 54 of file WaferTree.h.

54 {return size();}

◆ operator[]()

PhiModule& EtaModule::operator[] ( int  eta)
inline

Definition at line 53 of file WaferTree.h.

53 {return at(eta);}

Member Data Documentation

◆ elements

T std::map< K, T >::elements
inherited

STL member.

◆ keys

K std::map< K, T >::keys
inherited

STL member.


The documentation for this class was generated from the following files:
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:67
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
XMLtoHeader.count
count
Definition: XMLtoHeader.py:85
TRT::Hit::side
@ side
Definition: HitInfo.h:83
TrigJetMonitorAlgorithm.errmsg
errmsg
Definition: TrigJetMonitorAlgorithm.py:90
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
PhiModule
Definition: WaferTree.h:43
EtaModule::add
bool add(int eta, int phi, int side, Wafer &wafer)
Definition: WaferTree.cxx:33