ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
PixelMaterialMap::Key Class Reference
Collaboration diagram for PixelMaterialMap::Key:

Public Member Functions

 Key (int layerdisk_in, int typenum_in, const std::string &volumeName_in)
 
bool operator< (const Key &rhs) const
 

Public Attributes

int layerdisk
 
int typenum
 
std::string volumeName
 

Detailed Description

Definition at line 26 of file PixelMaterialMap.h.

Constructor & Destructor Documentation

◆ Key()

PixelMaterialMap::Key::Key ( int  layerdisk_in,
int  typenum_in,
const std::string &  volumeName_in 
)

Definition at line 11 of file PixelMaterialMap.cxx.

11  :
12  layerdisk(layerdisk_in),
13  typenum(typenum_in),
14  volumeName(volumeName_in)
15 {}

Member Function Documentation

◆ operator<()

bool PixelMaterialMap::Key::operator< ( const Key rhs) const

Definition at line 17 of file PixelMaterialMap.cxx.

19 {
20  return
21  ((volumeName < rhs.volumeName) ||
22  (volumeName == rhs.volumeName && layerdisk < rhs.layerdisk) ||
23  (volumeName == rhs.volumeName && layerdisk == rhs.layerdisk && typenum < rhs.typenum));
24 }

Member Data Documentation

◆ layerdisk

int PixelMaterialMap::Key::layerdisk

Definition at line 30 of file PixelMaterialMap.h.

◆ typenum

int PixelMaterialMap::Key::typenum

Definition at line 31 of file PixelMaterialMap.h.

◆ volumeName

std::string PixelMaterialMap::Key::volumeName

Definition at line 32 of file PixelMaterialMap.h.


The documentation for this class was generated from the following files:
PixelMaterialMap::Key::typenum
int typenum
Definition: PixelMaterialMap.h:31
PixelMaterialMap::Key::volumeName
std::string volumeName
Definition: PixelMaterialMap.h:32
PixelMaterialMap::Key::layerdisk
int layerdisk
Definition: PixelMaterialMap.h:30