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

Phase2-hgx107 Change the basic geometry of HGCal from FlatTrd to FlatHexagon #22917

Merged
merged 3 commits into from Apr 19, 2018

Conversation

bsunanda
Copy link
Contributor

All cells will be full hexagon and the edge half hexagon may look strange

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @bsunanda for master.

It involves the following packages:

Geometry/CaloGeometry
Geometry/HGCalGeometry

@civanch, @Dr15Jones, @ianna, @mdhildreth, @cmsbuild, @kpedro88 can you please review it and eventually sign? Thanks.
@davidlange6, @slava77, @fabiocos you are the release manager for this.

cms-bot commands are listed here

@bsunanda
Copy link
Contributor Author

@cmsbuild Please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 10, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/27417/console Started: 2018/04/10 15:30

@cmsbuild
Copy link
Contributor

-1

Tested at: 632c33e

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

I found follow errors while testing this PR

Failed tests: Build ClangBuild

  • Build:

I found an error when building:

>> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-04-09-2300/src/CondTools/Geometry/plugins/calowriters.cc 
>> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-04-09-2300/src/CondTools/Geometry/plugins/CSCRecoIdealDBLoader.cc 
>> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-04-09-2300/src/CondTools/Geometry/plugins/PGeometricDetBuilder.cc 
>> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-04-09-2300/src/CondTools/Geometry/plugins/ME0RecoIdealDBLoader.cc 
/build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-04-09-2300/src/CondTools/Geometry/plugins/calowriters.cc: In member function 'CaloGeometryDBEP::PtrType CaloGeometryDBEP::produceAligned(const typename T::AlignedRecord&) [with T = HGCalGeometry; U = CaloGeometryDBWriter; CaloGeometryDBEP::PtrType = std::shared_ptr; typename T::AlignedRecord = HGCalGeometryRecord]':
/build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-04-09-2300/src/CondTools/Geometry/plugins/calowriters.cc:406:5: error: 'FlatTrd' has not been declared
     FlatTrd::createCorners( dims, tr, corners );
     ^~~~~~~
>> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-04-09-2300/src/CondTools/Geometry/plugins/PGeometricDetExtraBuilder.cc 
>> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-04-09-2300/src/CondTools/Geometry/plugins/XMLGeometryReader.cc 
>> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-04-09-2300/src/CondTools/Geometry/plugins/GEMRecoIdealDBLoader.cc 

  • Clang:

I found a compilation error while trying to compile with clang:
I used this command:
scram b vclean && scram build -k -j 16 USER_CXXFLAGS='-fsyntax-only' COMPILER='llvm compile'

>> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-04-09-2300/src/Geometry/HGCalGeometry/test/CaloCellGeometryTester.cc 
>> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-04-09-2300/src/Geometry/HGCalGeometry/test/HGCalTestRecHitTool.cc 
>> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-04-09-2300/src/Geometry/HGCalGeometry/test/HGCalGeometryTester.cc 
>> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-04-09-2300/src/Geometry/HGCalGeometry/test/FastTimeGeometryTester.cc 
In file included from /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-04-09-2300/src/Geometry/CaloGeometry/src/FlatHexagon.cc:2:
/build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-04-09-2300/src/Geometry/CaloGeometry/interface/FlatHexagon.h:77:27: error: constexpr variable 'twoBysqrt3_' must be initialized by a constant expression
  static constexpr double twoBysqrt3_ = 2.0/std::sqrt(3.0);
                          ^             ~~~~~~~~~~~~~~~~~~
/build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_2_X_2018-04-09-2300/src/Geometry/CaloGeometry/interface/FlatHexagon.h:77:45: note: non-constexpr function 'sqrt' cannot be used in a constant expression
  static constexpr double twoBysqrt3_ = 2.0/std::sqrt(3.0);
                                            ^


@cmsbuild
Copy link
Contributor

Comparison not run due to Build errors (RelVals and Igprof tests were also skipped)

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-22917/27431/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 272 differences found in the comparisons
  • DQMHistoTests: Total files compared: 29
  • DQMHistoTests: Total histograms compared: 2504590
  • DQMHistoTests: Total failures: 311
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2504103
  • DQMHistoTests: Total skipped: 176
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.86999999993 KiB( 21 files compared)
  • Checked 119 log files, 9 edm output root files, 29 DQM output files

@bsunanda
Copy link
Contributor Author

@ianna @kpedro88 @ggovi Please review and approve this

@kpedro88
Copy link
Contributor

+1

@ianna
Copy link
Contributor

ianna commented Apr 13, 2018

+1

@fabiocos
Copy link
Contributor

@ggovi could you please check and sign in case?

@fabiocos
Copy link
Contributor

@ggovi ping

@bsunanda
Copy link
Contributor Author

@ggovi Please review and approve this

@bsunanda
Copy link
Contributor Author

@fabiocos Please merge this PR

@bsunanda
Copy link
Contributor Author

@fabiocos Fabio please merge this PR. It has no impact on DB. The HGCal geometry does not go to DB yet

@ggovi
Copy link
Contributor

ggovi commented Apr 19, 2018

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2)

@fabiocos
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 2759d59 into cms-sw:master Apr 19, 2018
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

6 participants