Geant4 11.1.1
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 ()=default
 
void Reset ()
 
void FullyReset ()
 
void Enlarge (const G4int nv)
 
std::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 ( )
default

Member Function Documentation

◆ BlockVolume()

◆ Enlarge()

◆ FullyReset()

void G4BlockingList::FullyReset ( )

Definition at line 39 of file G4BlockingList.cc.

40{
41 fBlockTagNo = 1;
42 for ( G4long i=G4long(fBlockingList.size()-1); i>=0; --i )
43 {
44 fBlockingList[i] = 0;
45 }
46}
long G4long
Definition: G4Types.hh:87

◆ IsBlocked()

◆ Length()

std::size_t G4BlockingList::Length ( ) const

◆ Reset()


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