Analysis Software
Documentation for sPHENIX simulation software
|
#include <JETSCAPE/blob/main/src/framework/JetScapeWriter.h>
Public Member Functions | |
JetScapeWriter () | |
JetScapeWriter (string m_file_name_out) | |
virtual | ~JetScapeWriter () |
void | SetOutputFileName (string m_file_name_out) |
string | GetOutputFileName () |
virtual bool | GetStatus ()=0 |
virtual void | Close () |
virtual void | Open () |
virtual void | WriteInitFileXML () |
virtual void | Write (weak_ptr< Parton > p) |
virtual void | Write (weak_ptr< Jet > j) |
virtual void | Write (weak_ptr< Vertex > v) |
virtual void | Write (weak_ptr< PartonShower > ps) |
virtual void | Write (string s) |
virtual void | WriteComment (string s) |
virtual void | WriteWhiteSpace (string s) |
virtual void | Write (ostream *o) |
virtual void | Write (weak_ptr< Hadron > h) |
virtual void | WriteHeaderToFile () |
Gets called first, before all tasks write themselves. | |
virtual void | WriteEvent () |
Gets called last, after all tasks have written themselves. | |
virtual JetScapeEventHeader & | GetHeader () |
Public Member Functions inherited from Jetscape::JetScapeModuleBase | |
JetScapeModuleBase () | |
JetScapeModuleBase (string m_name) | |
virtual | ~JetScapeModuleBase () |
virtual void | Init () |
virtual void | Exec () |
virtual void | Clear () |
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 | 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 | |
string | file_name_out |
JetScapeEventHeader | header |
Additional Inherited Members | |
Static Public Member Functions inherited from Jetscape::JetScapeModuleBase | |
static int | GetCurrentEvent () |
static void | IncrementCurrentEvent () |
Definition at line 31 of file JetScapeWriter.h.
View newest version in sPHENIX GitHub at line 31 of file JetScapeWriter.h
|
inline |
Definition at line 34 of file JetScapeWriter.h.
View newest version in sPHENIX GitHub at line 34 of file JetScapeWriter.h
References Jetscape::JetScapeTask::SetId().
|
inline |
Definition at line 35 of file JetScapeWriter.h.
View newest version in sPHENIX GitHub at line 35 of file JetScapeWriter.h
References file_name_out.
|
inlinevirtual |
Definition at line 36 of file JetScapeWriter.h.
View newest version in sPHENIX GitHub at line 36 of file JetScapeWriter.h
|
inlinevirtual |
Reimplemented in Jetscape::JetScapeWriterHepMC, Jetscape::JetScapeWriterRootHepMC, Jetscape::JetScapeWriterFinalStateStream< T >, Jetscape::JetScapeWriterStream< T >, and Jetscape::JetScapeWriterAsciiGZ.
Definition at line 44 of file JetScapeWriter.h.
View newest version in sPHENIX GitHub at line 44 of file JetScapeWriter.h
|
inlinevirtual |
Definition at line 64 of file JetScapeWriter.h.
View newest version in sPHENIX GitHub at line 64 of file JetScapeWriter.h
References header.
Referenced by Jetscape::JetScapeWriterAsciiGZ::WriteHeaderToFile(), Jetscape::JetScapeWriterRootHepMC::WriteHeaderToFile(), and Jetscape::JetScapeWriterHepMC::WriteHeaderToFile().
|
inline |
Definition at line 41 of file JetScapeWriter.h.
View newest version in sPHENIX GitHub at line 41 of file JetScapeWriter.h
References file_name_out.
Referenced by Jetscape::JetScapeWriterAsciiGZ::Init(), Jetscape::JetScapeWriterRootHepMC::Init(), and Jetscape::JetScapeWriterHepMC::Init().
|
pure virtual |
|
inlinevirtual |
Definition at line 45 of file JetScapeWriter.h.
View newest version in sPHENIX GitHub at line 45 of file JetScapeWriter.h
|
inline |
Definition at line 38 of file JetScapeWriter.h.
View newest version in sPHENIX GitHub at line 38 of file JetScapeWriter.h
References file_name_out.
Referenced by Jetscape::JetScapeWriterAsciiGZ::JetScapeWriterAsciiGZ().
Reimplemented in Jetscape::JetScapeWriterStreamFilter< T >, Jetscape::JetScapeWriterStream< T >, and Jetscape::JetScapeWriterAsciiGZ.
Definition at line 48 of file JetScapeWriter.h.
View newest version in sPHENIX GitHub at line 48 of file JetScapeWriter.h
Definition at line 49 of file JetScapeWriter.h.
View newest version in sPHENIX GitHub at line 49 of file JetScapeWriter.h
Reimplemented in Jetscape::JetScapeWriterStreamFilter< T >, Jetscape::JetScapeWriterStream< T >, and Jetscape::JetScapeWriterAsciiGZ.
Definition at line 50 of file JetScapeWriter.h.
View newest version in sPHENIX GitHub at line 50 of file JetScapeWriter.h
|
inlinevirtual |
Reimplemented in Jetscape::JetScapeWriterFinalStateHadronsStream< T >, Jetscape::JetScapeWriterHepMC, Jetscape::JetScapeWriterRootHepMC, Jetscape::JetScapeWriterStreamFilter< T >, Jetscape::JetScapeWriterFinalStateStream< T >, Jetscape::JetScapeWriterStream< T >, and Jetscape::JetScapeWriterAsciiGZ.
Definition at line 51 of file JetScapeWriter.h.
View newest version in sPHENIX GitHub at line 51 of file JetScapeWriter.h
|
inlinevirtual |
Reimplemented in Jetscape::JetScapeWriterFinalStateStream< T >, Jetscape::JetScapeWriterStream< T >, and Jetscape::JetScapeWriterAsciiGZ.
Definition at line 52 of file JetScapeWriter.h.
View newest version in sPHENIX GitHub at line 52 of file JetScapeWriter.h
|
inlinevirtual |
Definition at line 55 of file JetScapeWriter.h.
View newest version in sPHENIX GitHub at line 55 of file JetScapeWriter.h
Reimplemented in Jetscape::JetScapeWriterFinalStatePartonsStream< T >, Jetscape::JetScapeWriterStreamFilter< T >, Jetscape::JetScapeWriterHepMC, Jetscape::JetScapeWriterRootHepMC, Jetscape::JetScapeWriterFinalStateStream< T >, Jetscape::JetScapeWriterStream< T >, and Jetscape::JetScapeWriterAsciiGZ.
Definition at line 56 of file JetScapeWriter.h.
View newest version in sPHENIX GitHub at line 56 of file JetScapeWriter.h
|
inlinevirtual |
Reimplemented in Jetscape::JetScapeWriterFinalStateStream< T >, Jetscape::JetScapeWriterStream< T >, and Jetscape::JetScapeWriterAsciiGZ.
Definition at line 53 of file JetScapeWriter.h.
View newest version in sPHENIX GitHub at line 53 of file JetScapeWriter.h
|
inlinevirtual |
Gets called last, after all tasks have written themselves.
Reimplemented in Jetscape::JetScapeWriterHepMC, Jetscape::JetScapeWriterRootHepMC, Jetscape::JetScapeWriterStream< T >, Jetscape::JetScapeWriterFinalStateStream< T >, and Jetscape::JetScapeWriterAsciiGZ.
Definition at line 62 of file JetScapeWriter.h.
View newest version in sPHENIX GitHub at line 62 of file JetScapeWriter.h
|
inlinevirtual |
Gets called first, before all tasks write themselves.
Reimplemented in Jetscape::JetScapeWriterHepMC, Jetscape::JetScapeWriterRootHepMC, Jetscape::JetScapeWriterFinalStateStream< T >, Jetscape::JetScapeWriterStream< T >, and Jetscape::JetScapeWriterAsciiGZ.
Definition at line 59 of file JetScapeWriter.h.
View newest version in sPHENIX GitHub at line 59 of file JetScapeWriter.h
|
inlinevirtual |
Definition at line 47 of file JetScapeWriter.h.
View newest version in sPHENIX GitHub at line 47 of file JetScapeWriter.h
|
inlinevirtual |
Reimplemented in Jetscape::JetScapeWriterFinalStateStream< T >, Jetscape::JetScapeWriterStream< T >, and Jetscape::JetScapeWriterAsciiGZ.
Definition at line 54 of file JetScapeWriter.h.
View newest version in sPHENIX GitHub at line 54 of file JetScapeWriter.h
|
protected |
Definition at line 64 of file JetScapeWriter.h.
View newest version in sPHENIX GitHub at line 64 of file JetScapeWriter.h
Referenced by GetOutputFileName(), JetScapeWriter(), and SetOutputFileName().
|
protected |
Definition at line 68 of file JetScapeWriter.h.
View newest version in sPHENIX GitHub at line 68 of file JetScapeWriter.h
Referenced by GetHeader().