#include <VisGeant4/VisG4Volumes/interface/VisG4Details.h>
Public Member Functions | |
bool | operator() (const VisSoMaterialDetails &x, const VisSoMaterialDetails &y) |
Definition at line 130 of file VisG4Details.h.
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 }