Fixed to state that drawing from density works.

Some debugging elements not removed.
This commit is contained in:
2024-08-12 14:20:45 +02:00
parent b57f6ff201
commit 9dda12b60a
13 changed files with 100 additions and 31 deletions
+2 -2
View File
@@ -102,7 +102,7 @@ double Particle::timeAlive() const {
}
void Particle::increaseTimeInBin(double time_s) {
time_in_bin_s_ += time_s*weight_;
time_in_bin_s_ += time_s;
}
void Particle::resetTimeInBin() {
@@ -110,7 +110,7 @@ void Particle::resetTimeInBin() {
}
double Particle::timeInBin() const {
return time_in_bin_s_;
return time_in_bin_s_*weight_;
}
long int Particle::ID() const {