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
Pixel digitizer cleanup #5912
Pixel digitizer cleanup #5912
Conversation
A new Pull Request was created by @ahazi137 for CMSSW_7_3_X. Pixel digitizer cleanup It involves the following packages: SimGeneral/MixingModule @cmsbuild, @civanch, @nclopezo, @mdhildreth can you please review it and eventually sign? Thanks. |
+1 |
Sim -- Pixel digitizer cleanup
Minor changes in pixel digitizer, for details see below:
In pixelDigitizer_cfi.py:
The variable “useDB” is set to true. It should be set to false, it is related to a feature which has access to the whole gain calibration DB payload to search for dead-pixels. This has never been implemented and there are no dead pixels in the gain payload.
line: 50
We don't need the variable "AddPixelInefficiency". There is "AddPixelInefficiencyFromPython" instead.
line: 45
Redundant commented variables.
line: 54-55
In SiPixelDigitizerAlgorithm.cc:
if(!...) return
This is unnecessary. The value of this parameter is already known before calling the relevant method.
line: 1712, 1737, 1781
In DriftDirection() method the formula to compute the dir_z and scale are the same. We should not calculate it twice.
e.g. line: 1668
In PixelEfficiencies struct we don't need the "if (!...)" block. Variables in this block are used only when "AddPixelInefficiencyFromPython" is true.
from line: 442
Classes PixelBarrelName and PixelEndcapName are not used anymore.
line: 90-91
In PixelAging struct we don't need the "else" block. Variables in this block are used only when AddPixelAging is true.
from line: 488
Some additional corrections of annoying bad indents