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

Making Quark-Gluon likelihood conditions DB object #2924

Merged
merged 6 commits into from Apr 3, 2014

Conversation

rappoccio
Copy link
Contributor

This is the first attempt at translating static ROOT files (which the authors wanted to ship with CMSSW) into CondDB objects. They will be stored in QGLikelihoodObject objects. There will be further test configurations once the objects are actually in the database, but for now the only test is writing to local sqlite files and reading again. This replaces ad-hoc functionality from #2820 with a more robust strategy.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @rappoccio for CMSSW_7_1_X.

Making Quark-Gluon likelihood conditions DB object

It involves the following packages:

CondCore/JetMETPlugins
CondFormats/DataRecord
CondFormats/JetMETObjects
JetMETCorrections/Modules

@apfeiffer1, @nclopezo, @monttj, @cmsbuild, @diguida, @rcastello, @ggovi, @vadler, @Degano can you please review it and eventually sign? Thanks.
@ghellwig, @TaiSakuma, @nhanvtran this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
@nclopezo, @ktf you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@cmsbuild
Copy link
Contributor


void QGLikelihoodDBReader::analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup)
{
std::cout << "Getting QGL objects from DB" << std::endl;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please switch to MessageLogger here and elsewhere? This should be max. an edm::LogInfo.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, Volker,

I can for completeness, but this is a "user-level" plugin that is designed to be run by the QGL contact once in a while, but interactively with lots of debugging output. They'll always have it on, so I'm not sure that LogInfo is the way to go (since the user will always turn it on).

Cheers,
Sal

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sal, couts will get garbled in the threaded framework while MessageLogger will be fine.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, All,

OK, I can change this then. But can I make it a warning so people will always see it? Or do I really have to make this a LogInfo (and the user will have to do the somewhat painful step of enabling it)?

Cheers,
Sal

@cmsbuild
Copy link
Contributor

Pull request #2924 was updated. @apfeiffer1, @nclopezo, @monttj, @cmsbuild, @diguida, @rcastello, @ggovi, @vadler, @Degano can you please check and sign again.

@cmsbuild
Copy link
Contributor

@rappoccio
Copy link
Contributor Author

Hi, Folks,

Any word on this? We'd like to start the process of getting these in the DB.

Thanks,
Sal

@apfeiffer1
Copy link
Contributor

+1
looks ok to me ...

@rappoccio
Copy link
Contributor Author

Hi, Folks,

So, are we okay here?

Cheers,
Sal

@rcastello
Copy link

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 3, 2014

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_1_X IBs unless changes (tests are also fine). @nclopezo, @ktf can you please take care of it?

ktf added a commit that referenced this pull request Apr 3, 2014
AlCa -- Making Quark-Gluon likelihood conditions DB object
@ktf ktf merged commit 48e9638 into cms-sw:CMSSW_7_1_X Apr 3, 2014
@rappoccio rappoccio deleted the rappoccio_qgl_conddb branch April 9, 2014 19:17
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

8 participants