Garfield++ v1r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
ParticleBank.cpp
Go to the documentation of this file.
2
3namespace Heed {
4
5void treat_particle_bank(int s_erase) {
6 mfunname("void treat_particle_bank(int s_erase)");
9
10 aln = particle_bank.get_first_node();
11 while (aln != NULL) {
12 aln->el->fly();
13 aln1 = aln->get_next_node();
14 if (s_erase == 1) particle_bank.erase(aln);
15 aln = aln1;
16 }
17}
18
19}
#define mfunname(string)
Definition: FunNameStack.h:67
AbsListNode< T > * get_next_node(void) const
Definition: AbsList.h:98
Definition: BGMesh.cpp:3
void treat_particle_bank(int s_erase)
Definition: ParticleBank.cpp:5
AbsList< ActivePtr< gparticle > > particle_bank
Definition: TrackHeed.cc:42