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

#include <WaferTree.h>

Inheritance diagram for LayerDisk:
Collaboration diagram for LayerDisk:

Public Member Functions

bool add (int ld, int eta, int phi, int side, Wafer &wafer)
 
EtaModuleoperator[] (int ld)
 
int nLayers () const
 

Public Attributes

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

Detailed Description

Definition at line 57 of file WaferTree.h.

Member Function Documentation

◆ add()

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

Definition at line 44 of file WaferTree.cxx.

44  {
45  if (count(ld) == 0) {
46  insert(pair<int, EtaModule>(ld, EtaModule()));
47  }
48  if (!(*this)[ld].add(eta, phi, side, wafer)) {
49  errmsg << "; ld = " << ld;
50  return false;
51  }
52  return true;
53 }

◆ nLayers()

int LayerDisk::nLayers ( ) const
inline

Definition at line 61 of file WaferTree.h.

61 {return size();}

◆ operator[]()

EtaModule& LayerDisk::operator[] ( int  ld)
inline

Definition at line 60 of file WaferTree.h.

60 {return at(ld);}

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
EtaModule
Definition: WaferTree.h:50
LayerDisk::add
bool add(int ld, int eta, int phi, int side, Wafer &wafer)
Definition: WaferTree.cxx:44
geometry_dat_to_json.ld
ld
Definition: geometry_dat_to_json.py:32