sphenix-software-l AT lists.bnl.gov
Subject: sPHENIX discussion of software
List archive
- 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] macro change
- Date: Mon, 8 Feb 2021 15:57:59 -0500
Hi folks,
in order to be able to run multiple input managers in parallel I needed to make a small change to our Fun4All macros which needs to be propagated to the versions you are using.
Instead of
INPUTREADHITS::filename = inputFile;
INPUTEMBED::filename = embed_input_file;
You need to give those an index:
INPUTREADHITS::filename[0] = inputFile;
INPUTEMBED::filename[0] = embed_input_file;
It is a map - so the index doesn't have to be zero. If you want to read multiple files in parallel use multiple filenames (with different indices). The rest is taken care of in the background (G4_Input.C to be precise). The input uses the synchronization to guarantee that you don't mix events. If this is not what you want - it can be done but drop me a line
The build with the new macros just finished and is being released right now. It should be life in about 20 minutes
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] macro change, pinkenburg, 02/08/2021
Archive powered by MHonArc 2.6.24.