CMS 3D CMS Logo

VisG4PVDetails Class Reference

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

List of all members.

Public Member Functions

bool operator< (const VisG4PVDetails &t) const
bool operator== (const VisG4PVDetails &t) const
bool sensitive () const
 VisG4PVDetails (const VisG4PVDetails &t)
 VisG4PVDetails (const G4VPhysicalVolume *pv)
 VisG4PVDetails (void)

Private Attributes

bool m_sensitive

Classes

struct  less


Detailed Description

Definition at line 71 of file VisG4Details.h.


Constructor & Destructor Documentation

VisG4PVDetails::VisG4PVDetails ( void   ) 

Definition at line 116 of file VisG4Details.cc.

00117     :m_sensitive (false)
00118 {
00119 }

VisG4PVDetails::VisG4PVDetails ( const G4VPhysicalVolume *  pv  ) 

Definition at line 126 of file VisG4Details.cc.

00127     :m_sensitive (pv->GetLogicalVolume ()->GetSensitiveDetector ())
00128 {
00129 }

VisG4PVDetails::VisG4PVDetails ( const VisG4PVDetails t  ) 

Definition at line 121 of file VisG4Details.cc.

00122     :m_sensitive (t.sensitive ())
00123 {    
00124 }


Member Function Documentation

bool VisG4PVDetails::operator< ( const VisG4PVDetails t  )  const

Definition at line 152 of file VisG4Details.cc.

00153 {
00154     less comparison;
00155     return comparison (*this, t);    
00156 }

bool VisG4PVDetails::operator== ( const VisG4PVDetails t  )  const

Definition at line 145 of file VisG4Details.cc.

00146 {
00147     less comparison;
00148     return !(comparison (*this, t) || comparison (t, *this));    
00149 }

bool VisG4PVDetails::sensitive ( void   )  const

Definition at line 132 of file VisG4Details.cc.

References m_sensitive.

Referenced by VisG4PVDetails::less::operator()().

00133 {
00134     return m_sensitive;
00135 }


Member Data Documentation

bool VisG4PVDetails::m_sensitive [private]

Definition at line 89 of file VisG4Details.h.

Referenced by sensitive().


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