Skip to Content.
Sympa Menu

sphenix-software-l - [Sphenix-software-l] new macros

sphenix-software-l AT lists.bnl.gov

Subject: sPHENIX discussion of software

List archive

Chronological Thread  
  • From: pinkenburg <pinkenburg AT bnl.gov>
  • To: "sphenix-software-l AT lists.bnl.gov" <sphenix-software-l AT lists.bnl.gov>
  • Subject: [Sphenix-software-l] new macros
  • Date: Fri, 10 Jul 2020 22:20:58 -0400

Hi folks,

I found a way that the new and old macros can coexist until we switch over. If you do a git pull in the macro area you will find a new directory tree detectors/sPHENIX (fsPHENIX, EICDetector). These contain only the steering macros (the Fun4All_G4_XXX.C and G4Setup_XXX.C which define the actual detector). The subsystem G4_XXX.C macros are in ./common and are installed centrally by our build under $OFFLINE_MAIN/rootmacros which is now appended to the ROOT_INCLUDE_PATH. They'll be found by root just like the other include files. This setup does not interfere with the old macros which are fully functional and allows you to compare the handling.
If you want to modify a subsystem macro, you can just copy it locally. Root will pick your modified copy (the way root does the include finding is a bit hokey, if you find a case where that doesn't work let me know).

I haven't copied the pythia/sartre (and other)  configuration files. I would like to avoid their proliferation and will find a central place for those as well.

Please give this a try - I would like to finalize this soon. If you look at the Fun4All macros, you'll find that the old do_XXX was replaced by Enable:: with very similar look and feel (one difference being that if they are commented out they just default to false). There are a bunch of consistency checks added behind the scenes which should make it more difficult to run with wrong settings.

Chris

--
*************************************************************

Christopher H. Pinkenburg ; pinkenburg AT bnl.gov
; http://www.phenix.bnl.gov/~pinkenbu

Brookhaven National Laboratory ; phone: (631) 344-5692
Physics Department Bldg 510 C ; fax: (631) 344-3253
Upton, NY 11973-5000

*************************************************************




  • [Sphenix-software-l] new macros, pinkenburg, 07/10/2020

Archive powered by MHonArc 2.6.24.

Top of Page