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

Ecal laser alphas #17234

Closed
wants to merge 2 commits into from
Closed

Ecal laser alphas #17234

wants to merge 2 commits into from

Conversation

depasse
Copy link
Contributor

@depasse depasse commented Jan 20, 2017

Laser alpha now Xtal by Xtal from a txt file. Upgrade : before, only a mean for Russian/Chinese Xtals.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @depasse for CMSSW_9_0_X.

It involves the following packages:

CalibCalorimetry/EcalTrivialCondModules
CondTools/Ecal

@ghellwig, @arunhep, @cerminar, @cmsbuild, @franzoni, @ggovi, @mmusich, @davidlange6 can you please review it and eventually sign? Thanks.
@ghellwig, @apfeiffer1, @tocheng, @argiro this is something you requested to watch as well.
@davidlange6, @smuzaffar you are the release manager for this.

cms-bot commands are listed here #13028

@arunhep
Copy link
Contributor

arunhep commented Jan 20, 2017

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 20, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/17351/console Started: 2017/01/20 20:37

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

@franzoni
Copy link

hello @depasse
what are you trying to achieve by loading alpha values in the release as text files ?
Can db tas and candidate GT's help you
( instructions on how to compose candidate GT's https://indico.cern.ch/event/507993/ - we're willing to help of course)

@depasse
Copy link
Contributor Author

depasse commented Jan 24, 2017

The aim of the PR is to create a sqlite_file from simple txt files given by anyone.
EBLaserAlpha_fromFile.txt and EELaserAlpha_fromFile.txt are only examples to show the format needed (may be removed if necessary).
But EBLaserAlpha.txt and EELaserAlpha.txt are essential : there are the only source of the construction barcode of each Xtal, allowing to distinguish between Russian/Chinese.

@franzoni
Copy link

franzoni commented Feb 6, 2017

hello @depasse , I see that the data files range between 0.2 to 3 MB

@smuzaffar @davidlange6
can you remind us the policy, what is the size above which we need to move data files out of the standard CMSSW REPO ?
Would in that case https://github.com/cms-sw/cmsdist be the place, can you please remind us the policy and recomandations ?

Thanks.

@franzoni
Copy link

@smuzaffar @davidlange6
can you remind us the policy, what is the size above which we need to move data files out of the standard CMSSW REPO ?

Thanks!

@smuzaffar
Copy link
Contributor

@franzoni , although there is no min-size limit policy but in practice any thing above 10K (or binary files) should go to https://github.com/cms-data . All of data files in this PR are good candidate to go to https://github.com/cms-data/CalibCalorimetry-EcalTrivialCondModules (which does not exist yet).

@davidlange6
Copy link
Contributor

davidlange6 commented Feb 10, 2017 via email

@depasse
Copy link
Contributor Author

depasse commented Feb 10, 2017

The aim of the PR is to create a sqlite_file from simple txt files given by anyone : it is the usual way to proceed). It is not a DB backup.
Could you then give me the instructions to create https://github.com/cms-data/CalibCalorimetry-EcalTrivialCondModules/data (if I'm authorized to proceed), how to copy the txt files and how to modify my python files in CondTools/Ecal/test/alpha (presently : process.EcalTrivialConditionRetriever.EELaserAlphaFile = cms.untracked.string('CalibCalorimetry/EcalTrivialCondModules/d
ata/EELaserAlpha_fromFile.txt'). Thanks a lot.

@franzoni
Copy link

hello @smuzaffar @davidlange6
would you have a moment to point @depasse to instructions on how to do that ?
Thanks!

@franzoni
Copy link

hello @depasse

creating the folder suggested by @smuzaffar in https://github.com/cms-data follows the same logic as any other git-based project: clone the repository locally, add your files in the proposed directory, make a pull request to the github repository.

This post gives you the elements to than access the files from your test .py configurations: cms-data/GeneratorInterface-EvtGenInterface#9 (comment)

HTH!

@depasse
Copy link
Contributor Author

depasse commented Feb 17, 2017 via email

@smuzaffar
Copy link
Contributor

@depasse , repository https://github.com/cms-data/CalibCalorimetry-EcalTrivialCondModules now exists. Please fork it and then make a PR with your updates

@depasse
Copy link
Contributor Author

depasse commented Feb 17, 2017 via email

@smuzaffar
Copy link
Contributor

@depasse , you can access using FileInPath see some examples here https://github.com/cms-sw/cmssw/search?l=Python&q=FileInPath&utf8=%E2%9C%93

@smuzaffar
Copy link
Contributor

there is now cmsdist PR available for the data files cms-sw/cmsdist#2831.
@depasse , you can remove the data files from this PR and then once can start tests by using
please test with cms-sw/cmsdist#2831 cms-bot command

@depasse depasse mentioned this pull request Feb 17, 2017
@smuzaffar
Copy link
Contributor

closing in favour of #17546

@smuzaffar smuzaffar closed this Feb 17, 2017
@depasse
Copy link
Contributor Author

depasse commented Feb 18, 2017 via email

@davidlange6
Copy link
Contributor

davidlange6 commented Feb 18, 2017 via email

@depasse
Copy link
Contributor Author

depasse commented Feb 18, 2017 via email

@cmsbuild cmsbuild mentioned this pull request Mar 2, 2017
@depasse depasse deleted the EcalLaserAlphas branch December 20, 2018 09:48
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