sphenix-software-l AT lists.bnl.gov
Subject: sPHENIX discussion of software
List archive
[Sphenix-software-l] backward compatibility breaking change
- From: Chris Pinkenburg <pinkenburg AT bnl.gov>
- To: "'sphenix-software-l AT lists.bnl.gov'" <sphenix-software-l AT lists.bnl.gov>
- Subject: [Sphenix-software-l] backward compatibility breaking change
- Date: Wed, 7 Dec 2016 18:37:18 -0500
Hi folks,
we decided to allocate 32 bits for the detector id (the old layer number) instead of 8 we had before. It's mainly for ease of use dealing with 2 ints rather than an arbitrary split (we needed only 25 bits for the 20mio spacal fibers but we definitely won't create more then 4B hits in a single detector).
When the ongoing build is finished in 10 minutes reading old DSTs with the updated libraries will give strange results (the detector id will always be 0 but you'll get really large hit ids). This is accompanied by changes in phool which don't affect reading DSTs but you will have to recompile all private code against the new version of our libraries.
The macros for the hcals have changed a bit so you need to fetch an updated version of the G4_HcalIn_ref.C and G4_HcalOut_ref.C in,
Chris
--
*********************************************************
Christopher H. Pinkenburg ; pinkenburg AT bnl.gov
Brookhaven National Laboratory ; phone: (631) 344-5692
Physics Department Bldg 510 C ; fax: (631) 344-3253
Upton, NY 11973-5000
http://www.phenix.bnl.gov/~pinkenbu/
*********************************************************
- [Sphenix-software-l] backward compatibility breaking change, Chris Pinkenburg, 12/07/2016
Archive powered by MHonArc 2.6.24.