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

adding puppi to miniAODs #8122

Merged
merged 18 commits into from Mar 17, 2015
Merged

Conversation

jshlee
Copy link
Contributor

@jshlee jshlee commented Mar 6, 2015

added puppi jet collection and puppi met into miniAODs

added jet charge, btagging, secondary vertex info and daughter links for puppi jets

added puppi weights as packed 8 bit into packcandidates

removed labels in puppi producer since only three different types of objects are produced

fixed the packing for liblogintpack, negative values were being lost

updated PackedCandidate ClassVersion to 17

added new iputs to PATPackedCandidateProducer, (PuppiWeight, PuppiCandsMap and PuppiCands) to save puppi weights into packcandidates and ValueMap for puppi to be able to map back to the puppi candidates from puppi jets to packcandidates

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 6, 2015

A new Pull Request was created by @jshlee (Jason Lee) for CMSSW_7_5_X.

adding puppi to miniAODs

It involves the following packages:

DataFormats/PatCandidates
PhysicsTools/PatAlgos

@cmsbuild, @vadler, @nclopezo, @monttj can you please review it and eventually sign? Thanks.
@rappoccio, @imarches, @ahinzmann, @acaudron, @mmarionncern, @jdolen, @nhanvtran, @schoef, @ferencek, @mariadalfonso, @pvmulder, @TaiSakuma 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.
If you are a L2 or a release manager you can ask for tests by saying 'please test' in the first line of a comment.
@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

cmsbuild commented Mar 6, 2015

Pull request #8122 was updated. @cmsbuild, @vadler, @nclopezo, @monttj can you please check and sign again.

@arizzi
Copy link
Contributor

arizzi commented Mar 7, 2015

I'm testing the size effect

adding @gpetruc


addJetCollection(process, postfix = "", labelName = 'Puppi', jetSource = cms.InputTag('ak4PFJetsPuppi'),
jetCorrections = ('AK4PF', ['L1FastJet', 'L2Relative', 'L3Absolute'], ''),
algo= 'AK', rParam = 0.4)
Copy link
Contributor

Choose a reason for hiding this comment

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

b-tagging should be enabled here

@arizzi
Copy link
Contributor

arizzi commented Mar 7, 2015

added b-tagging and merged with #8132 on https://github.com/arizzi/cmssw/tree/miniAOD-pvassociation-packedsorting-puppi

now testing overall size

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 7, 2015

Pull request #8122 was updated. @cmsbuild, @vadler, @nclopezo, @monttj can you please check and sign again.

@@ -268,6 +268,8 @@ bool pat::PackedCandidate::longLived() const {return false;}

bool pat::PackedCandidate::massConstraint() const {return false;}

// puppiweight
void pat::PackedCandidate::setPuppiWeight(float p) { packedPuppiweight_ = pack8log(p,-2,0);}
Copy link
Contributor

Choose a reason for hiding this comment

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

how about making it symmetric in -1,1 instead? so that it has higher precision near zero too?
pack8log( (p-0.5)*2,-2,0,64)
where the last argument (64) is needed if you want to take the same space as it is doing now with 7+1 signed bits (i.e. one is never used)

@arizzi
Copy link
Contributor

arizzi commented Mar 7, 2015

concerning the daughters of jets ideally one should create the value map
PuppiCandidates -> original PF Candidates here:
CommonTools/PileupAlgos/plugins/PuppiProducer.cc
and then read it in PATPackedCandidateProducer and add to the already produced value map also the
puppi -> packed (this value map already contains original PF -> packed and trackRefs to packed)

@arizzi
Copy link
Contributor

arizzi commented Mar 8, 2015

here some size estimate including also #8132 (and fixing the conflicts)
http://arizzi.web.cern.ch/arizzi/puppipuppi.html

we still miss the daughter vector to be properly rekeyed (it should take another ~200-300 bytes/event)

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 9, 2015

Pull request #8122 was updated. @cmsbuild, @vadler, @nclopezo, @monttj can you please check and sign again.

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 9, 2015

-1
@jshlee This pull request cannot be automatically merged, could you please rebase it?

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

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