CMS 3D CMS Logo

VisSoMaterialDetails::less Struct Reference

#include <VisGeant4/VisG4Volumes/interface/VisG4Details.h>

List of all members.

Public Member Functions

bool operator() (const VisSoMaterialDetails &x, const VisSoMaterialDetails &y)


Detailed Description

Definition at line 130 of file VisG4Details.h.


Member Function Documentation

bool VisSoMaterialDetails::less::operator() ( const VisSoMaterialDetails x,
const VisSoMaterialDetails y 
)

Definition at line 219 of file VisG4Details.cc.

References VisSoMaterialDetails::m_g4MaterialDetails, VisSoMaterialDetails::m_pathDetails, VisSoMaterialDetails::m_pvDetails, and VisSoMaterialDetails::m_repDetails.

00220 {       
00221     if (x.m_repDetails == y.m_repDetails)
00222         if (x.m_pathDetails == y.m_pathDetails)
00223             if (x.m_g4MaterialDetails == y.m_g4MaterialDetails)
00224                 return x.m_pvDetails < y.m_pvDetails;
00225             else
00226                 return x.m_g4MaterialDetails < y.m_g4MaterialDetails;
00227         else
00228             return x.m_pathDetails < y.m_pathDetails;
00229     else
00230         return x.m_repDetails < y.m_repDetails;
00231 }


The documentation for this struct was generated from the following files:
Generated on Tue Jun 9 18:35:39 2009 for CMSSW by  doxygen 1.5.4