Geant4 10.7.0
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.

40 {
41 }

◆ G4SensitiveVolumeList() [2/2]

G4SensitiveVolumeList::G4SensitiveVolumeList ( const G4SensitiveVolumeList right)

Definition at line 43 of file G4SensitiveVolumeList.cc.

44 {
45 thePhysicalVolumeList = right.thePhysicalVolumeList;
46 theLogicalVolumeList = right.theLogicalVolumeList;
47 }

◆ ~G4SensitiveVolumeList()

G4SensitiveVolumeList::~G4SensitiveVolumeList ( )

Definition at line 51 of file G4SensitiveVolumeList.cc.

52 {
53 }

Member Function Documentation

◆ CheckLV()

G4bool G4SensitiveVolumeList::CheckLV ( const G4LogicalVolume lvp) const

Definition at line 87 of file G4SensitiveVolumeList.cc.

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

Referenced by G4VReadOutGeometry::CheckROVolume().

◆ CheckPV()

G4bool G4SensitiveVolumeList::CheckPV ( const G4VPhysicalVolume pvp) const

Definition at line 79 of file G4SensitiveVolumeList.cc.

80 {
81 for(auto pv : thePhysicalVolumeList)
82 { if(pv==pvp) return true; }
83 return false;
84 }

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

72 {
73 return (this != (G4SensitiveVolumeList *) &right);
74 }

◆ operator=()

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

Definition at line 57 of file G4SensitiveVolumeList.cc.

58 {
59 thePhysicalVolumeList = right.thePhysicalVolumeList;
60 theLogicalVolumeList = right.theLogicalVolumeList;
61 return *this;
62 }

◆ operator==()

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

Definition at line 66 of file G4SensitiveVolumeList.cc.

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

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