-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Reco Updates -- Add calibrated energy to CaloCluster #686
Conversation
A new Pull Request was created by @lgray (Lindsey Gray) for CMSSW_7_0_X. add calibrated energy to CaloCluster It involves the following packages: DataFormats/CaloRecHit @thspeer, @slava77 can you please review it and eventually sign? Thanks. |
Hi Lindsey. Thanks |
Hi Slava, This is basically an addition for PF so we don't have to cast back to Best, On Mon, Sep 2, 2013 at 11:45 AM, slava77 notifications@github.com wrote:
|
Hi, I ran the tests for this pull request on top of CMSSW_7_0_X_2013-09-02-0200 all tests passed: you can see the artifacts here: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/363/ |
I was expecting to still be able to read the previous version of the objects with the new dictionary version. |
That's not the way I understand how ROOT's schema evolution is supposed to work. |
@slava77 Slava, what did you see that made you conclude that you couldn't read the old format? |
Right expected, but still, I can read the base class with the change, but I can't read the derived one. e = new TChain("Events") e->Draw("recoCaloClusters_multi5x5SuperClusters_multi5x5EndcapBasicClusters_RECO.obj@.size()") e->Draw("recoPreshowerClusters_multi5x5SuperClustersWithPreshower_preshowerXClusters_RECO.obj@.size()") Not that long ago (las Fall, maybe) we had to increase some derived classes version numbers when changing something simple in a base class (was it TrackBase or smth, don't recall). Back then it was blamed on some bug in reflex. |
What is the first error message? |
Hi Philippe eo->Draw("recoPreshowerClusters_multi5x5SuperClustersWithPreshower_preshowerXClusters_RECO.obj@.size()"); >& eoPR686.log Error in TBufferFile::ReadClassBuffer: class: ROOT::Math::PositionVector3DROOT::Math::Cartesian3D<double,ROOT::Math::DefaultCoordinateSystemTag>, attempting to access a wrong version: 16499, object skipped at offset 259 Then it says something pretty similar for all the elements of the data members of the class. I put the first few seconds of the errors in |
Does the problem disappear if you also change the derived class version number? (Especially if it does, I would interested in taking a look (for future improvement) at the input root file). Thanks, |
Hi Philippe, Yes, the problem disappears after I increment the class version for one of the derived classes: DataFormats/EgammaReco/src/classes_def.xml
https://github.com/cms-sw/cmssw/blob/CMSSW_7_0_X/DataFormats/EgammaReco/src/classes_def.xml Should I go on change this for all other classes (not such a fun exercise) Slava |
d'oh the code snippet does not display well |
|
@slava77 commits finally added after github weirdness |
Pull request #686 was updated. @nclopezo, @smuzaffar, @thspeer, @slava77 can you please check and sign again. |
@slava77 A minor delay, the DPG conveners want a bit of time to think a bit more about the naming. |
@lgray |
@lgray |
@slava77 Yes, about to send a new commit. |
Pull request #686 was updated. @nclopezo, @smuzaffar, @thspeer, @slava77 can you please check and sign again. |
+1 tested 5d78f7b in CMSSW_7_0_X_2013-10-03-1400 |
This pull request is fully signed and it will be integrated in one of the next IBs unless changes or unless it breaks tests. @ktf can you please take care of it? |
Reco Updates -- Add calibrated energy to CaloCluster
This is to reduce the number of additional intermediate collections needed for the particle flow ECAL clusters and super clusters.
It doesn't interfere with any of the current cluster producers.
Based on CMSSW_7_0_0_pre3.