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

pass isRepacked flag to config builder if set in a scenario #12326

Conversation

slava77
Copy link
Contributor

@slava77 slava77 commented Nov 9, 2015

  • default isRepacked is not set, leaving it to the configBuilder defaults
  • HeavyIonsRun2 has isRepacked=True (corresponds to a swap of rawDataCollector with rawDataRepacker, which is happening in HLT, different from regular pp/cosmics data taking)

The python config Configuration/DataProcessing/test/RunPromptReco.py, which is useful in local tests,
has options --isRepacked or --isNotRepacked to override the isRepacked parameter.

Passing arguments to the T0 setup is more complicated and the flexibility to choose repacked or non-repacked inputs is not available with this PR.
The easiest is to introduce a new scenario (e.g. HeavyIonsRun2frompp )

…(more parameters and changes need to be made in WMCore and in T0 projects), only for local tests
@slava77
Copy link
Contributor Author

slava77 commented Nov 9, 2015

@cmsbuild please test

@cmsbuild cmsbuild added this to the Next CMSSW_7_5_X milestone Nov 9, 2015
@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 9, 2015

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/9544/console

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 9, 2015

A new Pull Request was created by @slava77 (Slava Krutelyov) for CMSSW_7_5_X.

pass isRepacked flag to config builder if set in a scenario

It involves the following packages:

Configuration/DataProcessing

@cmsbuild, @franzoni, @davidlange6 can you please review it and eventually sign? Thanks.
@ghellwig, @Martin-Grunewald this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
If you are a L2 or a release manager you can ask for tests by saying 'please test' or '@cmsbuild, please test' 'please test with cms-sw/cmsdist#PR' in the first line of a comment.
@Degano you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 9, 2015

-1

Tested at: a8875ad
I found errors in the following unit tests:

---> test TestConfigDP had ERRORS

you can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-12326/9544/summary.html

@slava77
Copy link
Contributor Author

slava77 commented Nov 9, 2015

oops, fix is coming soon

@slava77
Copy link
Contributor Author

slava77 commented Nov 9, 2015

@cmsbuild please test
[I ran runtests this time and they pass OK; no changes are expected otherwise]

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 9, 2015

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/9553/console

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 9, 2015

Pull request #12326 was updated. @cmsbuild, @franzoni, @davidlange6 can you please check and sign again.

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 9, 2015

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 9, 2015

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 9, 2015

@slava77
Copy link
Contributor Author

slava77 commented Nov 10, 2015

no changes appear in jenkins tests as expected.
manual comparisons of prompt reco configs generated with RunPromptReco.py show expected changes in the rawdata input tag parameters.

@@ -29,6 +29,8 @@ def __init__(self):
self.alcaRecos = None
self.PhysicsSkims = None
self.dqmSeq = None
self.setRepacked = False
self.isRepacked = False
Copy link
Contributor

Choose a reason for hiding this comment

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

@slava77 - I think this would be more consistent if the default of isRepacked here is True (as that is default elsewhere in the PR)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

On 11/10/15 12:04 AM, David Lange wrote:

In Configuration/DataProcessing/test/RunPromptReco.py
#12326 (comment):

@@ -29,6 +29,8 @@ def init(self):
self.alcaRecos = None
self.PhysicsSkims = None
self.dqmSeq = None

  •    self.setRepacked = False
    
  •    self.isRepacked = False
    

@slava77 https://github.com/slava77 - I think this would be more
consistent if the default of isRepacked here is True (as that is default
elsewhere in the PR)

I'm not sure I understand the logic.

As defined here, the defaults in this file leave it to the corresponding
scenarios to set their values.
The isRepacked has no effect if setRepacked is false.
If the defaults need to be reset (the main purpose of these flags here),
and so far it's only needed in HI, it would be reset to false.

I can change, if you confirm that you still want it at a true value.
(the file is useful only in local tests; in T0 perspective, these flags
are invisible)


Reply to this email directly or view it on GitHub
https://github.com/cms-sw/cmssw/pull/12326/files#r44378627.

Copy link
Contributor

Choose a reason for hiding this comment

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

ah - good point. Ok - thanks

davidlange6 added a commit that referenced this pull request Nov 10, 2015
…gn626/hiRepackSettings

pass isRepacked flag to config builder if set in a scenario
@davidlange6 davidlange6 merged commit d66c207 into cms-sw:CMSSW_7_5_X Nov 10, 2015
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

4 participants