You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 28b4754
Browse filesBrowse the repository at this point in the historyBrowse files
[TF3] Improve digit efficiency in stepping (#15804)
* Improve digit efficiency in stepping
* Switch on stepping
* Implement Mario and Giorgio comments
* Please consider the following formatting changes
---------
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
Copy file name to clipboardExpand all lines: Detectors/Upgrades/ALICE3/IOTOF/simulation/include/IOTOFSimulation/DPLDigitizerParam.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ struct DPLDigitizerParam : public o2::conf::ConfigurableParamHelper<DPLDigitizer
34
34
///< The efficiency map is currently available at /alice/cern.ch/user/g/glucia/ALICE3/IOTOF/pixelEfficiency/PixelEfficiencyMap_TH2.root. FIXME to be removed once switch to CCDBFetcher
35
35
int chargeThreshold = 100; ///< charge threshold in Nelectrons
36
36
int minChargeToAccount = 7; ///< minimum charge contribution to account
37
-
int nSimSteps = 1; ///< number of steps in response simulation
37
+
int nSimSteps = 10;///< number of steps in response simulation
38
38
float energyToNElectrons = 1. / 3.6e-9; // conversion of eloss to Nelectrons
39
39
int responseMatrixSize = 1; ///< size of the response matrix (odd number)
// Step does not contribute if it is in the passive area
259
+
if (!sSegmentation->localToDetector(pixelCurrentPosLocal.X(), pixelCurrentPosLocal.Z(), row, col, subdetectorID)) {
260
+
LOG(debug) << "Step is in passive area: (" << pixelCurrentPosLocal.X() << ", " << pixelCurrentPosLocal.Z() << ") is outside the active area of chip " << subdetectorID;
261
+
pixelCurrentPosLocal += stepVector;
262
+
continue;
263
+
}
264
+
265
+
// The step has reached another pixel, compute mean hit segment positions
266
+
// for pixel efficiency evaluation and reset the start position for the next pixel
0 commit comments