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

#include <G4SensitiveVolumeList.hh>

Public Member Functions

 G4SensitiveVolumeList ()
 
 G4SensitiveVolumeList (const G4SensitiveVolumeList &right)
 
 ~G4SensitiveVolumeList ()
 
G4SensitiveVolumeListoperator= (const G4SensitiveVolumeList &right)
 
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 54 of file G4SensitiveVolumeList.hh.

Constructor & Destructor Documentation

◆ G4SensitiveVolumeList() [1/2]

G4SensitiveVolumeList::G4SensitiveVolumeList ( )

Definition at line 39 of file G4SensitiveVolumeList.cc.

39{}

◆ G4SensitiveVolumeList() [2/2]

G4SensitiveVolumeList::G4SensitiveVolumeList ( const G4SensitiveVolumeList right)

Definition at line 41 of file G4SensitiveVolumeList.cc.

42{
43 thePhysicalVolumeList = right.thePhysicalVolumeList;
44 theLogicalVolumeList = right.theLogicalVolumeList;
45}

◆ ~G4SensitiveVolumeList()

G4SensitiveVolumeList::~G4SensitiveVolumeList ( )

Definition at line 48 of file G4SensitiveVolumeList.cc.

48{}

Member Function Documentation

◆ CheckLV()

G4bool G4SensitiveVolumeList::CheckLV ( const G4LogicalVolume lvp) const

Definition at line 83 of file G4SensitiveVolumeList.cc.

84{
85 for(auto lv : theLogicalVolumeList)
86 {
87 if(lv == lvp)
88 return true;
89 }
90 return false;
91}

Referenced by G4VReadOutGeometry::CheckROVolume().

◆ CheckPV()

G4bool G4SensitiveVolumeList::CheckPV ( const G4VPhysicalVolume pvp) const

Definition at line 73 of file G4SensitiveVolumeList.cc.

74{
75 for(auto pv : thePhysicalVolumeList)
76 {
77 if(pv == pvp)
78 return true;
79 }
80 return false;
81}

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 66 of file G4SensitiveVolumeList.cc.

68{
69 return (this != (G4SensitiveVolumeList*) &right);
70}

◆ operator=()

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

Definition at line 51 of file G4SensitiveVolumeList.cc.

53{
54 thePhysicalVolumeList = right.thePhysicalVolumeList;
55 theLogicalVolumeList = right.theLogicalVolumeList;
56 return *this;
57}

◆ operator==()

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

Definition at line 60 of file G4SensitiveVolumeList.cc.

62{
63 return (this == (G4SensitiveVolumeList*) &right);
64}

◆ 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: