Skip to content

Making Kappa ready for CMSSW92X#45

Merged
rfriese merged 19 commits intomasterfrom
CMSSW92X
Jul 11, 2017
Merged

Making Kappa ready for CMSSW92X#45
rfriese merged 19 commits intomasterfrom
CMSSW92X

Conversation

@rfriese
Copy link
Contributor

@rfriese rfriese commented Jul 6, 2017

Dear all,

after all a few changes had to be made to get Kappa Running on CMSSW. This is especially due to the TriggerObjectStandalone Collection that had some changes. They should be backward-compatible, but I would leave that to the automated tests complaining.

MVAMET is deactivated since there's no CMSSW9 training yet.

Also, the re-correction of jets is deactivated. As soon as there are relevant new JECs we should change that again. The reason is just that we used a module from the MVAMET implementation to re-correct the jets.

The refitted vertex does run. However if not totally necessary we should think about dropping it: Runtime-Wise it is the dominant module, by far: out of 0.166 s/event 0.15 s/event are due to the AdvancedRefitVertexBSProducer and AdvancedRefitVertexNoBSProducer producers on a 2017B SingleElectron Data file.

@greyxray is it a lot of work to extend the automated tests to the 92X release and run the old ones on this branch? I think nothing should change in the old releases, but this has to be proven.

@thomas-mueller
Copy link
Contributor

Hallo Raphael,

currently CMSSW 8 is not covered by the automated travis tests (@greyxray can give more details), but maybe still by Fabio's tests. Only CMSSW 7 is covered by travis. So one might have to perform a manual test here...

I do not consider dropping the refitting as a good option since this would mean that Claudia would not be able to share Artus inputs with us but would need a complete own skim. We are more limited by storage space then by computing time.

Regards,
Thomas

@pistone87
Copy link
Contributor

Hi Raphael,

I would like to keep the RefitVertex code, since it's crucial for my analysis.
If you want to drop something, you can drop the AdvancedRefitVertexBSProducer:
this is the refitting using the BS constraint and I actually don't need it anymore
(for the plots I need to do, I can use already produced old samples).
But the AdvancedRefitVertexNoBSProducer is pretty important for me.

Thanks.

Best,
Claudia


# setup BadPFMuonFilter and BadChargedCandidateFilter
if tools.is_above_cmssw_version([8]):
if tools.is_above_cmssw_version([8]) and not tools.is_above_cmssw_version([8]):
Copy link
Contributor

Choose a reason for hiding this comment

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

Could it be that you forgot to change the latter version requirement to 9?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, thank you!


## if needed adapt output filename
process.p *= process.kappaOut
process.ep *= process.kappaOut
Copy link
Contributor

Choose a reason for hiding this comment

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

Just for my curiosity: what is the difference between process.p and process.ep?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

"p" is the path, "ep" is the endpath. Running Kappa in the path creates a unsolveable ordering problem of the unscheduled mode. By putting it to the endpath, everything is fine.

Copy link
Contributor

Choose a reason for hiding this comment

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

I see. Thank you

@anehrkor
Copy link
Contributor

anehrkor commented Jul 6, 2017

Just FYI: Olena is on holidays for at least a week. So you might have to wait some time for answers regarding the tests.

process.kappaTuple.TriggerObjectStandalone.metfilterbitslist = cms.vstring("BadChargedCandidateFilter","BadPFMuonFilter")
# process.kappaTuple.TriggerObjectStandalone.metfilterbitslist = cms.vstring("BadChargedCandidateFilter", "BadPFMuonFilter", "badGlobalMuonTaggerMAOD", "cloneGlobalMuonTaggerMAOD")
# else:
# process.kappaTuple.TriggerObjectStandalone.metfilterbitslist = cms.vstring("BadChargedCandidateFilter","BadPFMuonFilter")
Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry for perhaps another stupid question, but do these lines need to be commented?

@rfriese rfriese merged commit a027cca into master Jul 11, 2017
@rfriese rfriese deleted the CMSSW92X branch July 13, 2017 11:30
@thomas-mueller thomas-mueller mentioned this pull request Jul 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants