-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
bsunanda:Run2-alca30 Update the codes for IsoTrack and Muon in view of suggestion during calibration activity #12573
Conversation
…alibration activity
@cmsbuild Please test |
The tests are being triggered in jenkins. |
A new Pull Request was created by @bsunanda for CMSSW_8_0_X. It involves the following packages: Calibration/HcalCalibAlgos @diguida, @cerminar, @cmsbuild, @franzoni, @mmusich, @davidlange6 can you please review it and eventually sign? Thanks. Following commands in first line of a comment are recognized
|
@bsunanda ok, we'll reserve a slot at the next meeting. Thanks |
@cmsbuild Please test |
The tests are being triggered in jenkins. |
@cmsbuild Please test |
The tests are being triggered in jenkins. |
} | ||
} | ||
} | ||
if (t_goodPV == 0 && beamSpotH.isValid()) { | ||
leadPV = beamSpotH->position(); | ||
} |
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.
@bsunanda IIUC the logic is the following: you want to
- define a primary vertex selection: being not fake and with at least 5
dof
- find the first occurrence of a primary vertex passing the selection in a valid non-zero-sized collection of reconstructed vertices, and extract its position
- enumerate all the vertices in the collection passing the selection;
- if no selection passed, use the BeamSpot position.
Maybe the code is not optimal here, but can go in, as of now.
+1
To be done:
|
This pull request is fully signed and it will be integrated in one of the next CMSSW_8_0_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar |
+1 |
bsunanda:Run2-alca30 Update the codes for IsoTrack and Muon in view of suggestion during calibration activity
IsoTrack and Muons used in HB/HE went through substantial modifications in view of the recent exercise on HCAL calibration. The modified codes are committed here