Difference between revisions of "SRC-CT Software"

From GlueXWiki
Jump to: navigation, search
(Hall D Software)
(GCF Generator)
Line 25: Line 25:
 
./genPhoto [Z] [N] [Beam Energy] [outputFile.root] [# of prescribed events]
 
./genPhoto [Z] [N] [Beam Energy] [outputFile.root] [# of prescribed events]
  
The output file will be a ROOT-file with a tree of particle momentum, particle ID codes in PDG format, and event weights in units of nanobarns. Note that to determine the absolute cross section, it is necessary to divide by the ''prescribed'' number of events, rather than the written number of events.
+
The output file will be a ROOT file with a tree of particle momentum, particle ID codes in PDG format, and event weights in units of nanobarns. Note that to determine the absolute cross section, it is necessary to divide by the ''prescribed'' number of events, rather than the written number of events.
 +
 
 +
Hall D software requires particle information to be provided in "HDDM" format to be used in propagation and reconstruction. To produce events written in this format, run the generator with the following options:
 +
 
 +
./genPhoto [Z] [N] [Beam Energy] [weights.root] [# of prescribed events] -A [outputFile.txt]
 +
 
 +
The ROOT file will have a tree containing only the event weights; the text file will be an ASCII-formatted file containing particle information. To convert this file to "HDDM" format, follow instruction given below.
  
 
== ''' Hall D Software ''' ==
 
== ''' Hall D Software ''' ==

Revision as of 22:36, 29 June 2020

GCF Generator

Repository:

https://github.com/JacksonPybus/GCF_Generator_Suite/

This is currently a private repository. If you do not have access, contact Jackson Pybus (jrpybus@mit.edu) and request to be added as a collaborator


How to run:


Compile

Navigate to a build directory of your choice (i.e. GCF_Generator Suite/build)

ccmake [path to]/GCF_Generator/src

make

Run

Navigate to build/programs/genPhoto

./genPhoto [Z] [N] [Beam Energy] [outputFile.root] [# of prescribed events]

The output file will be a ROOT file with a tree of particle momentum, particle ID codes in PDG format, and event weights in units of nanobarns. Note that to determine the absolute cross section, it is necessary to divide by the prescribed number of events, rather than the written number of events.

Hall D software requires particle information to be provided in "HDDM" format to be used in propagation and reconstruction. To produce events written in this format, run the generator with the following options:

./genPhoto [Z] [N] [Beam Energy] [weights.root] [# of prescribed events] -A [outputFile.txt]

The ROOT file will have a tree containing only the event weights; the text file will be an ASCII-formatted file containing particle information. To convert this file to "HDDM" format, follow instruction given below.

Hall D Software

GlueX Software Page

https://halldweb.jlab.org/wiki/index.php/GlueX_Offline_Software


Repository:

  • Reconstruction:
https://github.com/jeffersonlab/halld_recon
  • Simulation:
https://github.com/jeffersonlab/halld_sim

Geant Geometry

https://github.com/jeffersonlab/hdds

& Install software:

git clone https://github.com/jeffersonlab/halld_recon


How to run



Compile plugin

scons -u install

Location of data

List of runs:

https://halldweb.jlab.org/rcdb

on ifarms:

/cache/halld/RunPeriod-2019-01/rawdata/Run061914/hd_rawdata_061914_*.evio


Data on tape:

ls /mss/halld/RunPeriod-2019-01/rawdata/

Retrieve file from tape:

jcache get /mss/halld/RunPeriod-2019-01/rawdata/Run_number/*.evio


Examples


Convert ASCII file to HDDM