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

#include <G4BlockingList.hh>

Public Member Functions

 G4BlockingList (G4int maxDefault=kBlockingListMaxDefault, G4int stride=kBlockingListStride)
 
 ~G4BlockingList ()
 
void Reset ()
 
void FullyReset ()
 
void Enlarge (const G4int nv)
 
size_t Length () const
 
void BlockVolume (const G4int v)
 
G4bool IsBlocked (const G4int v) const
 

Detailed Description

Definition at line 53 of file G4BlockingList.hh.

Constructor & Destructor Documentation

◆ G4BlockingList()

G4BlockingList::G4BlockingList ( G4int  maxDefault = kBlockingListMaxDefault,
G4int  stride = kBlockingListStride 
)

Definition at line 32 of file G4BlockingList.cc.

33 : fStride(stride), fBlockingList(maxDefault,0)
34{
35}

◆ ~G4BlockingList()

G4BlockingList::~G4BlockingList ( )

Definition at line 39 of file G4BlockingList.cc.

40{
41}

Member Function Documentation

◆ BlockVolume()

◆ Enlarge()

◆ FullyReset()

void G4BlockingList::FullyReset ( )

Definition at line 45 of file G4BlockingList.cc.

46{
47 fBlockTagNo = 1;
48 for ( G4long i=G4long(fBlockingList.size()-1); i>=0; --i )
49 {
50 fBlockingList[i] = 0;
51 }
52}
long G4long
Definition: G4Types.hh:87

◆ IsBlocked()

◆ Length()

size_t G4BlockingList::Length ( ) const

◆ Reset()


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