Analysis Software
Documentation for sPHENIX simulation software
|
#include <JETSCAPE/blob/main/src/hydro/HydroFromFile.h>
Public Member Functions | |
HydroFromFile () | |
~HydroFromFile () | |
void | clean_hydro_event () |
clean up hydro event | |
void | InitializeHydro (Parameter parameter_list) |
This function initials hydro parameters and read in a hydro event. | |
void | read_in_hydro_event (string VISH_filename, int buffer_size, int load_viscous) |
This function load a VISHNew hydro event. | |
void | read_in_hydro_event (string input_file, string hydro_ideal_file, int nskip_tau) |
This function load a MUSIC hydro event. | |
void | read_in_hydro_event (string input_file, string preEq_file, string hydro_ideal_file, int nskip_tau) |
This function load a PreEq event and a MUSIC hydro event. | |
void | EvolveHydro () |
This function is a dummy function. | |
void | GetHydroInfo (Jetscape::real t, Jetscape::real x, Jetscape::real y, Jetscape::real z, std::unique_ptr< FluidCellInfo > &fluid_cell_info_ptr) |
double | GetEventPlaneAngle () |
void | set_hydro_event_idx (int idx_in) |
int | get_hydro_event_idx () |
void | GetHyperSurface (Jetscape::real T_cut, SurfaceCellInfo *surface_list_ptr) |
Public Member Functions inherited from Jetscape::FluidDynamics | |
FluidDynamics () | |
virtual | ~FluidDynamics () |
virtual void | Init () |
virtual void | Exec () |
virtual void | Clear () |
Parameter & | GetParameterList () |
virtual void | CollectHeader (weak_ptr< JetScapeWriter > w) |
virtual void | GetTemperature (double t, double x, double y, double z, double &mT) |
virtual void | GetHydroCell (double t, double x, double y, double z, std::unique_ptr< FluidCellInfo > &fCell) |
int | GetHydroStatus () const |
void | StoreHydroEvolutionHistory (std::unique_ptr< FluidCellInfo > &fluid_cell_info_ptr) |
void | clear_up_evolution_data () |
void | GetHydroStartTime (double &tau0) |
Jetscape::real | GetHydroEndTime () const |
Jetscape::real | GetHydroFreezeOutTemperature () const |
void | PrintFluidCellInformation (FluidCellInfo *fluid_cell_info_ptr) |
void | FindAConstantTemperatureSurface (Jetscape::real T_sw, std::vector< SurfaceCellInfo > &surface_cells) |
virtual Jetscape::real | GetEnergyDensity (Jetscape::real time, Jetscape::real x, Jetscape::real y, Jetscape::real z) |
virtual Jetscape::real | GetEntropyDensity (Jetscape::real time, Jetscape::real x, Jetscape::real y, Jetscape::real z) |
virtual Jetscape::real | GetTemperature (Jetscape::real time, Jetscape::real x, Jetscape::real y, Jetscape::real z) |
virtual Jetscape::real | GetQgpFraction (Jetscape::real time, Jetscape::real x, Jetscape::real y, Jetscape::real z) |
virtual void | add_a_liquefier (std::shared_ptr< LiquefierBase > new_liquefier) |
void | get_source_term (Jetscape::real tau, Jetscape::real x, Jetscape::real y, Jetscape::real eta, std::array< Jetscape::real, 4 > jmu) const |
virtual void | UpdateEnergyDeposit (int t, double edop) |
slots for "jet" signals (future) | |
virtual void | GetEnergyDensity (int t, double &edensity) |
slots for "jet" signals (future) | |
const EvolutionHistory & | get_bulk_info () const |
Public Member Functions inherited from Jetscape::JetScapeModuleBase | |
JetScapeModuleBase () | |
JetScapeModuleBase (string m_name) | |
virtual | ~JetScapeModuleBase () |
void | SetXMLMainFileName (string m_name) |
string | GetXMLMainFileName () |
void | SetXMLUserFileName (string m_name) |
string | GetXMLUserFileName () |
shared_ptr< std::mt19937 > | GetMt19937Generator () |
tinyxml2::XMLElement * | GetXMLElement (std::initializer_list< const char * > path, bool isRequired=true) |
std::string | GetXMLElementText (std::initializer_list< const char * > path, bool isRequired=true) |
int | GetXMLElementInt (std::initializer_list< const char * > path, bool isRequired=true) |
double | GetXMLElementDouble (std::initializer_list< const char * > path, bool isRequired=true) |
Public Member Functions inherited from Jetscape::JetScapeTask | |
JetScapeTask () | |
virtual | ~JetScapeTask () |
virtual void | Finish () |
virtual void | ExecuteTasks () |
virtual void | ExecuteTask () |
virtual void | InitTask () |
virtual void | InitTasks () |
virtual void | ClearTasks () |
virtual void | ClearTask () |
virtual void | FinishTask () |
virtual void | FinishTasks () |
virtual void | WriteTasks (weak_ptr< JetScapeWriter > w) |
virtual void | WriteTask (weak_ptr< JetScapeWriter > w) |
virtual void | CollectHeaders (weak_ptr< JetScapeWriter > w) |
virtual void | Add (shared_ptr< JetScapeTask > m_tasks) |
virtual const int | GetMyTaskNumber () const |
const vector< shared_ptr < JetScapeTask > > | GetTaskList () const |
shared_ptr< JetScapeTask > | GetTaskAt (int i) |
void | EraseTaskLast () |
void | EraseTaskAt (int i) |
void | ResizeTaskList (int i) |
void | ClearTaskList () |
int | GetNumberOfTasks () |
const bool | GetActive () const |
void | SetActive (bool m_active_exec) |
void | SetId (string m_id) |
const string | GetId () const |
const shared_ptr < JetScapeModuleMutex > | GetMutex () const |
void | SetMutex (shared_ptr< JetScapeModuleMutex > m_mutex) |
Public Member Functions inherited from sigslot::has_slots< sigslot::multi_threaded_local > | |
has_slots () | |
has_slots (const has_slots &hs) | |
void | signal_connect (_signal_base< sigslot::multi_threaded_local > *sender) |
void | signal_disconnect (_signal_base< sigslot::multi_threaded_local > *sender) |
virtual | ~has_slots () |
void | disconnect_all () |
Private Attributes | |
int | flag_read_in_multiple_hydro_ |
int | hydro_event_idx_ |
int | load_viscous_ |
int | hydro_type_ |
int | nskip_tau_ |
double | T_c_ |
Hydroinfo_MUSIC * | hydroinfo_MUSIC_ptr |
double | PreEq_tau0_ |
double | PreEq_tauf_ |
Hydroinfo_MUSIC * | hydroinfo_PreEq_ptr |
Static Private Attributes | |
static RegisterJetScapeModule < HydroFromFile > | reg |
Additional Inherited Members | |
Static Public Member Functions inherited from Jetscape::JetScapeModuleBase | |
static int | GetCurrentEvent () |
static void | IncrementCurrentEvent () |
Protected Attributes inherited from Jetscape::FluidDynamics | |
Jetscape::real | hydro_tau_0 |
Jetscape::real | hydro_tau_max |
Jetscape::real | hydro_freeze_out_temperature |
HydroStatus | hydro_status |
std::shared_ptr< InitialState > | ini |
std::shared_ptr < PreequilibriumDynamics > | pre_eq_ptr |
double | eta |
bool | boost_invariant_ |
Parameter | parameter_list |
EvolutionHistory | bulk_info |
std::weak_ptr< LiquefierBase > | liquefier_ptr |
Definition at line 30 of file HydroFromFile.h.
View newest version in sPHENIX GitHub at line 30 of file HydroFromFile.h
HydroFromFile::HydroFromFile | ( | ) |
Definition at line 34 of file HydroFromFile.cc.
View newest version in sPHENIX GitHub at line 34 of file HydroFromFile.cc
References Jetscape::NOT_START, and SetId().
HydroFromFile::~HydroFromFile | ( | ) |
Definition at line 41 of file HydroFromFile.cc.
View newest version in sPHENIX GitHub at line 41 of file HydroFromFile.cc
void HydroFromFile::clean_hydro_event | ( | ) |
clean up hydro event
Definition at line 239 of file HydroFromFile.cc.
View newest version in sPHENIX GitHub at line 239 of file HydroFromFile.cc
References JSINFO, and Jetscape::NOT_START.
|
virtual |
This function is a dummy function.
Reimplemented from Jetscape::FluidDynamics.
Definition at line 151 of file HydroFromFile.cc.
View newest version in sPHENIX GitHub at line 151 of file HydroFromFile.cc
References Acts::UnitConstants::e, filename, Jetscape::FINISHED, perf_headwind::input_file, and JSWARN.
|
inline |
Definition at line 89 of file HydroFromFile.h.
View newest version in sPHENIX GitHub at line 89 of file HydroFromFile.h
|
virtual |
Generated event plane angle To be overwritten by implementations that have such information.
Reimplemented from Jetscape::FluidDynamics.
Definition at line 354 of file HydroFromFile.cc.
View newest version in sPHENIX GitHub at line 354 of file HydroFromFile.cc
References dummy, centProxy::inputfile, and v2.
|
virtual |
This function provide fluid cell information at a given space-time point
this function returns the thermodynamic and dynamical information at the given space-time point
Reimplemented from Jetscape::FluidDynamics.
Definition at line 257 of file HydroFromFile.cc.
View newest version in sPHENIX GitHub at line 257 of file HydroFromFile.cc
References Jetscape::FluidCellInfo::bulk_Pi, hydrofluidCell::bulkPi, Acts::UnitConstants::e, hydrofluidCell::ed, Jetscape::FluidCellInfo::energy_density, Jetscape::FluidCellInfo::entropy_density, Jetscape::FINISHED, i, j, JSWARN, Jetscape::FluidCellInfo::mu_B, Jetscape::FluidCellInfo::mu_C, Jetscape::FluidCellInfo::mu_S, hydrofluidCell::pi, Jetscape::FluidCellInfo::pi, hydrofluidCell::pressure, Jetscape::FluidCellInfo::pressure, Jetscape::FluidCellInfo::qgp_fraction, hydrofluidCell::sd, t, hydrofluidCell::temperature, Jetscape::FluidCellInfo::temperature, hydrofluidCell::vx, Jetscape::FluidCellInfo::vx, hydrofluidCell::vy, Jetscape::FluidCellInfo::vy, hydrofluidCell::vz, Jetscape::FluidCellInfo::vz, ambiguity_solver_full_chain::x, y, and physmon_track_finding_ttbar::z.
|
inline |
Definition at line 90 of file HydroFromFile.h.
View newest version in sPHENIX GitHub at line 90 of file HydroFromFile.h
|
virtual |
This function initials hydro parameters and read in a hydro event.
this function loads the hydro files
Reimplemented from Jetscape::FluidDynamics.
Definition at line 44 of file HydroFromFile.cc.
View newest version in sPHENIX GitHub at line 44 of file HydroFromFile.cc
References Jetscape::INITIALIZED, JSDEBUG, JSWARN, physmon_simulation::s, VERBOSE, and verbose.
void HydroFromFile::read_in_hydro_event | ( | string | VISH_filename, |
int | buffer_size, | ||
int | load_viscous | ||
) |
This function load a VISHNew hydro event.
Definition at line 94 of file HydroFromFile.cc.
View newest version in sPHENIX GitHub at line 94 of file HydroFromFile.cc
References Jetscape::FINISHED, and JSINFO.
void HydroFromFile::read_in_hydro_event | ( | string | input_file, |
string | hydro_ideal_file, | ||
int | nskip_tau | ||
) |
This function load a MUSIC hydro event.
Definition at line 106 of file HydroFromFile.cc.
View newest version in sPHENIX GitHub at line 106 of file HydroFromFile.cc
References Jetscape::FINISHED, and JSINFO.
void HydroFromFile::read_in_hydro_event | ( | string | input_file, |
string | preEq_file, | ||
string | hydro_ideal_file, | ||
int | nskip_tau | ||
) |
This function load a PreEq event and a MUSIC hydro event.
Definition at line 130 of file HydroFromFile.cc.
View newest version in sPHENIX GitHub at line 130 of file HydroFromFile.cc
References Jetscape::FINISHED, and JSINFO.
|
inline |
Definition at line 88 of file HydroFromFile.h.
View newest version in sPHENIX GitHub at line 88 of file HydroFromFile.h
|
private |
Definition at line 34 of file HydroFromFile.h.
View newest version in sPHENIX GitHub at line 34 of file HydroFromFile.h
|
private |
Definition at line 35 of file HydroFromFile.h.
View newest version in sPHENIX GitHub at line 35 of file HydroFromFile.h
|
private |
Definition at line 38 of file HydroFromFile.h.
View newest version in sPHENIX GitHub at line 38 of file HydroFromFile.h
|
private |
Definition at line 46 of file HydroFromFile.h.
View newest version in sPHENIX GitHub at line 46 of file HydroFromFile.h
|
private |
Definition at line 50 of file HydroFromFile.h.
View newest version in sPHENIX GitHub at line 50 of file HydroFromFile.h
|
private |
Definition at line 37 of file HydroFromFile.h.
View newest version in sPHENIX GitHub at line 37 of file HydroFromFile.h
|
private |
Definition at line 40 of file HydroFromFile.h.
View newest version in sPHENIX GitHub at line 40 of file HydroFromFile.h
|
private |
Definition at line 48 of file HydroFromFile.h.
View newest version in sPHENIX GitHub at line 48 of file HydroFromFile.h
|
private |
Definition at line 49 of file HydroFromFile.h.
View newest version in sPHENIX GitHub at line 49 of file HydroFromFile.h
|
staticprivate |
Definition at line 53 of file HydroFromFile.h.
View newest version in sPHENIX GitHub at line 53 of file HydroFromFile.h
|
private |
Definition at line 41 of file HydroFromFile.h.
View newest version in sPHENIX GitHub at line 41 of file HydroFromFile.h