Skip to content
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

Merged
merged 3 commits into from Oct 22, 2014
Merged

Conversation

ahazi137
Copy link
Contributor

Minor changes in pixel digitizer, for details see below:

In pixelDigitizer_cfi.py:

  1. 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

  2. We don't need the variable "AddPixelInefficiency". There is "AddPixelInefficiencyFromPython" instead.
    line: 45

  3. Redundant commented variables.
    line: 54-55

In SiPixelDigitizerAlgorithm.cc:

  1. There are several places where the first line in a method (e.g. pixel_inefficiency_db) is

if(!...) return

This is unnecessary. The value of this parameter is already known before calling the relevant method.
line: 1712, 1737, 1781

  1. 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

  2. In PixelEfficiencies struct we don't need the "if (!...)" block. Variables in this block are used only when "AddPixelInefficiencyFromPython" is true.
    from line: 442

  3. Classes PixelBarrelName and PixelEndcapName are not used anymore.
    line: 90-91

  4. In PixelAging struct we don't need the "else" block. Variables in this block are used only when AddPixelAging is true.
    from line: 488

  5. Some additional corrections of annoying bad indents

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @ahazi137 for CMSSW_7_3_X.

Pixel digitizer cleanup

It involves the following packages:

SimGeneral/MixingModule
SimTracker/SiPixelDigitizer

@cmsbuild, @civanch, @nclopezo, @mdhildreth can you please review it and eventually sign? Thanks.
@wmtan, @makortel, @GiacomoSguazzoni, @rovere, @VinInn, @dkotlins, @cerati, @threus, @venturia this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
@nclopezo, @ktf you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@civanch
Copy link
Contributor

civanch commented Oct 22, 2014

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_3_X IBs unless changes (tests are also fine). @nclopezo, @ktf can you please take care of it?

nclopezo added a commit that referenced this pull request Oct 22, 2014
@nclopezo nclopezo merged commit a2a349b into cms-sw:CMSSW_7_3_X Oct 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants