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

HCAL TP for Plan 1 #17540

Merged
merged 9 commits into from Feb 20, 2017
Merged

HCAL TP for Plan 1 #17540

merged 9 commits into from Feb 20, 2017

Conversation

matz-e
Copy link
Contributor

@matz-e matz-e commented Feb 16, 2017

Contains several previous PR, fixed:

@davidlange6 I fixed the RelVal 10826.0 by keeping the meaning of the trigger mode consistent, I had added the new 2016 and Plan 1 definition and changed the underlying values, which had already been saved in the geometry DB.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @matz-e (Matthias Wolf) for CMSSW_9_0_X.

It involves the following packages:

CalibCalorimetry/CaloTPG
CalibCalorimetry/HcalTPGAlgos
Geometry/CaloTopology
Geometry/HcalCommonData
Geometry/HcalTowerAlgo

@ghellwig, @civanch, @Dr15Jones, @arunhep, @ianna, @mdhildreth, @cmsbuild, @rekovic, @franzoni, @cerminar, @mmusich, @mulhearn, @davidlange6 can you please review it and eventually sign? Thanks.
@ghellwig, @tocheng this is something you requested to watch as well.
@davidlange6, @smuzaffar you are the release manager for this.

cms-bot commands are listed here #13028

@civanch
Copy link
Contributor

civanch commented Feb 16, 2017

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 16, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/17829/console Started: 2017/02/16 20:41

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

return QIE10_OUTPUT_LUT_SIZE;
case HcalTopologyMode::TriggerMode_2017plan1:
if (theTopology->dddConstants()->isPlan1(id))
return QIE11_OUTPUT_LUT_SIZE;
Copy link

@franzoni franzoni Feb 17, 2017

Choose a reason for hiding this comment

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

hello @matz-e
detIdSp_ https://github.com/matz-e/cmssw/blob/9c7c69d4203cf4d932921a4d4103956b8dc7cfbd/Geometry/HcalCommonData/interface/HcalDDDRecConstants.h#L136 is empty by construction, for now
which in turns means isPlan1(...) always returns false.
The logic in this switch looks good,
however, QIE11_OUTPUT_LUT_SIZE won't ever be returned.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Doesn't it get filled here?

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

@ianna
Copy link
Contributor

ianna commented Feb 18, 2017

+1

@rekovic
Copy link
Contributor

rekovic commented Feb 18, 2017

+1

@franzoni
Copy link

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_9_0_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @smuzaffar

} // for iphi
}// for subdet
for (const auto& id: metadata->getAllChannels()) {
if (not (id.det() == DetId::Hcal and topo_->valid(id)))
Copy link
Contributor

Choose a reason for hiding this comment

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

is this if statement ever false in normal conditions? Eg, if its true is that a sign of corrupt data and/or incomplete conditions?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

When I implemented this, there were IDs that were either invalid HCAL IDs or not allowed by the topology… I'm not sure anymore which IDs exactly are skipped by this.

Copy link
Contributor

Choose a reason for hiding this comment

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

indeed there are such IDs. Verification of validity by topology supposed to be a temporary work-around, I think.

Copy link
Contributor

Choose a reason for hiding this comment

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

ok, thanks - is a dangerous condition to leave around, so lets try to clean up after than plan1 issues are behind us

Copy link
Contributor

Choose a reason for hiding this comment

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

@matz-e Was this not the fix when simHCALTriggerPrimitives in sequence for Phase2?

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, that was included in there, too. It somehow got reverted with the reversal of one of the L1T PRs, I think.

@davidlange6
Copy link
Contributor

+1

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

8 participants