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 Geometry changes for plan1, phase2 #17469
HCAL TP Geometry changes for plan1, phase2 #17469
Conversation
A new Pull Request was created by @matz-e (Matthias Wolf) for CMSSW_9_0_X. It involves the following packages: CalibCalorimetry/CaloTPG @ghellwig, @civanch, @Dr15Jones, @arunhep, @ianna, @mdhildreth, @cmsbuild, @rekovic, @franzoni, @cerminar, @mmusich, @mulhearn, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are listed here #13028 |
Please test |
The tests are being triggered in jenkins. |
-1 Tested at: 0572ef0 You can see the results of the tests here: I found follow errors while testing this PR Failed tests: Build ClangBuild
I found an error when building: >> Compiling /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2017-02-08-2300/src/CaloOnlineTools/HcalOnlineDb/src/DBlmapWriter.cc >> Compiling /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2017-02-08-2300/src/CaloOnlineTools/HcalOnlineDb/src/HcalChannelIterator.cc >> Compiling /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2017-02-08-2300/src/CaloOnlineTools/HcalOnlineDb/src/HcalDbOmds.cc >> Compiling /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2017-02-08-2300/src/CaloOnlineTools/HcalOnlineDb/src/WriteL1TriggerObjetsXml.cc /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2017-02-08-2300/src/CalibCalorimetry/CaloTPG/src/CaloTPGTranscoderULUT.cc: In member function 'unsigned int CaloTPGTranscoderULUT::getOutputLUTSize(const HcalTrigTowerDetId&) const': /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2017-02-08-2300/src/CalibCalorimetry/CaloTPG/src/CaloTPGTranscoderULUT.cc:207:10: error: expected primary-expression before 'else' else if (id.ietaAbs() <= theTopology->lastHERing()) ^ /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2017-02-08-2300/src/CalibCalorimetry/CaloTPG/src/CaloTPGTranscoderULUT.cc:209:10: error: 'else' without a previous 'if' else ^
I found a compilation error while trying to compile with clang: >> Compiling edm plugin /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2017-02-08-2300/src/Geometry/HcalTowerAlgo/test/HcalGeometryDump.cc >> Compiling edm plugin /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2017-02-08-2300/src/Geometry/HcalTowerAlgo/test/HcalGeometryTester.cc Entering library rule at src/CalibCalorimetry/CaloTPG/plugins >> Compiling /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2017-02-08-2300/src/CalibCalorimetry/CaloTPG/src/CaloTPGTranscoderULUT.cc >> Compiling edm plugin /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2017-02-08-2300/src/CalibCalorimetry/CaloTPG/plugins/CaloTPGTranscoderULUTs.cc /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2017-02-08-2300/src/CalibCalorimetry/CaloTPG/src/CaloTPGTranscoderULUT.cc:207:10: error: expected expression else if (id.ietaAbs() <= theTopology->lastHERing()) ^ /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2017-02-08-2300/src/CalibCalorimetry/CaloTPG/src/CaloTPGTranscoderULUT.cc:209:10: error: expected expression else ^ |
Comparison not run due to Build errors (RelVals and Igprof tests were also skipped) |
Pull request #17469 was updated. @ghellwig, @civanch, @Dr15Jones, @arunhep, @ianna, @mdhildreth, @cmsbuild, @rekovic, @franzoni, @cerminar, @mmusich, @mulhearn, @davidlange6 can you please check and sign again. |
please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
Pull request #17469 was updated. @ghellwig, @civanch, @Dr15Jones, @arunhep, @ianna, @mdhildreth, @cmsbuild, @rekovic, @franzoni, @cerminar, @mmusich, @mulhearn, @davidlange6 can you please check and sign again. |
please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
+1 |
return QIE8_OUTPUT_LUT_SIZE; | ||
else | ||
return QIE10_OUTPUT_LUT_SIZE; | ||
case HcalTopologyMode::TriggerMode_2017plan1: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hello @matz-e
the case 2017plan1
is the baseline for CMS at this stage: are you planning on implementing it any time soon?
At this moment,
case HcalTopologyMode::TriggerMode_2017plan1:
would proceed to execute the:
case HcalTopologyMode::TriggerMode_2018:
block, which is a worse approximation of TriggerMode_2017plan1 than TriggerMode_2017 is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I plan on getting the implementation done as soon as this is in and we fix the gain widths needed for the LUTs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi @matz-e - for the next iteration - a small lookup table that lets you rewrite all this code as return lutSIze_[id.ietaAbs]; might be worth considering.
+1 |
hi- @matz-e -looks like this is causing problems in the relvals. Is there a quick fix? |
Seems that there is not - will revert for now - just remake this PR with a fix. Thanks |
Sorry, just got in. I'll have a look at a fix and will remake it. |
@davidlange6 This is due to the geometry being used from the DB, and me redefining the enum values. I'll fix that with my other open PR, by keeping the meaning of the integers in the enum constant, and adjusting labels. |
Add some bits to fully activate phase2, and add some placeholders to activate for plan1.