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

Adds option to EcalDeadCellTriggerPrimitiveFilter to consider kTPSaturated flag #13429

Merged
merged 3 commits into from Feb 27, 2016

Conversation

kencall
Copy link
Contributor

@kencall kencall commented Feb 22, 2016

Ecal rechits have the flag, kTPSaturated, available. The filter has be updated and given a configurable option to consider this flag. The default configuration maintains the classical behavior.

Validation of the use of kTPSaturated is presented here: https://cms-cpt-software.web.cern.ch/cms-cpt-software/General/Validation/SVSuite/HCAL/2015D-EcalTP.pdf

Regards,
Ken Call

…r, "modekTPSaturated"

The parameter is added to allow consideration of the RecHit flag, kTPSaturated

modekTPSaturated = 0; classical operation
modekTPSaturated = 1; event tagged if either the trigger tower sum exceeds the provided threshold energy or if the kTPSaturated flag is set
modekTPSaturated = 2; event is tagged on if the kTPSaturated flag is set.
@cmsbuild
Copy link
Contributor

A new Pull Request was created by @kencall for CMSSW_8_1_X.

It involves the following packages:

RecoMET/METFilters

@cvuosalo, @monttj, @cmsbuild, @slava77, @vadler, @davidlange6 can you please review it and eventually sign? Thanks.
@TaiSakuma, @ahinzmann, @mmarionncern, @jdolen, @nhanvtran, @schoef, @mariadalfonso this is something you requested to watch as well.
@slava77, @Degano, @smuzaffar you are the release manager for this.

cms-bot commands are list here #13028

@slava77
Copy link
Contributor

slava77 commented Feb 22, 2016

@cmsbuild please test

@cmsbuild
Copy link
Contributor

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

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@@ -158,6 +162,9 @@ class EcalDeadCellTriggerPrimitiveFilter : public edm::EDFilter {

bool useTPmethod_, useHITmethod_;

bool exclusivelykTPSaturated_;
bool considerkTPSaturated_;
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure why these two are added: there are not used in the class methods.
Please clarify.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi Slava,

During development these names were used before the options useTTsum_ and usekTPSaturated_ were added. These two lines were left behind when the code was cleaned up in preparation for the PR. They can be removed, and I've updated the PR with them removed.

Regards,
Ken Call


From: Slava Krutelyov [notifications@github.com]
Sent: Wednesday, February 24, 2016 6:28 AM
To: cms-sw/cmssw
Cc: Call, Ken
Subject: Re: [cmssw] Adds option to EcalDeadCellTriggerPrimitiveFilter to consider kTPSaturated flag (#13429)

In RecoMET/METFilters/plugins/EcalDeadCellTriggerPrimitiveFilter.cchttps://github.com//pull/13429#discussion_r53937346:

@@ -158,6 +162,9 @@ class EcalDeadCellTriggerPrimitiveFilter : public edm::EDFilter {

bool useTPmethod_, useHITmethod_;

  • bool exclusivelykTPSaturated_;
  • bool considerkTPSaturated_;

I'm not sure why these two are added: there are not used in the class methods.
Please clarify.


Reply to this email directly or view it on GitHubhttps://github.com//pull/13429/files#r53937346.

Removed exclusivelykTPSaturated_ and considerkTPSaturated_
@cmsbuild
Copy link
Contributor

Pull request #13429 was updated. @cvuosalo, @monttj, @cmsbuild, @slava77, @vadler, @davidlange6 can you please check and sign again.

@slava77
Copy link
Contributor

slava77 commented Feb 25, 2016

@cmsbuild please test

@kencall thank you for the prompt cleanup

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

-1
Tested at: 1bf1b9f
When I ran the RelVals I found an error in the following worklfows:
5.1 step1

runTheMatrix-results/5.1_TTbar+TTbarFS+HARVESTFS/step1_TTbar+TTbarFS+HARVESTFS.log

135.4 step1

runTheMatrix-results/135.4_ZEE_13+ZEEFS_13+HARVESTUP15FS+MINIAODMCUP15FS/step1_ZEE_13+ZEEFS_13+HARVESTUP15FS+MINIAODMCUP15FS.log

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

@slava77
Copy link
Contributor

slava77 commented Feb 25, 2016

+1

for #13429 1bf1b9f

  • code changes are in line with the description
  • jenkins tests of 302dbbb pass and comparisons with baseline show no differences
  • jenkins tests of 1bf1b9f required just compilation, which passed OK; the errors are present in the IB (fastsim got broken)

@slava77
Copy link
Contributor

slava77 commented Feb 25, 2016

@cmsbuild please test
maybe tests complete this time

@cmsbuild
Copy link
Contributor

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

@cmsbuild
Copy link
Contributor

-1
Tested at: 1bf1b9f
When I ran the RelVals I found an error in the following worklfows:
5.1 step1

runTheMatrix-results/5.1_TTbar+TTbarFS+HARVESTFS/step1_TTbar+TTbarFS+HARVESTFS.log

135.4 step1

runTheMatrix-results/135.4_ZEE_13+ZEEFS_13+HARVESTUP15FS+MINIAODMCUP15FS/step1_ZEE_13+ZEEFS_13+HARVESTUP15FS+MINIAODMCUP15FS.log

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

@slava77
Copy link
Contributor

slava77 commented Feb 26, 2016

@cmsbuild please test
looks like an IB with a fix to fastsim is out

@cmsbuild
Copy link
Contributor

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

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

if( toDo ){

//If we considerkTPSaturated and a recHit has a flag set, we can immediately flag the event.
if(ebrechit->checkFlag(EcalRecHit::kTPSaturated) && usekTPSaturated_) return 1;
Copy link
Contributor

Choose a reason for hiding this comment

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

@kencall would be more efficient to first check useTPSaturated_ here and below. Something to consider for your next PR.

davidlange6 added a commit that referenced this pull request Feb 27, 2016
Adds option to EcalDeadCellTriggerPrimitiveFilter to consider kTPSaturated flag
@davidlange6 davidlange6 merged commit 2973482 into cms-sw:CMSSW_8_1_X Feb 27, 2016
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