New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implimentation of Dual-Slope signal scaling for the Inner Pixel #24325
Implimentation of Dual-Slope signal scaling for the Inner Pixel #24325
Conversation
…e scaling of signal to be used for the inner pixel detector. A new monitoinghistogram added in the analyzer Phase2TrackerMonitorDigi
…hreshold subtraction and keeping the TDR option with a specific value of the flag
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-24325/6070 |
A new Pull Request was created by @suchandradutta (Suchandra Dutta) for master. It involves the following packages: SimTracker/SiPhase2Digitizer @cmsbuild, @civanch, @kpedro88, @mdhildreth can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
The tests are being triggered in jenkins. |
-1 Tested at: 702fda5 You can see the results of the tests here: I found follow errors while testing this PR Failed tests: RelVals
When I ran the RelVals I found an error in the following worklfows: runTheMatrix-results/20034.0_TTbar_14TeV+TTbar_14TeV_TuneCUETP8M1_2023D17_GenSimHLBeamSpotFull14+DigiFullTrigger_2023D17+RecoFullGlobal_2023D17+HARVESTFullGlobal_2023D17/step2_TTbar_14TeV+TTbar_14TeV_TuneCUETP8M1_2023D17_GenSimHLBeamSpotFull14+DigiFullTrigger_2023D17+RecoFullGlobal_2023D17+HARVESTFullGlobal_2023D17.log20434.0 step2 runTheMatrix-results/20434.0_TTbar_14TeV+TTbar_14TeV_TuneCUETP8M1_2023D19_GenSimHLBeamSpotFull14+DigiFullTrigger_2023D19+RecoFullGlobal_2023D19+HARVESTFullGlobal_2023D19/step2_TTbar_14TeV+TTbar_14TeV_TuneCUETP8M1_2023D19_GenSimHLBeamSpotFull14+DigiFullTrigger_2023D19+RecoFullGlobal_2023D19+HARVESTFullGlobal_2023D19.log21234.0 step2 runTheMatrix-results/21234.0_TTbar_14TeV+TTbar_14TeV_TuneCUETP8M1_2023D21_GenSimHLBeamSpotFull14+DigiFullTrigger_2023D21+RecoFullGlobal_2023D21+HARVESTFullGlobal_2023D21/step2_TTbar_14TeV+TTbar_14TeV_TuneCUETP8M1_2023D21_GenSimHLBeamSpotFull14+DigiFullTrigger_2023D21+RecoFullGlobal_2023D21+HARVESTFullGlobal_2023D21.log |
Comparison not run due to runTheMatrix errors (RelVals and Igprof tests were also skipped) |
|
temp_signal = std::floor(signal_in_elec / theElectronPerADC) + 1; | ||
} else { | ||
// calculate the kink point and the slope | ||
const int dualslope_param = std::min(abs(thePhase2ReadoutMode), 10); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make a named constant for magic number 10
@@ -116,7 +116,7 @@ class Phase2TrackerDigitizerAlgorithm { | |||
const float ClusterWidth; // Gaussian charge cutoff width in sigma units | |||
|
|||
//-- make_digis | |||
const bool doDigitalReadout; // Flag to decide analog or digital readout | |||
const int thePhase2ReadoutMode; // Flag to decide readout mode (digital/Analong dual slope etc.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
analong -> analog
} else { | ||
position /= width; | ||
local_mes.ClusterWidth->Fill(width); | ||
local_mes.ClusterPosition->Fill(position); | ||
for (std::vector<int>::iterator ic = charges.begin(); ic != charges.end(); ic++) local_mes.ChargeOfDigisVsWidth->Fill((*ic), width); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use range-based loop
Pull request #24325 was updated. @cmsbuild, @civanch, @kpedro88, @mdhildreth can you please check and sign again. |
please test |
1 similar comment
please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+upgrade |
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
Updating Phase2TrackerDigitizerAlgorithm with the option of dual slope scaling of signal to be used for the inner pixel detector. A new monitoring histogram added in one of the analyzers in the validation suite (Phase2TrackerMonitorDigi).
The update was present in the Phase2 tracker simulation meeting
https://indico.cern.ch/event/688845/contributions/3026531/attachments/1660515/2660028/DualSlopeCorrection_May30.pdf
NB: There will be a similar PR for the Phase2 clusterizer both these PRs should be included together
@emiglior @avartak @boudoul