-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Remove ParameterSet usage from CondFormats/L1Trigger #33873
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
Remove ParameterSet usage from CondFormats/L1Trigger #33873
Conversation
The L1MuCSCTFConfiguration does not need to depend upon ParameterSet to do its job. The functionality was moved to a standalone function. Only CSCTFSectorProcessor was dependent upon that member function.
This is the only package that uses the function. This is needed from the ROOT modules build.
The classes are already declared in CondFormats/Records so these were a 'one definition rule' violation.
|
@davidlange6 FYI |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33873/22907 |
|
A new Pull Request was created by @Dr15Jones (Chris Jones) for master. It involves the following packages: CondFormats/L1TObjects @malbouis, @yuanchao, @cmsbuild, @rekovic, @tlampen, @ggovi, @pohsun, @cecilecaillol, @francescobrivio can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
|
please test |
|
-1 Failed Tests: Build BuildI found compilation error when building: >> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-05-27-2300/src/Calibration/HcalCalibAlgos/test/HcalConstantsASCIIWriter.cc
>> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-05-27-2300/src/Calibration/HcalCalibAlgos/test/HcalCorrPFCalculation.cc
>> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-05-27-2300/src/Calibration/HcalCalibAlgos/test/HcalHBHEMuonSimAnalyzer.cc
>> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-05-27-2300/src/Calibration/HcalCalibAlgos/test/HcalIsoTrackAnalysis.cc
>> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-05-27-2300/src/Calibration/HcalCalibAlgos/test/HcalIsoTrackStudy.cc
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-05-27-2300/src/Calibration/HcalCalibAlgos/test/HcalHBHEMuonSimAnalyzer.cc:33:10: fatal error: Geometry/CaloEventSetup/interface/CaloTopologyRecord.h: No such file or directory
33 | #include "Geometry/CaloEventSetup/interface/CaloTopologyRecord.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
>> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-05-27-2300/src/Calibration/HcalCalibAlgos/test/HcalLaserTest.cc
>> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-05-27-2300/src/Calibration/HcalCalibAlgos/test/ValidationHcalIsoTrackAlCaReco.cc
|
|
please test with #33870 |
@Dr15Jones Did you mean #33875? |
Ops, yes. |
|
please test with #33875 |
|
-1 Failed Tests: RelVals-INPUT
RelVals-INPUT
Expand to see more relval errors ...
Comparison SummarySummary:
|
|
DAS failures are not from this pull request. |
|
please test |
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-204cee/15432/summary.html Comparison SummarySummary:
|
|
+l1 |
|
+1 |
|
@cms-sw/alca-l2 ping |
|
+1
|
|
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. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
|
+1 |
PR description:
The dependency on edm::ParameterSet by L1MuCSCTFConfiguration was not needed. The only piece of code that wants an edm::ParameterSet based on the info stored in that class is CSCTFSectorProcessor.
Removing the dependency fixes problems see in the ROOT module's build plus it is in general a good idea to keep dependencies for CondFormats to a bare minimum.
In addition, *Rcd.h files were found in the /src directory which are duplicates of what is already in CondFormats/Records.
PR validation:
The code compiles fine in the regular build and now in the CXXMODULE build.
solves cms-sw/framework-team#155