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
Run2-sim08 Enabling depth studies in Ecal crystal #19099
Conversation
A new Pull Request was created by @bsunanda for master. It involves the following packages: SimG4CMS/Calo @cmsbuild, @civanch, @mdhildreth, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild Please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
@bsunanda , why a new value 1.0 is needed? Radiation length is a const for a given calorimeter. You mean a possibility to have an effective rad length, which will be tuned to data? Concerning EcalSD - it seems that the class has some ineffective patterns, like string comparison at each step. Is this update for 2023 or for early workflows? |
@civanch The length is stored in 16 bit integer and not in a float or double. People requiring a better precision can scale it by a factor for example 100 and can still fit in 16 bit integers. This is the purpose. There are some requirements for this - these are specific studies. |
+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 requires discussion in the ORP meeting before it's merged. @davidlange6, @smuzaffar |
DEBUG = cms.untracked.bool(False), | ||
type = cms.string('TrackingVerboseAction') | ||
)) | ||
#process.g4SimHits.Watchers = cms.VPSet(cms.PSet( |
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.
hi @bsunanda - do we need the commented out lines?
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.
That watcher is not working right now. I shall work on it later - make it work and then uncomment these lines
+1 |
There was ambiguity of depth index in earlier version. Now if StoreRadiationLength is set true, it stores # of radiation lengths in unit of ScaleRadiationLength as depth; else if StoreLayerTimeSim is set true, it stores time in units of TimeSliceUnit; else it stores 0, 1, 2 for crystal volume, primary & secondary APD volumes