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
Small update of FastPV sequence #5667
Conversation
A new Pull Request was created by @silviodonato for CMSSW_7_3_X. Small update of FastPV sequence It involves the following packages: RecoPixelVertexing/PixelVertexFinding @cmsbuild, @nclopezo, @StoyanStoynev, @slava77 can you please review it and eventually sign? Thanks. |
added @arizzi |
@@ -360,6 +369,7 @@ FastPrimaryVertexWithWeightsProducer::produce(edm::Event& iEvent, const edm::Eve | |||
//calculate the final weight | |||
weight= m_EC_weight*(weight_dPhi) ; | |||
} | |||
if(m_ptWeighting) weight=weight*(pt-m_ptWeighting_parameter)/(40-m_ptWeighting_parameter); // a jetPt=40 doesn't change weight |
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.
Is this '40' and the one in '("minJetPt",40.)' related?
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.
No, m_ptWeighting_parameter is just a parameter used to parametrize the pT weight.
Using (pt-m_ptWeighting_parameter)/(40-m_ptWeighting_parameter) the pT weight is one for a jet with pT=40, just to put a momentum scale
Pull request #5667 was updated. @cmsbuild, @nclopezo, @StoyanStoynev, @slava77 can you please check and sign again. |
Pull request #5667 was updated. @cmsbuild, @nclopezo, @StoyanStoynev, @slava77 can you please check and sign again. |
+1 |
My tests were on top of CMSSW_7_3_X_2014-09-30-0200. |
Small update of FastPV sequence
Small updates of the FastPrimaryVertex code and JetVertexChecker, presented at TSG meeting:
https://indico.cern.ch/event/338610/contribution/1/1/material/slides/0.pdf
In both Producer is possible to maintaing the "old" method, with the options: