Skip to content

Commit

Permalink
remove prints
Browse files Browse the repository at this point in the history
  • Loading branch information
lobis committed May 10, 2024
1 parent 3914ee6 commit 2040404
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/TRestDetectorElectronDiffusionProcess.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,8 @@ TRestEvent* TRestDetectorElectronDiffusionProcess::ProcessEvent(TRestEvent* inpu
Double_t fanoFactor = fFano;
if (fPoissonElectronExcitation) {
if (fUseFanoFactor) {
RESTInfo << "using fano factor " << fanoFactor << RESTendl;
numberOfElectrons = fRandom->Poisson(energy * fanoFactor * REST_Units::eV / fWValue);
} else {
RESTInfo << "not using fano factor " << RESTendl;
numberOfElectrons = fRandom->Poisson(energy * REST_Units::eV / fWValue);
}
} else {
Expand Down

0 comments on commit 2040404

Please sign in to comment.