|
12 | 12 | /// \file DigiParams.cxx |
13 | 13 | /// \brief Implementation of the ITS3 digitization steering params |
14 | 14 |
|
15 | | -#include <fairlogger/Logger.h> // for LOG |
| 15 | +#include "Framework/Logger.h" |
16 | 16 | #include "ITS3Simulation/DigiParams.h" |
17 | | -#include <cassert> |
18 | 17 |
|
19 | 18 | ClassImp(o2::its3::DigiParams); |
20 | 19 |
|
21 | | -using namespace o2::its3; |
| 20 | +namespace o2::its3 |
| 21 | +{ |
22 | 22 |
|
23 | | -//______________________________________________ |
24 | 23 | void DigiParams::print() const |
25 | 24 | { |
26 | 25 | // print settings |
27 | | - printf("ITS3 DigiParams settings:\n"); |
28 | | - printf("Continuous readout : %s\n", isContinuous() ? "ON" : "OFF"); |
29 | | - printf("Readout Frame Length(ns) : %f\n", getROFrameLength()); |
30 | | - printf("Strobe delay (ns) : %f\n", getStrobeDelay()); |
31 | | - printf("Strobe length (ns) : %f\n", getStrobeLength()); |
32 | | - printf("Threshold (N electrons) : %d\n", getChargeThreshold()); |
33 | | - printf("Min N electrons to account : %d\n", getMinChargeToAccount()); |
34 | | - printf("Number of charge sharing steps : %d\n", getNSimSteps()); |
35 | | - printf("ELoss to N electrons factor : %e\n", getEnergyToNElectrons()); |
36 | | - printf("Noise level per pixel : %e\n", getNoisePerPixel()); |
37 | | - printf("Charge time-response:\n"); |
| 26 | + LOGF(info, "ITS3 DigiParams settings:\n"); |
| 27 | + LOGF(info, "Continuous readout : %s\n", isContinuous() ? "ON" : "OFF"); |
| 28 | + LOGF(info, "Readout Frame Length(ns) : %f\n", getROFrameLength()); |
| 29 | + LOGF(info, "Strobe delay (ns) : %f\n", getStrobeDelay()); |
| 30 | + LOGF(info, "Strobe length (ns) : %f\n", getStrobeLength()); |
| 31 | + LOGF(info, "Threshold (N electrons) : %d\n", getChargeThreshold()); |
| 32 | + LOGF(info, "Min N electrons to account : %d\n", getMinChargeToAccount()); |
| 33 | + LOGF(info, "Number of charge sharing steps : %d\n", getNSimSteps()); |
| 34 | + LOGF(info, "ELoss to N electrons factor : %e\n", getEnergyToNElectrons()); |
| 35 | + LOGF(info, "Noise level per pixel : %e\n", getNoisePerPixel()); |
| 36 | + LOGF(info, "Charge time-response:\n"); |
38 | 37 | getSignalShape().print(); |
39 | 38 | } |
| 39 | + |
| 40 | +} // namespace o2::its3 |
0 commit comments