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
Fix the hcaletValue function. #13252
Conversation
As the current implementation does not work for fine granularity HF TP, it needs the additional version parameter to give proper values for version ==1 and allow to query |ieta| > 32.
A new Pull Request was created by @matz-e (Matthias Wolf) for CMSSW_8_0_X. It involves the following packages: CalibCalorimetry/CaloTPG @diguida, @cerminar, @cmsbuild, @franzoni, @mmusich, @mulhearn, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are list here #13028 |
please test |
The tests are being triggered in jenkins. |
-1 >> Compiling /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_8_0_X_2016-02-10-2300/src/CaloOnlineTools/HcalOnlineDb/src/LMap.cc >> Compiling /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_8_0_X_2016-02-10-2300/src/CaloOnlineTools/HcalOnlineDb/src/LMapLoader.cc >> Compiling /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_8_0_X_2016-02-10-2300/src/CaloOnlineTools/HcalOnlineDb/src/PluginManager.cc >> Compiling /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_8_0_X_2016-02-10-2300/src/CaloOnlineTools/HcalOnlineDb/src/RooGKCounter.cc /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_8_0_X_2016-02-10-2300/src/CaloOnlineTools/HcalOnlineDb/src/HcalLutManager.cc: In member function 'std::map > HcalLutManager::getCompressionLutXmlFromAsciiMaster(std::string, std::string, int, bool)': /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_8_0_X_2016-02-10-2300/src/CaloOnlineTools/HcalOnlineDb/src/HcalLutManager.cc:568:40: error: no matching function for call to 'CaloTPGTranscoderULUT::HTvalid(const int&, const int&)' _coder.HTvalid(row->ieta, row->iphi) ){ ^ /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_8_0_X_2016-02-10-2300/src/CaloOnlineTools/HcalOnlineDb/src/HcalLutManager.cc:568:40: note: candidate is: In file included from /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_8_0_X_2016-02-10-2300/src/CaloOnlineTools/HcalOnlineDb/interface/HcalLutManager.h:25:0, from /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_8_0_X_2016-02-10-2300/src/CaloOnlineTools/HcalOnlineDb/src/HcalLutManager.cc:21: you can see the results of the tests here: |
Does this PR have an impact on L1 trigger jet energy scales? |
Remove the function that provides ET values averaged over phi, as its new signature overlaps with the old signature of hcaletValue(ieta, iphi, count). Infers the TP version mostly from the depth, as done here: https://github.com/cms-sw/cmssw/blob/CMSSW_8_0_X/DataFormats/HcalDetId/src/HcalTrigTowerDetId.cc#L30
please test |
The tests are being triggered in jenkins. |
@jimbrooke I don't think so, this is just messing with the interface, and not changing anything w.r.t. algorithms. |
I have actually removed the I've also tried to patch up the dependencies as good as I can understand them, if someone could point me to testing procedures for those packages or look over the changes, that would be great. |
-1 runTheMatrix-results/134.911_RunSinglePh2015D+RunSinglePh2015D+HLTDR2_25ns+RECODR2_25nsreHLT+HARVESTDR2_25nsreHLT/step2_RunSinglePh2015D+RunSinglePh2015D+HLTDR2_25ns+RECODR2_25nsreHLT+HARVESTDR2_25nsreHLT.log ----- Begin Fatal Exception 17-Feb-2016 13:46:50 CET----------------------- An exception of category 'FallbackFileOpenError' occurred while [0] Constructing the EventProcessor [1] Constructing input source of type PoolSource [2] Calling RootFileSequenceBase::initTheFile() [3] Calling StorageFactory::open() [4] Calling XrdFile::open() Exception Message: Failed to open the file 'root://xrootd-cms.infn.it//store/data/Run2015D/SinglePhoton/RAW/v1/000/256/677/00000/1ADDE997-605D-E511-944F-02163E01424B.root' Additional Info: [a] XrdCl::File::Open(name='root://eoscms.cern.ch//eos/cms/store/data/Run2015D/SinglePhoton/RAW/v1/000/256/677/00000/1ADDE997-605D-E511-944F-02163E01424B.root', flags=0x10, permissions=0660) => error '[FATAL] Socket timeout' (errno=0, code=103) [b] Remote server already encountered a fatal error; no redirections were performed. [c] Input file root://eoscms.cern.ch//eos/cms/store/data/Run2015D/SinglePhoton/RAW/v1/000/256/677/00000/1ADDE997-605D-E511-944F-02163E01424B.root could not be opened. Fallback Input file root://xrootd-cms.infn.it//store/data/Run2015D/SinglePhoton/RAW/v1/000/256/677/00000/1ADDE997-605D-E511-944F-02163E01424B.root also could not be opened. Original exception info is above; fallback exception info is below. [d] XrdCl::File::Open(name='root://xrootd-cms.infn.it//store/data/Run2015D/SinglePhoton/RAW/v1/000/256/677/00000/1ADDE997-605D-E511-944F-02163E01424B.root', flags=0x10, permissions=0660) => error '[FATAL] Redirect limit has been reached' (errno=0, code=306). No additional data servers were found. [e] Last URL tried: root://xrootd-cms.infn.it:1094//store/data/Run2015D/SinglePhoton/RAW/v1/000/256/677/00000/1ADDE997-605D-E511-944F-02163E01424B.root?tried= [f] Problematic data server: xrootd-cms.infn.it:1094 [g] Disabled source: xrootd-cms.infn.it:1094 ----- End Fatal Exception ------------------------------------------------- 140.53 step2 runTheMatrix-results/140.53_RunHI2011+RunHI2011+RECOHID11+HARVESTDHI/step2_RunHI2011+RunHI2011+RECOHID11+HARVESTDHI.log ----- Begin Fatal Exception 17-Feb-2016 13:52:40 CET----------------------- An exception of category 'FallbackFileOpenError' occurred while [0] Constructing the EventProcessor [1] Constructing input source of type PoolSource [2] Calling RootFileSequenceBase::initTheFile() [3] Calling StorageFactory::open() [4] Calling XrdFile::open() Exception Message: Failed to open the file 'root://xrootd-cms.infn.it//store/hidata/HIRun2011/HIMinBiasUPC/RAW/v1/000/182/124/0011F55A-8F13-E111-A987-003048F118C6.root' Additional Info: [a] XrdCl::File::Open(name='root://eoscms.cern.ch//eos/cms/store/hidata/HIRun2011/HIMinBiasUPC/RAW/v1/000/182/124/0011F55A-8F13-E111-A987-003048F118C6.root', flags=0x10, permissions=0660) => error '[FATAL] Socket timeout' (errno=0, code=103) [b] Remote server already encountered a fatal error; no redirections were performed. [c] Input file root://eoscms.cern.ch//eos/cms/store/hidata/HIRun2011/HIMinBiasUPC/RAW/v1/000/182/124/0011F55A-8F13-E111-A987-003048F118C6.root could not be opened. Fallback Input file root://xrootd-cms.infn.it//store/hidata/HIRun2011/HIMinBiasUPC/RAW/v1/000/182/124/0011F55A-8F13-E111-A987-003048F118C6.root also could not be opened. Original exception info is above; fallback exception info is below. [d] XrdCl::File::Open(name='root://xrootd-cms.infn.it//store/hidata/HIRun2011/HIMinBiasUPC/RAW/v1/000/182/124/0011F55A-8F13-E111-A987-003048F118C6.root', flags=0x10, permissions=0660) => error '[ERROR] Operation expired' (errno=0, code=206). No additional data servers were found. [e] Last URL tried: root://xrootd-cms.infn.it:1094//store/hidata/HIRun2011/HIMinBiasUPC/RAW/v1/000/182/124/0011F55A-8F13-E111-A987-003048F118C6.root?tried= [f] Problematic data server: xrootd-cms.infn.it:1094 [g] Disabled source: xrootd-cms.infn.it:1094 ----- End Fatal Exception ------------------------------------------------- you can see the results of the tests here: |
Matthias, did you run |
...I was too fast... |
@abdoulline thid PR is not yet merged. Is this needed for #13581 to work properly? |
But David refers to it as a possible culprit in the thread On Fri, 4 Mar 2016, Marco Musich wrote:
|
is the same code... so I worry - but hcal should understand.. I'm making a merged PR so we can test on our side. |
+1 |
+1 |
Are there any additional requirements to get this in? The version for 81X got merged a while ago? |
+1 |
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_8_0_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar |
+1 |
As the current implementation does not work for fine granularity HF
TP, it needs the additional version parameter to give proper values
for version ==1 and allow to query |ieta| > 32.
As an alternative, the
hcaletValue
functions that takeieta
parameters should be removed/deprecated.