Analysis Software
Documentation for sPHENIX simulation software
|
Functions | |
def | help |
def | convert |
def | plot |
def | main |
Variables | |
int | tiny 1 |
def global-time-converter.convert | ( | dataset, | |
t0 | |||
) |
Definition at line 41 of file global-time-converter.py.
View newest version in sPHENIX GitHub at line 41 of file global-time-converter.py
References Acts.enumerate().
Referenced by main().
def global-time-converter.help | ( | ) |
This script transforms the initial condition from (tau, x, y, eta) frame to (t, x, y, z) frame. This conversion assumes longitudinal Bjorken expansion and transverse still. The entropy density in longitudinal-local frame at constant proper time tau0 is: s(tau0, x, y, eta) = s0(x,y,eta)/tau0 = ns0(x,y,eta) <-- trento3d Assuming Bjorken expansion for a short proper time, s(tau, x, y, eta) = 1/tau*s0(x,y,eta) = tau0/tau*ns0(x,y,eta) -- (1) Expression (1) is transformed into (t, x, y, z) via, s'(t0, x, y, z) = 1/tau*ns0(x, y, eta) tau = sqrt(t0^2 - z^2) eta = 1/2*ln[(t0+z)/(t0-z)] where tau0 is absorbed into normalization of ns0 (see --normalization option of the trento3d model). Usage: {:s} trento3d-hdf5-output t0 [list-of-event-id-to-convert] For example, to convert all events to t0=1fm/c: {:s} ic.hdf5 1.0 To convert only events #2 and #3 to t0=1fm/c: {:s} ic.hdf5 1.0 2 3
Definition at line 6 of file global-time-converter.py.
View newest version in sPHENIX GitHub at line 6 of file global-time-converter.py
References print().
Referenced by main().
def global-time-converter.main | ( | void | ) |
Definition at line 79 of file global-time-converter.py.
View newest version in sPHENIX GitHub at line 79 of file global-time-converter.py
References convert(), material_mapping_optimisation.format, help(), and plot().
def global-time-converter.plot | ( | x, | |
y, | |||
z, | |||
s | |||
) |
Definition at line 67 of file global-time-converter.py.
View newest version in sPHENIX GitHub at line 67 of file global-time-converter.py
Referenced by main().
int global-time-converter.tiny 1 |
Definition at line 39 of file global-time-converter.py.
View newest version in sPHENIX GitHub at line 39 of file global-time-converter.py