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

[91x] Ecal pedestals PCL integration #18332

Merged
merged 5 commits into from Apr 24, 2017

Conversation

cerminar
Copy link
Contributor

Complete the integration of the new EcalPedestal workflow in the PCL framework. This allows to run the configuration from cmsDriver and from ConfigDP for Tier0 tests.

I put here for reference the various commands that it is now possible to execute:

Express-like processing

cmsDriver.py step1  --conditions auto:run2_data \
-s ALCAPRODUCER:PromptCalibProdEcalPedestals \
--process ALCARECO \
--data \
--eventcontent ALCARECO \
--scenario pp \
--datatier ALCARECO \
-n 100 \
--filein file:/data/cerminar/data/store_data_Run2016D_TestEnablesEcalHcal_RAW_v2_000_276_315_00000_92AB6184-FD41-E611-A550-02163E01464C.root \
--fileout file:step1.root \
--no_exec

or

python Configuration/DataProcessing/test/RunExpressProcessing.py \
 --scenario AlCaTestEnable \
 --global-tag 90X_dataRun2_v6 \
 --lfn file:/data/cerminar/data/store_data_Run2016D_TestEnablesEcalHcal_RAW_v2_000_276_315_00000_92AB6184-FD41-E611-A550-02163E01464C.root \
 --alcareco PromptCalibProdEcalPedestals

AlCaSkimming processing

cmsDriver.py step2 \
--datatier ALCARECO \
--conditions auto:run2_data \
-s ALCAOUTPUT:PromptCalibProdEcalPedestals \
--eventcontent ALCARECO \
-n 100 \
--filein file:step1.root \
--triggerResultsProcess ALCARECO \
--no_exec

or

python Configuration/DataProcessing/test/RunAlcaSkimming.py \
--scenario AlCaTestEnable \
--lfn=file:output.root \
--global-tag 90X_dataRun2_v6 \
--skims PromptCalibProdEcalPedestals

AlCaHarvesting processing

cmsDriver.py step3 \
--data \
--conditions auto:run2_data \
--scenario pp \
-s ALCAHARVEST:EcalPedestals \
--filein file:PromptCalibProdEcalPedestals.root \
-n -1 \
--no_exec

or

python Configuration/DataProcessing/test/RunAlcaHarvesting.py \
--scenario AlCaTestEnable \
--lfn file:PromptCalibProdEcalPedestals.root \
--dataset /A/B/C \
--global-tag 90X_dataRun2_v6 
--workflows=EcalPedestals

NOTE: I could also add a dedicated relval for this workflow but I am not sure where would this be exercised...maybe by the bot? @davidlange6 advice is needed on this topic.

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

Calibration/EcalCalibAlgos
Configuration/AlCa
Configuration/DataProcessing
Configuration/EventContent
Configuration/StandardSequences

@ghellwig, @arunhep, @cerminar, @cmsbuild, @franzoni, @mmusich, @davidlange6 can you please review it and eventually sign? Thanks.
@ghellwig, @makortel, @felicepantaleo, @GiacomoSguazzoni, @tocheng, @argiro, @Martin-Grunewald, @rovere, @ebrondol, @VinInn, @dgulhan this is something you requested to watch as well.
@Muzaffar, @davidlange6, @smuzaffar you are the release manager for this.

cms-bot commands are listed here #13028

@cerminar
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 12, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/19144/console Started: 2017/04/12 17:14

@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-18332/19144/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 1630 differences found in the comparisons
  • DQMHistoTests: Total files compared: 23
  • DQMHistoTests: Total histograms compared: 1921525
  • DQMHistoTests: Total failures: 9592
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 1911760
  • DQMHistoTests: Total skipped: 173
  • DQMHistoTests: Total Missing objects: 0
  • Checked 94 log files, 14 edm output root files, 23 DQM output files

@franzoni
Copy link

+1

@argiro
Copy link
Contributor

argiro commented Apr 19, 2017 via email

@cerminar
Copy link
Contributor Author

Hello @davidlange6
the previous implementation is buggy:

std::stringstream hname;
hname.str("EcalCalibration/EcalPedestalPCL/");
hname<<"eb_"<<1;
std::cout << hname.str() << std::endl;

results in:
eb_1Calibration/EcalPedestalPCL/

I tried quickly to fight setting the open mode to ios_base::ate with no success.
Anyhow this code is run once per run so I traded code efficiency for developer time. If you have suggestions on how to fix it please let me know.

Cheers,
G

@davidlange6
Copy link
Contributor

indeed, it seems my understanding of string stream is not correct. fortunately, there is a better way

std::string myStr= "EcalCalibration/EcalPedestalPCL/eb_" + std::to_string(1)

@cmsbuild
Copy link
Contributor

Pull request #18332 was updated. @ghellwig, @arunhep, @cerminar, @cmsbuild, @franzoni, @mmusich, @davidlange6 can you please check and sign again.

@cerminar
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 24, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/19339/console Started: 2017/04/24 11:50

@cerminar
Copy link
Contributor Author

Hello @davidlange6
the new commit should take care of the offending stringstream

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@davidlange6 davidlange6 merged commit fdeffc3 into cms-sw:master Apr 24, 2017
@cmsbuild
Copy link
Contributor

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 1645 differences found in the comparisons
  • DQMHistoTests: Total files compared: 23
  • DQMHistoTests: Total histograms compared: 1780178
  • DQMHistoTests: Total failures: 6170
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 1773835
  • DQMHistoTests: Total skipped: 173
  • DQMHistoTests: Total Missing objects: 0
  • Checked 94 log files, 14 edm output root files, 23 DQM output files

@franzoni
Copy link

transferring a small block to the T2_CH_CERN relval
for relval to be developed
https://cmsweb.cern.ch/phedex/prod/Request::View?request=1003291

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

5 participants