sphenix-software-l AT lists.bnl.gov
Subject: sPHENIX discussion of software
List archive
[Sphenix-software-l] please test your macros with our new cell code
- 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] please test your macros with our new cell code
- Date: Fri, 17 Mar 2017 17:16:52 -0400
Hi folks, I simplified the code which collects the g4hits and bins them into cells. The original PHG4CylinderCell class was really meant for cylinders and rather than adding more versions to deal with our various detector implementations I create a new class (PHG4Cell) with properties (like our g4hits). That will allow us a bit more freedom in adjusting this class to our needs without having to keep track of gazillions of versions. So far this change is only implemented for the sPHENIX barrel (not fs/ePHENIX) I made sure that our standard reco macros work and the resulting tracks/clusters don't change. But it is a rather big modification in the machinery and before merging this I would ask for you to test it. I made a play build from the new sources, you can use it by sourcing the setup script like: source /opt/sphenix/core/bin/sphenix_setup.csh -n play The only macro which needs adjusting is the G4_CEmc_Spacal.C, take it from my fork: https://github.com/pinkenburg/macros/blob/master/macros/g4simulations/G4_CEmc_Spacal.C or change the 2 lines according to: https://github.com/sPHENIX-Collaboration/macros/pull/50/files (or just remove both cemc_cells->set_timing_window_defaults(0.0,60.0);, the defaults for these parameters are set to 0/60) 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] please test your macros with our new cell code, Chris Pinkenburg, 03/17/2017
Archive powered by MHonArc 2.6.24.