-
Notifications
You must be signed in to change notification settings - Fork 4.6k
redefine IT digitizer ToF window + add customize fcn for activating IT signal shape with RelVals #41273
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
redefine IT digitizer ToF window + add customize fcn for activating IT signal shape with RelVals #41273
Changes from 1 commit
6901307
4f1410a
63f5e10
96cf70e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,28 @@ | ||||||
| import FWCore.ParameterSet.Config as cms | ||||||
|
|
||||||
| # | ||||||
| # activate signal shape in IT only | ||||||
| # | ||||||
|
|
||||||
| def customizeSiPhase2ITSignalShape(process): | ||||||
| ## for standard mixing | ||||||
| if hasattr(process,'mix') and hasattr(process.mix,'digitizers') and hasattr(process.mix.digitizers,'pixel'): | ||||||
| if hasattr(process.mix.digitizers.pixel,'PixelDigitizerAlgorithm'): | ||||||
| print("# Activating signal shape emulation in IT pixel (planar)") | ||||||
| process.mix.digitizers.pixel.PixelDigitizerAlgorithm.ApplyTimewalk = cms.bool(True) | ||||||
|
||||||
| process.mix.digitizers.pixel.PixelDigitizerAlgorithm.ApplyTimewalk = cms.bool(True) | |
| process.mix.digitizers.pixel.PixelDigitizerAlgorithm.ApplyTimewalk = True |
Outdated
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.
| process.mix.digitizers.pixel.Pixel3DDigitizerAlgorithm.ApplyTimewalk = cms.bool(True) | |
| process.mix.digitizers.pixel.Pixel3DDigitizerAlgorithm.ApplyTimewalk = True |
Outdated
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.
| process.mixData.workers.pixel.PixelDigitizerAlgorithm.ApplyTimewalk = cms.bool(True) | |
| process.mixData.workers.pixel.PixelDigitizerAlgorithm.ApplyTimewalk = True |
Outdated
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.
| process.mixData.workers.pixel.Pixel3DDigitizerAlgorithm.ApplyTimewalk = cms.bool(True) | |
| process.mixData.workers.pixel.Pixel3DDigitizerAlgorithm.ApplyTimewalk = True |
Uh oh!
There was an error while loading. Please reload this page.