[ROOT-6064] Trouble with read-rule in selection.xml Created: 12/Feb/14  Updated: 25/Mar/14  Resolved: 25/Mar/14

Status: Closed
Project: ROOT
Component/s: Dictionaries
Affects Version/s: 5.34/00
Fix Version/s: None

Type: Bug Priority: High
Reporter: Walter Lampl Assignee: Philippe Canal
Resolution: Fixed Votes: 0
Labels: None

Atlas offline software

Attachments: XML File selection.xml    


I am trying to use read-rules to convert a CLHEP Matrix stored in a POOL file into an Eigen Matrix. The selection.xml file is attached.

The first read-rule to convert the AlignableTransform::AlignTransMember works fine. The second one, to convert the
std::map<std::string,HepGeom::Transform3D> inside the class DetCondKeyTrans does not work. I get an error like:

06C9EAE8-6F5B-E011-BAAA-003048F0E7AC Debug Opened container CollectionTree(DetCondKeyTrans//LAR/Align) of type ROOT_Tree
Error in <TBufferFile::ReadVersion>: Could not find the StreamerInfo with a checksum of 0xfcc44f1b for the class "Eigen::Transform<double,3,2,0>" in /afs/cern.ch/atlas/conditions/poolcond/vol0/cond09_mc.000029.gen.COND/cond09_mc.000029.gen.COND._0002.pool.root.

To me that sounds like ROOT hasn't realized that it has to replace DetCondKeyTrans.m_keyTrans by a different type.

Any hint how to fix or work-around this would be appreciated!

Many thanks in advance, Walter

Comment by Axel Naumann [ 12/Feb/14 ]


This is 5.34, right?

Are you storing Eigen objects? I was told ATLAS does not plan to do that...

Cheers, Axel.

Comment by Walter Lampl [ 12/Feb/14 ]

Hello Axel,

yes, it's 5.34/09.

We don't store Eigen objects, we use T/P converter to convert them into flat vectors. But I have to read back an old conditions object that was written prior to T/P conversion. It contains a CLHEP Transform. The transient object contains an Eigen Transform that I would like to fill from the CLHEP transform stored on file.

Cheers, Walter

Comment by Axel Naumann [ 12/Feb/14 ]

Thanks, Walter. Philippe will take care of this.

Cheers, Axel.

Comment by Philippe Canal [ 20/Feb/14 ]


Could you upload an example file?
No need, I was able to grab the file from afs.


Comment by Philippe Canal [ 20/Feb/14 ]


This problem has been solved in the master and the v5.34 patch branch and will be part of the v5.34/16 patch release.


Generated at Tue Sep 24 11:05:36 CEST 2019 using Jira 7.13.1#713001-sha1:5e06076c2d215a6f699b7e5c90ab2fae7ba5a1ce.