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

#include <WaferTree.h>

Inheritance diagram for PhiModule:
Collaboration diagram for PhiModule:

Public Member Functions

bool add (int phi, int side, Wafer &wafer)
 
Sideoperator[] (int phi)
 
int nPhiModules () const
 

Public Attributes

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

Detailed Description

Definition at line 43 of file WaferTree.h.

Member Function Documentation

◆ add()

bool PhiModule::add ( int  phi,
int  side,
Wafer wafer 
)

Definition at line 22 of file WaferTree.cxx.

22  {
23  if (count(phi) == 0) {
24  insert(pair<int, Side>(phi, Side()));
25  }
26  if (!(*this)[phi].add(side, wafer)) {
27  errmsg << "; phi = " << phi;
28  return false;
29  }
30  return true;
31 }

◆ nPhiModules()

int PhiModule::nPhiModules ( ) const
inline

Definition at line 47 of file WaferTree.h.

47 {return size();}

◆ operator[]()

Side& PhiModule::operator[] ( int  phi)
inline

Definition at line 46 of file WaferTree.h.

46 {return at(phi);}

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:
ForwardTracker::Side
Side
Definition: ForwardTrackerConstants.h:13
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:67
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::add
bool add(int phi, int side, Wafer &wafer)
Definition: WaferTree.cxx:22