Loading AUTHORS.md +1 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ The following authors, in alphabetical order, have developed or contributed to A * Thomas Billoud, Université de Montréal, [tbilloud](https://gitlab.cern.ch/tbilloud) * Tobias Bisanz, CERN, [tbisanz](https://gitlab.cern.ch/tbisanz) * Bogdan-Mihail Blidaru, Heidelberg University, [mblidaru](https://gitlab.cern.ch/mblidaru) * Sebbe Blokhuizen, Stockholm University, Sioux Technologies, [SBlokhuizen](https://github.com/SBlokhuizen) * Marco Bomben, Université de Paris, [mbomben](https://gitlab.cern.ch/mbomben) * Koen van den Brandt, Nikhef, [kvandenb](https://gitlab.cern.ch/kvandenb) * Carsten Daniel Burgard, DESY, [cburgard](https://gitlab.cern.ch/cburgard) Loading etc/unittests/test_core/test_06-10_multithreading_physics_singlethr.conf +1 −1 Original line number Diff line number Diff line Loading @@ -34,4 +34,4 @@ propagate_holes = true [DefaultDigitizer] log_level = DEBUG #PASS (Event 20) [R:DefaultDigitizer:mydetector] Passed threshold: 35408.8e > 631.069e #PASS (Event 20) [R:DefaultDigitizer:mydetector] Passed threshold: 35516.9e > 560.183e etc/unittests/test_core/test_06-9_multithreading_physics.conf +1 −1 Original line number Diff line number Diff line Loading @@ -35,4 +35,4 @@ propagate_holes = true [DefaultDigitizer] log_level = DEBUG #PASS (DEBUG) (Event 20) [R:DefaultDigitizer:mydetector] Passed threshold: 35408.8e > 631.069e #PASS (DEBUG) (Event 20) [R:DefaultDigitizer:mydetector] Passed threshold: 35516.9e > 560.183e src/modules/DepositionGeant4/SensitiveDetectorActionG4.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -80,7 +80,7 @@ G4bool SensitiveDetectorActionG4::ProcessHits(G4Step* step, G4TouchableHistory*) // excitations via the Fano factor. We assume Gaussian statistics here. auto mean_charge = edep / charge_creation_energy_; allpix::normal_distribution<double> charge_fluctuation(mean_charge, std::sqrt(mean_charge * fano_factor_)); auto charge = static_cast<unsigned int>(std::max(charge_fluctuation(random_generator_), 0.)); auto charge = static_cast<unsigned int>(std::max(charge_fluctuation(random_generator_), 0.) + 0.5); const auto* userTrackInfo = dynamic_cast<TrackInfoG4*>(track->GetUserInformation()); if(userTrackInfo == nullptr) { Loading src/modules/DepositionGeant4/tests/01-deposit.conf +1 −1 Original line number Diff line number Diff line Loading @@ -26,4 +26,4 @@ depletion_voltage = 150V temperature = 293K propagate_holes = true #PASS Deposited 73176 charges in sensor of detector mydetector #PASS Deposited 73786 charges in sensor of detector mydetector Loading
AUTHORS.md +1 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ The following authors, in alphabetical order, have developed or contributed to A * Thomas Billoud, Université de Montréal, [tbilloud](https://gitlab.cern.ch/tbilloud) * Tobias Bisanz, CERN, [tbisanz](https://gitlab.cern.ch/tbisanz) * Bogdan-Mihail Blidaru, Heidelberg University, [mblidaru](https://gitlab.cern.ch/mblidaru) * Sebbe Blokhuizen, Stockholm University, Sioux Technologies, [SBlokhuizen](https://github.com/SBlokhuizen) * Marco Bomben, Université de Paris, [mbomben](https://gitlab.cern.ch/mbomben) * Koen van den Brandt, Nikhef, [kvandenb](https://gitlab.cern.ch/kvandenb) * Carsten Daniel Burgard, DESY, [cburgard](https://gitlab.cern.ch/cburgard) Loading
etc/unittests/test_core/test_06-10_multithreading_physics_singlethr.conf +1 −1 Original line number Diff line number Diff line Loading @@ -34,4 +34,4 @@ propagate_holes = true [DefaultDigitizer] log_level = DEBUG #PASS (Event 20) [R:DefaultDigitizer:mydetector] Passed threshold: 35408.8e > 631.069e #PASS (Event 20) [R:DefaultDigitizer:mydetector] Passed threshold: 35516.9e > 560.183e
etc/unittests/test_core/test_06-9_multithreading_physics.conf +1 −1 Original line number Diff line number Diff line Loading @@ -35,4 +35,4 @@ propagate_holes = true [DefaultDigitizer] log_level = DEBUG #PASS (DEBUG) (Event 20) [R:DefaultDigitizer:mydetector] Passed threshold: 35408.8e > 631.069e #PASS (DEBUG) (Event 20) [R:DefaultDigitizer:mydetector] Passed threshold: 35516.9e > 560.183e
src/modules/DepositionGeant4/SensitiveDetectorActionG4.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -80,7 +80,7 @@ G4bool SensitiveDetectorActionG4::ProcessHits(G4Step* step, G4TouchableHistory*) // excitations via the Fano factor. We assume Gaussian statistics here. auto mean_charge = edep / charge_creation_energy_; allpix::normal_distribution<double> charge_fluctuation(mean_charge, std::sqrt(mean_charge * fano_factor_)); auto charge = static_cast<unsigned int>(std::max(charge_fluctuation(random_generator_), 0.)); auto charge = static_cast<unsigned int>(std::max(charge_fluctuation(random_generator_), 0.) + 0.5); const auto* userTrackInfo = dynamic_cast<TrackInfoG4*>(track->GetUserInformation()); if(userTrackInfo == nullptr) { Loading
src/modules/DepositionGeant4/tests/01-deposit.conf +1 −1 Original line number Diff line number Diff line Loading @@ -26,4 +26,4 @@ depletion_voltage = 150V temperature = 293K propagate_holes = true #PASS Deposited 73176 charges in sensor of detector mydetector #PASS Deposited 73786 charges in sensor of detector mydetector