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

add ignoreVertices parameter #18041

Conversation

mtosi
Copy link
Contributor

@mtosi mtosi commented Mar 22, 2017

for handling the possibility of not making use of the PV collection
as requested by MUO POG

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @mtosi (mia tosi) for master.

It involves the following packages:

RecoTracker/FinalTrackSelectors

@perrotta, @cmsbuild, @slava77, @davidlange6 can you please review it and eventually sign? Thanks.
@ghellwig, @makortel, @felicepantaleo, @GiacomoSguazzoni, @rovere, @VinInn, @mschrode, @gpetruc, @ebrondol, @dgulhan this is something you requested to watch as well.
@Muzaffar, @davidlange6, @smuzaffar you are the release manager for this.

cms-bot commands are listed here #13028

@perrotta
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 22, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/18631/console Started: 2017/03/22 18:43

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

@@ -41,18 +43,19 @@ TrackMVAClassifierBase::TrackMVAClassifierBase( const edm::ParameterSet & cfg )

}


#include "DataFormats/VertexReco/interface/Vertex.h"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any reason for having this #include here, and not on top together with the other ones?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't compile faster in this way ?
but I might be wrong

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#include is a preprocessing directive, and therefore compilation time shouldn't depend on where it is placed.
I think it can be a good practice to put all them together at the beginning of the cpp file, so that they are all listed together and not scattered around the file, which makes easier checking whether something is missing or placed at a wrong order. At this point it is mostly a matter of style, I admit, but it can help when the complexity of the code increases.

@cmsbuild
Copy link
Contributor

Pull request #18041 was updated. @perrotta, @cmsbuild, @slava77, @davidlange6 can you please check and sign again.

@mtosi
Copy link
Contributor Author

mtosi commented Mar 30, 2017

done, hope it is fine, now
thanks for the detailed check

@perrotta
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 30, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/18807/console Started: 2017/03/30 18:25

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 1, 2017

Pull request #18041 was updated. @perrotta, @cmsbuild, @slava77, @davidlange6 can you please check and sign again.

@perrotta
Copy link
Contributor

perrotta commented Apr 1, 2017

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 1, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/18848/console Started: 2017/04/01 16:50

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 1, 2017

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 1, 2017

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 1, 2017

@perrotta
Copy link
Contributor

perrotta commented Apr 2, 2017

+1
New parameter added for use at HLT. Default value reproduces the previous behavior: no difference expected, and no difference observed.
I was puzzled initially by some large changes, and apparently tracking related, observed in the jenkins output of wfs 25202.0 and 50202.0. However, these changes also show up in jenkins tests of other, completely unrelated, pull requests (see e.g. #18127); and moreover they do not show up in the 90X version of this pull request (see #18042). Therefore, I can sign off this PR:

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 2, 2017

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. @Muzaffar, @davidlange6, @smuzaffar

@makortel
Copy link
Contributor

makortel commented Apr 3, 2017

@perrotta I checked 25202.0, and already TrackingParticles (=simulation) shows differences
https://cmssdt.cern.ch/SDT/jenkins-artifacts/baseLineComparisons/CMSSW_9_1_X_2017-04-01-1100+18041/19138/25202.0_TTbar_13+TTbar_13+DIGIUP15_PU25+RECOUP15_PU25+HARVESTUP15_PU25/Tracking_TrackingMCTruth_TrackingParticle.html
Since the noPU workflows are fine, could this be related to PU mixing?

@slava77
Copy link
Contributor

slava77 commented Apr 3, 2017

computeMVA(tracks,*hBsp,*hVtx,forest,*mvas);
} else {
if ( !ignoreVertices_ )
edm::LogWarning("TrackMVAClassifierBase") << "ignoreVertices is set to False in the configuration, but the vertex collection is not valid";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi @mtosi is the log warning meant to indicate a "ok" configuration or a job misconfiguration?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ciao
it should indicate a misconfiguration, indeed
the module is configured to make use of the vertices collection,
while the corresponding InputTag is not valid

is there anything wrong w/ this approach ?
do you have any suggestions on how to improve it ?
thanks !

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit cf6bf1f into cms-sw:master Apr 12, 2017
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

6 participants