Analysis Software
Documentation for sPHENIX simulation software
|
#include <JETSCAPE/blob/main/src/hadronization/ColorlessHadronization.h>
Public Member Functions | |
ColorlessHadronization () | |
virtual | ~ColorlessHadronization () |
void | Init () |
void | DoHadronization (vector< vector< shared_ptr< Parton >>> &shower, vector< shared_ptr< Hadron >> &hOut, vector< shared_ptr< Parton >> &pOut) |
void | WriteTask (weak_ptr< JetScapeWriter > w) |
Public Member Functions inherited from Jetscape::HadronizationModule< ColorlessHadronization > | |
virtual shared_ptr< Hadronization > | Clone () const override |
Public Member Functions inherited from Jetscape::Hadronization | |
Hadronization () | |
virtual | ~Hadronization () |
virtual void | Exec () |
virtual void | Clear () |
void | GetHadrons (vector< shared_ptr< Hadron >> &signal) |
vector< shared_ptr< Hadron > > | GetHadrons () |
vector< shared_ptr< Parton > > | GetOutPartons () |
void | AddInPartons (vector< vector< shared_ptr< Parton >>> ip) |
void | SetTransformPartonsConnected (bool m_TransformPartonsConnected) |
const bool | GetTransformPartonsConnected () |
void | SetGetHydroHyperSurfaceConnected (bool m_GetHydroHyperSurfaceConnected) |
const bool | GetGetHydroHyperSurfaceConnected () |
void | SetGetHydroCellSignalConnected (bool m_GetHydroCellSignalConnected) |
const bool | GetGetHydroCellSignalConnected () |
void | AddInHadrons (vector< shared_ptr< Hadron >> ih) |
void | DeleteHadrons () |
void | DeleteRealHadrons () |
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 | CollectHeader (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 () |
Protected Attributes | |
std::uniform_real_distribution < double > | ZeroOneDistribution |
Static Protected Attributes | |
static Pythia8::Pythia | pythia |
Private Attributes | |
double | p_fake |
bool | take_recoil |
Static Private Attributes | |
static RegisterJetScapeModule < ColorlessHadronization > | reg |
Additional Inherited Members | |
Static Public Member Functions inherited from Jetscape::JetScapeModuleBase | |
static int | GetCurrentEvent () |
static void | IncrementCurrentEvent () |
Public Attributes inherited from Jetscape::Hadronization | |
sigslot::signal3< vector < vector< shared_ptr< Parton > > > &, vector< shared_ptr < Hadron > > &, vector < shared_ptr< Parton > > &, multi_threaded_local > | TransformPartons |
sigslot::signal2 < Jetscape::real, std::vector < SurfaceCellInfo > &, multi_threaded_local > | GetHydroHyperSurface |
sigslot::signal5< double, double, double, double, std::unique_ptr< FluidCellInfo > &, multi_threaded_local > | GetHydroCellSignal |
Definition at line 25 of file ColorlessHadronization.h.
View newest version in sPHENIX GitHub at line 25 of file ColorlessHadronization.h
ColorlessHadronization::ColorlessHadronization | ( | ) |
Definition at line 40 of file ColorlessHadronization.cc.
View newest version in sPHENIX GitHub at line 40 of file ColorlessHadronization.cc
References SetId(), and VERBOSE.
|
virtual |
Definition at line 45 of file ColorlessHadronization.cc.
View newest version in sPHENIX GitHub at line 45 of file ColorlessHadronization.cc
References VERBOSE.
|
virtual |
Reimplemented from Jetscape::Hadronization.
Definition at line 128 of file ColorlessHadronization.cc.
View newest version in sPHENIX GitHub at line 128 of file ColorlessHadronization.cc
References col, Acts::UnitConstants::e, event, f, j, JSDEBUG, JSINFO, Jetscape::Lambda_QCD, Acts::UnitConstants::mm, Acts::UnitConstants::ns, merge_hashes::p, train_ambiguity_solver::pid, VERBOSE, and ambiguity_solver_full_chain::x.
|
virtual |
A virtual function for a default initialization of a JetScapeModuleBase. It also checks whether a XML file is loaded or not.
Reimplemented from Jetscape::Hadronization.
Definition at line 47 of file ColorlessHadronization.cc.
View newest version in sPHENIX GitHub at line 47 of file ColorlessHadronization.cc
References JSDEBUG, JSINFO, JSWARN, test_fpe::lines, physmon_simulation::s, to_string(), and VERBOSE.
|
virtual |
A virtual function to define a default WriteTask() function for a JetScapeTask. It can be overridden by different modules/tasks. Current setup: Every task gets handed a pointer to the writer and can add any information it likes to it (using predefined functions like WriteComment()) This is maximally flexible but makes it difficult to properly store information for a variety of outputs. E.g., sigmaGen: A HardProcess can easily write the xsec to any stream-type output using WriteComment. But to set it in a HepMC file, either HardProcess needs to make a case-by-case selection, meaning a new file format would need to percolate through multiple base classes, or the writer needs to know this information and implement WriteEvent appropriately. The latter is obviously better, but it's non-trivial to collect this information.
Reimplemented from Jetscape::Hadronization.
Definition at line 120 of file ColorlessHadronization.cc.
View newest version in sPHENIX GitHub at line 120 of file ColorlessHadronization.cc
|
private |
Definition at line 38 of file ColorlessHadronization.h.
View newest version in sPHENIX GitHub at line 38 of file ColorlessHadronization.h
|
staticprotected |
Definition at line 45 of file ColorlessHadronization.h.
View newest version in sPHENIX GitHub at line 45 of file ColorlessHadronization.h
|
staticprivate |
Definition at line 42 of file ColorlessHadronization.h.
View newest version in sPHENIX GitHub at line 42 of file ColorlessHadronization.h
|
private |
Definition at line 39 of file ColorlessHadronization.h.
View newest version in sPHENIX GitHub at line 39 of file ColorlessHadronization.h
|
protected |
Definition at line 46 of file ColorlessHadronization.h.
View newest version in sPHENIX GitHub at line 46 of file ColorlessHadronization.h