Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4SensitiveVolumeList Class Reference

#include <G4SensitiveVolumeList.hh>

Public Member Functions

 G4SensitiveVolumeList ()
 
 G4SensitiveVolumeList (const G4SensitiveVolumeList &right)
 
 ~G4SensitiveVolumeList ()
 
G4SensitiveVolumeListoperator= (const G4SensitiveVolumeList &right)
 
G4int operator== (const G4SensitiveVolumeList &right) const
 
G4int 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.

Constructor & Destructor Documentation

G4SensitiveVolumeList::G4SensitiveVolumeList ( )

Definition at line 40 of file G4SensitiveVolumeList.cc.

41  {
42  }
G4SensitiveVolumeList::G4SensitiveVolumeList ( const G4SensitiveVolumeList right)

Definition at line 44 of file G4SensitiveVolumeList.cc.

45  {
46  thePhysicalVolumeList = right.thePhysicalVolumeList;
47  theLogicalVolumeList = right.theLogicalVolumeList;
48  }
G4SensitiveVolumeList::~G4SensitiveVolumeList ( )

Definition at line 52 of file G4SensitiveVolumeList.cc.

53  {
54  }

Member Function Documentation

G4bool G4SensitiveVolumeList::CheckLV ( const G4LogicalVolume lvp) const

Definition at line 88 of file G4SensitiveVolumeList.cc.

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

Here is the caller graph for this function:

G4bool G4SensitiveVolumeList::CheckPV ( const G4VPhysicalVolume pvp) const

Definition at line 80 of file G4SensitiveVolumeList.cc.

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

Here is the caller graph for this function:

const std::vector<G4LogicalVolume*>& G4SensitiveVolumeList::GetTheLogicalVolumeList ( ) const
const std::vector<G4VPhysicalVolume*>& G4SensitiveVolumeList::GetThePhysicalVolumeList ( ) const
G4int G4SensitiveVolumeList::operator!= ( const G4SensitiveVolumeList right) const

Definition at line 72 of file G4SensitiveVolumeList.cc.

73  {
74  return (this != (G4SensitiveVolumeList *) &right);
75  }
G4SensitiveVolumeList & G4SensitiveVolumeList::operator= ( const G4SensitiveVolumeList right)

Definition at line 58 of file G4SensitiveVolumeList.cc.

59  {
60  thePhysicalVolumeList = right.thePhysicalVolumeList;
61  theLogicalVolumeList = right.theLogicalVolumeList;
62  return *this;
63  }
G4int G4SensitiveVolumeList::operator== ( const G4SensitiveVolumeList right) const

Definition at line 67 of file G4SensitiveVolumeList.cc.

68  {
69  return (this == (G4SensitiveVolumeList *) &right);
70  }
void G4SensitiveVolumeList::SetTheLogicalVolumeList ( const std::vector< G4LogicalVolume * >  value)
void G4SensitiveVolumeList::SetThePhysicalVolumeList ( const std::vector< G4VPhysicalVolume * >  value)

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