Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4SensitiveVolumeList Class Reference

#include <G4SensitiveVolumeList.hh>

Public Member Functions

G4bool operator== (const G4SensitiveVolumeList &right) const
 
G4bool operator!= (const G4SensitiveVolumeList &right) const
 
G4bool CheckPV (const G4VPhysicalVolume *pvp) const
 
G4bool CheckLV (const G4LogicalVolume *lvp) const
 
const std::vector< G4VPhysicalVolume * > & GetThePhysicalVolumeList () const
 
void SetThePhysicalVolumeList (const std::vector< G4VPhysicalVolume * > value)
 
const std::vector< G4LogicalVolume * > & GetTheLogicalVolumeList () const
 
void SetTheLogicalVolumeList (const std::vector< G4LogicalVolume * > value)
 

Detailed Description

Definition at line 55 of file G4SensitiveVolumeList.hh.

Member Function Documentation

◆ CheckLV()

G4bool G4SensitiveVolumeList::CheckLV ( const G4LogicalVolume * lvp) const

Definition at line 58 of file G4SensitiveVolumeList.cc.

59{
60 for (auto lv : theLogicalVolumeList) {
61 if (lv == lvp) return true;
62 }
63 return false;
64}

Referenced by G4VReadOutGeometry::CheckROVolume().

◆ CheckPV()

G4bool G4SensitiveVolumeList::CheckPV ( const G4VPhysicalVolume * pvp) const

Definition at line 50 of file G4SensitiveVolumeList.cc.

51{
52 for (auto pv : thePhysicalVolumeList) {
53 if (pv == pvp) return true;
54 }
55 return false;
56}

Referenced by G4VReadOutGeometry::CheckROVolume().

◆ GetTheLogicalVolumeList()

const std::vector< G4LogicalVolume * > & G4SensitiveVolumeList::GetTheLogicalVolumeList ( ) const

◆ GetThePhysicalVolumeList()

const std::vector< G4VPhysicalVolume * > & G4SensitiveVolumeList::GetThePhysicalVolumeList ( ) const

◆ operator!=()

G4bool G4SensitiveVolumeList::operator!= ( const G4SensitiveVolumeList & right) const

Definition at line 44 of file G4SensitiveVolumeList.cc.

45{
46 return (this != (G4SensitiveVolumeList*)&right);
47}

◆ operator==()

G4bool G4SensitiveVolumeList::operator== ( const G4SensitiveVolumeList & right) const

Definition at line 39 of file G4SensitiveVolumeList.cc.

40{
41 return (this == (G4SensitiveVolumeList*)&right);
42}

◆ SetTheLogicalVolumeList()

void G4SensitiveVolumeList::SetTheLogicalVolumeList ( const std::vector< G4LogicalVolume * > value)

◆ SetThePhysicalVolumeList()

void G4SensitiveVolumeList::SetThePhysicalVolumeList ( const std::vector< G4VPhysicalVolume * > value)

The documentation for this class was generated from the following files: