Geant4  10.02.p03
G4BlockingList Class Reference

#include <G4BlockingList.hh>

Collaboration diagram for G4BlockingList:

Public Member Functions

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

Private Attributes

G4int fBlockTagNo
 
G4int fStride
 
std::vector< G4intfBlockingList
 

Detailed Description

Definition at line 58 of file G4BlockingList.hh.

Constructor & Destructor Documentation

◆ G4BlockingList()

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

Definition at line 36 of file G4BlockingList.cc.

37  : fBlockTagNo(1), fStride(stride), fBlockingList(maxDefault,0)
38 {
39 }
std::vector< G4int > fBlockingList

◆ ~G4BlockingList()

G4BlockingList::~G4BlockingList ( )

Definition at line 43 of file G4BlockingList.cc.

44 {
45 }

Member Function Documentation

◆ BlockVolume()

void G4BlockingList::BlockVolume ( const G4int  v)
Here is the caller graph for this function:

◆ Enlarge()

void G4BlockingList::Enlarge ( const G4int  nv)
Here is the caller graph for this function:

◆ FullyReset()

void G4BlockingList::FullyReset ( )

Definition at line 49 of file G4BlockingList.cc.

50 {
51  fBlockTagNo = 1;
52  for ( G4int i=fBlockingList.size()-1; i>=0; i-- )
53  {
54  fBlockingList[i] = 0;
55  }
56 }
int G4int
Definition: G4Types.hh:78
std::vector< G4int > fBlockingList

◆ IsBlocked()

G4bool G4BlockingList::IsBlocked ( const G4int  v) const
Here is the caller graph for this function:

◆ Length()

G4int G4BlockingList::Length ( ) const

◆ Reset()

void G4BlockingList::Reset ( )
Here is the caller graph for this function:

Member Data Documentation

◆ fBlockingList

std::vector<G4int> G4BlockingList::fBlockingList
private

Definition at line 98 of file G4BlockingList.hh.

◆ fBlockTagNo

G4int G4BlockingList::fBlockTagNo
private

Definition at line 95 of file G4BlockingList.hh.

◆ fStride

G4int G4BlockingList::fStride
private

Definition at line 95 of file G4BlockingList.hh.


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