Skip to Content.
Sympa Menu

sphenix-software-l - Re: [Sphenix-software-l] file extension needed to run a list of files?

sphenix-software-l AT lists.bnl.gov

Subject: sPHENIX discussion of software

List archive

Chronological Thread  
  • From: Cameron Thomas Dean <cameron.dean AT cern.ch>
  • To: "Bryan, Justin" <jb675619 AT ohio.edu>, "'sphenix-software-l AT lists.bnl.gov'" <sphenix-software-l AT lists.bnl.gov>
  • Subject: Re: [Sphenix-software-l] file extension needed to run a list of files?
  • Date: Mon, 6 Jun 2022 17:20:27 +0000

Hi Justin,

I think you might want to do something like in this example


void Fun4All_MDC2reco(vector<string> myInputLists = {"condorJob/fileLists/productionFiles-CHARM-dst_tracks-00000.list"}, const int nEvents = 10)

{



  for (unsigned int i = 0; i < myInputLists.size(); ++i)

 

  {

 

    Fun4AllInputManager *infile = new Fun4AllDstInputManager("DSTin_" + to_string(i));

 

    infile->AddListFile(myInputLists[i]);

 

    se->registerInputManager(infile);

  }


}

this takes a vector of strings, each string is a different set in input DST lists (one for calo, one for vtx etc) and adds it to the Fun4All server. You should only need the file name, not the path and any extension should be OK.

Cheers,
Cameron

From: sPHENIX-software-l <sphenix-software-l-bounces AT lists.bnl.gov> on behalf of "Bryan, Justin via sPHENIX-software-l" <sphenix-software-l AT lists.bnl.gov>
Reply-To: "Bryan, Justin" <jb675619 AT ohio.edu>
Date: Monday, June 6, 2022 at 1:05 PM
To: "'sphenix-software-l AT lists.bnl.gov'" <sphenix-software-l AT lists.bnl.gov>
Subject: [Sphenix-software-l] file extension needed to run a list of files?

 

After I created 2 separate lists from MDC2 files (calo g4hit and vertex), I created 2 smaller .list to hold just a few of the first files in each original .list that was created.

 

I want to run over the smaller set of .list, but F4A does not like this. What is the proper file extension needed to run through a list of files? Thanks in advance.

 

Justin W. Bryan

Graduate Research Assistant

Department of Physics & Astronomy

Ohio University

Athens, OH 45701

 




Archive powered by MHonArc 2.6.24.

Top of Page