BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
UniSimulationFile Class Reference

UniSimulationFile.h Class for the table: simulation_file. More...

#include <UniSimulationFile.h>

Collaboration diagram for UniSimulationFile:

Public Member Functions

virtual ~UniSimulationFile ()
int GetFileId ()
 get file id of the current simulation file
TString GetGeneratorName ()
 get generator name of the current simulation file
int GetFileType ()
 get file type of the current simulation file
TString GetFilePath ()
 get file path of the current simulation file
TString GetBeamParticle ()
 get beam particle of the current simulation file
TString GetTargetParticle ()
 get target particle of the current simulation file
double * GetEnergy ()
 get energy of the current simulation file
TString GetCentrality ()
 get centrality of the current simulation file
int * GetEventCount ()
 get event count of the current simulation file
int64_t * GetFileSize ()
 get file size of the current simulation file
TString * GetFileHash ()
 get file hash of the current simulation file
TString * GetFileDesc ()
 get file desc of the current simulation file
int SetGeneratorName (TString generator_name)
 set generator name of the current simulation file
int SetFileType (int file_type)
 set file type of the current simulation file
int SetFilePath (TString file_path)
 set file path of the current simulation file
int SetBeamParticle (TString beam_particle)
 set beam particle of the current simulation file
int SetTargetParticle (TString target_particle)
 set target particle of the current simulation file
int SetEnergy (double *energy)
 set energy of the current simulation file
int SetCentrality (TString centrality)
 set centrality of the current simulation file
int SetEventCount (int *event_count)
 set event count of the current simulation file
int SetFileSize (int64_t *file_size)
 set file size of the current simulation file
int SetFileHash (TString *file_hash)
 set file hash of the current simulation file
int SetFileDesc (TString *file_desc)
 set file desc of the current simulation file
void Print ()
 print information about current simulation file
virtual ~UniSimulationFile ()
int GetFileId ()
 get file id of the current simulation file
TString GetGeneratorName ()
 get generator name of the current simulation file
int GetFileType ()
 get file type of the current simulation file
TString GetFilePath ()
 get file path of the current simulation file
TString GetBeamParticle ()
 get beam particle of the current simulation file
TString GetTargetParticle ()
 get target particle of the current simulation file
double * GetEnergy ()
 get energy of the current simulation file
TString GetCentrality ()
 get centrality of the current simulation file
int * GetEventCount ()
 get event count of the current simulation file
int64_t * GetFileSize ()
 get file size of the current simulation file
TString * GetFileHash ()
 get file hash of the current simulation file
TString * GetFileDesc ()
 get file desc of the current simulation file
int SetGeneratorName (TString generator_name)
 set generator name of the current simulation file
int SetFileType (int file_type)
 set file type of the current simulation file
int SetFilePath (TString file_path)
 set file path of the current simulation file
int SetBeamParticle (TString beam_particle)
 set beam particle of the current simulation file
int SetTargetParticle (TString target_particle)
 set target particle of the current simulation file
int SetEnergy (double *energy)
 set energy of the current simulation file
int SetCentrality (TString centrality)
 set centrality of the current simulation file
int SetEventCount (int *event_count)
 set event count of the current simulation file
int SetFileSize (int64_t *file_size)
 set file size of the current simulation file
int SetFileHash (TString *file_hash)
 set file hash of the current simulation file
int SetFileDesc (TString *file_desc)
 set file desc of the current simulation file
void Print ()
 print information about current simulation file

Static Public Member Functions

static UniSimulationFile * CreateSimulationFile (TString generator_name, int file_type, TString file_path, TString beam_particle, TString target_particle, double *energy, TString centrality, int *event_count, int64_t *file_size, TString *file_hash, TString *file_desc)
 add new simulation file to the database
static UniSimulationFile * GetSimulationFile (int file_id)
 get simulation file from the database
static UniSimulationFile * GetSimulationFile (TString file_path)
 get simulation file from the database
static int CheckSimulationFileExists (int file_id)
 check simulation file exists in the database: 1- true, 0 - false, <0 - database operation error
static int CheckSimulationFileExists (TString file_path)
 check simulation file exists in the database: 1- true, 0 - false, <0 - database operation error
static int DeleteSimulationFile (int file_id)
 delete simulation file from the database
static int DeleteSimulationFile (TString file_path)
 delete simulation file from the database
static int PrintAll ()
 print all simulation files
static TObjArray * GetSimulationFiles ()
 get array of all UniSimulationFile-s from the database
static TObjArray * Search (UniSearchCondition &search_condition)
 get simulation files corresponding to the specified single condition and set owner for search_condition to kTRUE
static TObjArray * Search (TObjArray &search_conditions)
 get simulation files corresponding to the specified (vector) conditions and set owner for search_condition to kTRUE
static UniSimulationFile * CreateSimulationFile (TString generator_name, int file_type, TString file_path, TString beam_particle, TString target_particle, double *energy, TString centrality, int *event_count, int64_t *file_size, TString *file_hash, TString *file_desc)
 add new simulation file to the database
static UniSimulationFile * GetSimulationFile (int file_id)
 get simulation file from the database
static UniSimulationFile * GetSimulationFile (TString file_path)
 get simulation file from the database
static int CheckSimulationFileExists (int file_id)
 check simulation file exists in the database: 1- true, 0 - false, <0 - database operation error
static int CheckSimulationFileExists (TString file_path)
 check simulation file exists in the database: 1- true, 0 - false, <0 - database operation error
static int DeleteSimulationFile (int file_id)
 delete simulation file from the database
static int DeleteSimulationFile (TString file_path)
 delete simulation file from the database
static int PrintAll ()
 print all simulation files
static TObjArray * GetSimulationFiles ()
 get array of all UniSimulationFile-s from the database
static TObjArray * Search (UniSearchCondition &search_condition)
 get simulation files corresponding to the specified single condition and set owner for search_condition to kTRUE
static TObjArray * Search (TObjArray &search_conditions)
 get simulation files corresponding to the specified (vector) conditions and set owner for search_condition to kTRUE

Private Member Functions

 UniSimulationFile (UniConnection *db_connect, int file_id, TString generator_name, int file_type, TString file_path, TString beam_particle, TString target_particle, double *energy, TString centrality, int *event_count, int64_t *file_size, TString *file_hash, TString *file_desc)
 UniSimulationFile (UniConnection *db_connect, int file_id, TString generator_name, int file_type, TString file_path, TString beam_particle, TString target_particle, double *energy, TString centrality, int *event_count, int64_t *file_size, TString *file_hash, TString *file_desc)

Private Attributes

UniConnection * connectionDB
 connection to the database
int i_file_id
 file id
TString str_generator_name
 generator name
int i_file_type
 file type
TString str_file_path
 file path
TString str_beam_particle
 beam particle
TString str_target_particle
 target particle
double * d_energy
 energy
TString str_centrality
 centrality
int * i_event_count
 event count
int64_t * i64_file_size
 file size
TString * str_file_hash
 file hash
TString * str_file_desc
 file desc

Detailed Description

Definition at line 18 of file UniSimulationFile.h.

Constructor & Destructor Documentation

◆ UniSimulationFile() [1/2]

UniSimulationFile::UniSimulationFile ( UniConnection * db_connect,
int file_id,
TString generator_name,
int file_type,
TString file_path,
TString beam_particle,
TString target_particle,
double * energy,
TString centrality,
int * event_count,
int64_t * file_size,
TString * file_hash,
TString * file_desc )
private

Definition at line 17 of file UniSimulationFile.cxx.

References connectionDB, d_energy, i64_file_size, i_event_count, i_file_id, i_file_type, str_beam_particle, str_centrality, str_file_desc, str_file_hash, str_file_path, str_generator_name, and str_target_particle.

Referenced by CreateSimulationFile(), GetSimulationFile(), GetSimulationFile(), GetSimulationFiles(), and Search().

Here is the caller graph for this function:

◆ ~UniSimulationFile() [1/2]

UniSimulationFile::~UniSimulationFile ( )
virtual

◆ UniSimulationFile() [2/2]

UniSimulationFile::UniSimulationFile ( UniConnection * db_connect,
int file_id,
TString generator_name,
int file_type,
TString file_path,
TString beam_particle,
TString target_particle,
double * energy,
TString centrality,
int * event_count,
int64_t * file_size,
TString * file_hash,
TString * file_desc )
private

◆ ~UniSimulationFile() [2/2]

virtual UniSimulationFile::~UniSimulationFile ( )
virtual

Member Function Documentation

◆ CheckSimulationFileExists() [1/4]

int UniSimulationFile::CheckSimulationFileExists ( int file_id)
static

Definition at line 365 of file UniSimulationFile.cxx.

References TString::Format(), UniConnection::GetSQLServer(), TSQLStatement::NextResultRow(), UniConnection::Open(), TSQLStatement::Process(), TSQLServer::Statement(), and TSQLStatement::StoreResult().

Here is the call graph for this function:

◆ CheckSimulationFileExists() [2/4]

int UniSimulationFile::CheckSimulationFileExists ( int file_id)
static

◆ CheckSimulationFileExists() [3/4]

int UniSimulationFile::CheckSimulationFileExists ( TString file_path)
static

Definition at line 405 of file UniSimulationFile.cxx.

References TString::Data(), TString::Format(), UniConnection::GetSQLServer(), TSQLStatement::NextResultRow(), UniConnection::Open(), TSQLStatement::Process(), TSQLServer::Statement(), and TSQLStatement::StoreResult().

Here is the call graph for this function:

◆ CheckSimulationFileExists() [4/4]

int UniSimulationFile::CheckSimulationFileExists ( TString file_path)
static

◆ CreateSimulationFile() [1/2]

UniSimulationFile * UniSimulationFile::CreateSimulationFile ( TString generator_name,
int file_type,
TString file_path,
TString beam_particle,
TString target_particle,
double * energy,
TString centrality,
int * event_count,
int64_t * file_size,
TString * file_hash,
TString * file_desc )
static

◆ CreateSimulationFile() [2/2]

UniSimulationFile * UniSimulationFile::CreateSimulationFile ( TString generator_name,
int file_type,
TString file_path,
TString beam_particle,
TString target_particle,
double * energy,
TString centrality,
int * event_count,
int64_t * file_size,
TString * file_hash,
TString * file_desc )
static

References UniSimulationFile().

Here is the call graph for this function:

◆ DeleteSimulationFile() [1/4]

int UniSimulationFile::DeleteSimulationFile ( int file_id)
static

Definition at line 445 of file UniSimulationFile.cxx.

References TString::Format(), UniConnection::GetSQLServer(), TSQLStatement::NextIteration(), UniConnection::Open(), TSQLStatement::Process(), TSQLStatement::SetInt(), and TSQLServer::Statement().

Here is the call graph for this function:

◆ DeleteSimulationFile() [2/4]

int UniSimulationFile::DeleteSimulationFile ( int file_id)
static

◆ DeleteSimulationFile() [3/4]

int UniSimulationFile::DeleteSimulationFile ( TString file_path)
static

Definition at line 475 of file UniSimulationFile.cxx.

References TString::Format(), UniConnection::GetSQLServer(), TSQLStatement::NextIteration(), UniConnection::Open(), TSQLStatement::Process(), TSQLStatement::SetString(), and TSQLServer::Statement().

Here is the call graph for this function:

◆ DeleteSimulationFile() [4/4]

int UniSimulationFile::DeleteSimulationFile ( TString file_path)
static

◆ GetBeamParticle() [1/2]

TString UniSimulationFile::GetBeamParticle ( )
inline

Definition at line 108 of file UniSimulationFile.h.

References str_beam_particle.

◆ GetBeamParticle() [2/2]

TString UniSimulationFile::GetBeamParticle ( )
inline

Definition at line 108 of file UniSimulationFile.h.

References str_beam_particle.

◆ GetCentrality() [1/2]

TString UniSimulationFile::GetCentrality ( )
inline

Definition at line 120 of file UniSimulationFile.h.

References str_centrality.

◆ GetCentrality() [2/2]

TString UniSimulationFile::GetCentrality ( )
inline

Definition at line 120 of file UniSimulationFile.h.

References str_centrality.

◆ GetEnergy() [1/2]

double * UniSimulationFile::GetEnergy ( )
inline

Definition at line 112 of file UniSimulationFile.h.

References d_energy.

◆ GetEnergy() [2/2]

double * UniSimulationFile::GetEnergy ( )
inline

Definition at line 112 of file UniSimulationFile.h.

References d_energy.

◆ GetEventCount() [1/2]

int * UniSimulationFile::GetEventCount ( )
inline

Definition at line 122 of file UniSimulationFile.h.

References i_event_count.

◆ GetEventCount() [2/2]

int * UniSimulationFile::GetEventCount ( )
inline

Definition at line 122 of file UniSimulationFile.h.

References i_event_count.

◆ GetFileDesc() [1/2]

TString * UniSimulationFile::GetFileDesc ( )
inline

Definition at line 146 of file UniSimulationFile.h.

References str_file_desc.

◆ GetFileDesc() [2/2]

TString * UniSimulationFile::GetFileDesc ( )
inline

Definition at line 146 of file UniSimulationFile.h.

References str_file_desc.

◆ GetFileHash() [1/2]

TString * UniSimulationFile::GetFileHash ( )
inline

Definition at line 138 of file UniSimulationFile.h.

References str_file_hash.

Referenced by write_sim_checksum_db().

Here is the caller graph for this function:

◆ GetFileHash() [2/2]

TString * UniSimulationFile::GetFileHash ( )
inline

Definition at line 138 of file UniSimulationFile.h.

References str_file_hash.

◆ GetFileId() [1/2]

int UniSimulationFile::GetFileId ( )
inline

Definition at line 100 of file UniSimulationFile.h.

References i_file_id.

◆ GetFileId() [2/2]

int UniSimulationFile::GetFileId ( )
inline

Definition at line 100 of file UniSimulationFile.h.

References i_file_id.

◆ GetFilePath() [1/2]

TString UniSimulationFile::GetFilePath ( )
inline

Definition at line 106 of file UniSimulationFile.h.

References str_file_path.

Referenced by write_sim_checksum_db().

Here is the caller graph for this function:

◆ GetFilePath() [2/2]

TString UniSimulationFile::GetFilePath ( )
inline

Definition at line 106 of file UniSimulationFile.h.

References str_file_path.

◆ GetFileSize() [1/2]

int64_t * UniSimulationFile::GetFileSize ( )
inline

Definition at line 130 of file UniSimulationFile.h.

References i64_file_size.

◆ GetFileSize() [2/2]

int64_t * UniSimulationFile::GetFileSize ( )
inline

Definition at line 130 of file UniSimulationFile.h.

References i64_file_size.

◆ GetFileType() [1/2]

int UniSimulationFile::GetFileType ( )
inline

Definition at line 104 of file UniSimulationFile.h.

References i_file_type.

◆ GetFileType() [2/2]

int UniSimulationFile::GetFileType ( )
inline

Definition at line 104 of file UniSimulationFile.h.

References i_file_type.

◆ GetGeneratorName() [1/2]

TString UniSimulationFile::GetGeneratorName ( )
inline

Definition at line 102 of file UniSimulationFile.h.

References str_generator_name.

◆ GetGeneratorName() [2/2]

TString UniSimulationFile::GetGeneratorName ( )
inline

Definition at line 102 of file UniSimulationFile.h.

References str_generator_name.

◆ GetSimulationFile() [1/4]

UniSimulationFile * UniSimulationFile::GetSimulationFile ( int file_id)
static

◆ GetSimulationFile() [2/4]

UniSimulationFile * UniSimulationFile::GetSimulationFile ( int file_id)
static

References UniSimulationFile().

Here is the call graph for this function:

◆ GetSimulationFile() [3/4]

UniSimulationFile * UniSimulationFile::GetSimulationFile ( TString file_path)
static

◆ GetSimulationFile() [4/4]

UniSimulationFile * UniSimulationFile::GetSimulationFile ( TString file_path)
static

References UniSimulationFile().

Here is the call graph for this function:

◆ GetSimulationFiles() [1/2]

TObjArray * UniSimulationFile::GetSimulationFiles ( )
static

Definition at line 992 of file UniSimulationFile.cxx.

References UniSimulationFile(), TObjArray::Add(), TString::Format(), TSQLStatement::GetDouble(), TSQLStatement::GetInt(), TSQLStatement::GetLong64(), UniConnection::GetSQLServer(), TSQLStatement::GetString(), TSQLStatement::IsNull(), TSQLStatement::NextResultRow(), UniConnection::Open(), TSQLStatement::Process(), TCollection::SetOwner(), TSQLServer::Statement(), and TSQLStatement::StoreResult().

Referenced by write_sim_checksum_db().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetSimulationFiles() [2/2]

TObjArray * UniSimulationFile::GetSimulationFiles ( )
static

◆ GetTargetParticle() [1/2]

TString UniSimulationFile::GetTargetParticle ( )
inline

Definition at line 110 of file UniSimulationFile.h.

References str_target_particle.

◆ GetTargetParticle() [2/2]

TString UniSimulationFile::GetTargetParticle ( )
inline

Definition at line 110 of file UniSimulationFile.h.

References str_target_particle.

◆ Print() [1/2]

void UniSimulationFile::Print ( )

Definition at line 975 of file UniSimulationFile.cxx.

References d_energy, TString::Format(), i64_file_size, i_event_count, i_file_id, i_file_type, str_beam_particle, str_centrality, str_file_desc, str_file_hash, str_file_path, str_generator_name, and str_target_particle.

Here is the call graph for this function:

◆ Print() [2/2]

void UniSimulationFile::Print ( )

◆ PrintAll() [1/2]

int UniSimulationFile::PrintAll ( )
static

◆ PrintAll() [2/2]

int UniSimulationFile::PrintAll ( )
static

◆ Search() [1/4]

TObjArray * UniSimulationFile::Search ( TObjArray & search_conditions)
static

Definition at line 1087 of file UniSimulationFile.cxx.

References UniSimulationFile(), TObjArray::Add(), TDatime::AsSQLString(), UniSearchCondition::columnBeamParticle, UniSearchCondition::columnCentrality, UniSearchCondition::columnEnergy, UniSearchCondition::columnEventCount, UniSearchCondition::columnFileDesc, UniSearchCondition::columnFilePath, UniSearchCondition::columnFileSize, UniSearchCondition::columnGeneratorName, UniSearchCondition::columnTargetParticle, UniSearchCondition::conditionEqual, UniSearchCondition::conditionGreater, UniSearchCondition::conditionGreaterOrEqual, UniSearchCondition::conditionLess, UniSearchCondition::conditionLessOrEqual, UniSearchCondition::conditionLike, UniSearchCondition::conditionNotEqual, UniSearchCondition::conditionNotNull, UniSearchCondition::conditionNull, TString::Data(), TString::Format(), UniSearchCondition::GetColumn(), UniSearchCondition::GetCondition(), UniSearchCondition::GetDatimeValue(), TSQLStatement::GetDouble(), UniSearchCondition::GetDoubleValue(), TSQLStatement::GetInt(), UniSearchCondition::GetIntValue(), TSQLStatement::GetLong64(), UniConnection::GetSQLServer(), TSQLStatement::GetString(), UniSearchCondition::GetStringValue(), UniSearchCondition::GetUIntValue(), UniSearchCondition::GetValueType(), TSQLStatement::IsNull(), TSQLStatement::NextResultRow(), UniConnection::Open(), TSQLStatement::Process(), TCollection::SetOwner(), TSQLServer::Statement(), and TSQLStatement::StoreResult().

Here is the call graph for this function:

◆ Search() [2/4]

TObjArray * UniSimulationFile::Search ( TObjArray & search_conditions)
static

References UniSimulationFile().

Here is the call graph for this function:

◆ Search() [3/4]

TObjArray * UniSimulationFile::Search ( UniSearchCondition & search_condition)
static

Definition at line 1293 of file UniSimulationFile.cxx.

References TObjArray::Add(), and Search().

Referenced by Search().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Search() [4/4]

TObjArray * UniSimulationFile::Search ( UniSearchCondition & search_condition)
static

◆ SetBeamParticle() [1/2]

int UniSimulationFile::SetBeamParticle ( TString beam_particle)

Definition at line 678 of file UniSimulationFile.cxx.

References connectionDB, TString::Format(), i_file_id, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), TSQLStatement::SetString(), TSQLServer::Statement(), and str_beam_particle.

Here is the call graph for this function:

◆ SetBeamParticle() [2/2]

int UniSimulationFile::SetBeamParticle ( TString beam_particle)

◆ SetCentrality() [1/2]

int UniSimulationFile::SetCentrality ( TString centrality)

Definition at line 782 of file UniSimulationFile.cxx.

References connectionDB, TString::Format(), i_file_id, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), TSQLStatement::SetString(), TSQLServer::Statement(), and str_centrality.

Here is the call graph for this function:

◆ SetCentrality() [2/2]

int UniSimulationFile::SetCentrality ( TString centrality)

◆ SetEnergy() [1/2]

int UniSimulationFile::SetEnergy ( double * energy)

Definition at line 742 of file UniSimulationFile.cxx.

References connectionDB, d_energy, TString::Format(), i_file_id, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetDouble(), TSQLStatement::SetInt(), TSQLStatement::SetNull(), and TSQLServer::Statement().

Here is the call graph for this function:

◆ SetEnergy() [2/2]

int UniSimulationFile::SetEnergy ( double * energy)

◆ SetEventCount() [1/2]

int UniSimulationFile::SetEventCount ( int * event_count)

Definition at line 814 of file UniSimulationFile.cxx.

References connectionDB, TString::Format(), i_event_count, i_file_id, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), TSQLStatement::SetNull(), and TSQLServer::Statement().

Here is the call graph for this function:

◆ SetEventCount() [2/2]

int UniSimulationFile::SetEventCount ( int * event_count)

◆ SetFileDesc() [1/2]

int UniSimulationFile::SetFileDesc ( TString * file_desc)

Definition at line 934 of file UniSimulationFile.cxx.

References connectionDB, TString::Format(), i_file_id, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), TSQLStatement::SetNull(), TSQLStatement::SetString(), TSQLServer::Statement(), and str_file_desc.

Here is the call graph for this function:

◆ SetFileDesc() [2/2]

int UniSimulationFile::SetFileDesc ( TString * file_desc)

◆ SetFileHash() [1/2]

int UniSimulationFile::SetFileHash ( TString * file_hash)

Definition at line 894 of file UniSimulationFile.cxx.

References connectionDB, TString::Format(), i_file_id, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), TSQLStatement::SetNull(), TSQLStatement::SetString(), TSQLServer::Statement(), and str_file_hash.

Here is the call graph for this function:

◆ SetFileHash() [2/2]

int UniSimulationFile::SetFileHash ( TString * file_hash)

◆ SetFilePath() [1/2]

int UniSimulationFile::SetFilePath ( TString file_path)

Definition at line 646 of file UniSimulationFile.cxx.

References connectionDB, TString::Format(), i_file_id, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), TSQLStatement::SetString(), TSQLServer::Statement(), and str_file_path.

Here is the call graph for this function:

◆ SetFilePath() [2/2]

int UniSimulationFile::SetFilePath ( TString file_path)

◆ SetFileSize() [1/2]

int UniSimulationFile::SetFileSize ( int64_t * file_size)

Definition at line 854 of file UniSimulationFile.cxx.

References connectionDB, TString::Format(), i64_file_size, i_file_id, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), TSQLStatement::SetLong64(), TSQLStatement::SetNull(), and TSQLServer::Statement().

Here is the call graph for this function:

◆ SetFileSize() [2/2]

int UniSimulationFile::SetFileSize ( int64_t * file_size)

◆ SetFileType() [1/2]

int UniSimulationFile::SetFileType ( int file_type)

Definition at line 614 of file UniSimulationFile.cxx.

References connectionDB, TString::Format(), i_file_id, i_file_type, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), and TSQLServer::Statement().

Here is the call graph for this function:

◆ SetFileType() [2/2]

int UniSimulationFile::SetFileType ( int file_type)

◆ SetGeneratorName() [1/2]

int UniSimulationFile::SetGeneratorName ( TString generator_name)

Definition at line 582 of file UniSimulationFile.cxx.

References connectionDB, TString::Format(), i_file_id, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), TSQLStatement::SetString(), TSQLServer::Statement(), and str_generator_name.

Here is the call graph for this function:

◆ SetGeneratorName() [2/2]

int UniSimulationFile::SetGeneratorName ( TString generator_name)

◆ SetTargetParticle() [1/2]

int UniSimulationFile::SetTargetParticle ( TString target_particle)

Definition at line 710 of file UniSimulationFile.cxx.

References connectionDB, TString::Format(), i_file_id, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), TSQLStatement::SetString(), TSQLServer::Statement(), and str_target_particle.

Here is the call graph for this function:

◆ SetTargetParticle() [2/2]

int UniSimulationFile::SetTargetParticle ( TString target_particle)

Member Data Documentation

◆ connectionDB

◆ d_energy

double * UniSimulationFile::d_energy
private

◆ i64_file_size

int64_t * UniSimulationFile::i64_file_size
private

◆ i_event_count

int * UniSimulationFile::i_event_count
private

◆ i_file_id

◆ i_file_type

int UniSimulationFile::i_file_type
private

Definition at line 30 of file UniSimulationFile.h.

Referenced by UniSimulationFile(), GetFileType(), Print(), and SetFileType().

◆ str_beam_particle

TString UniSimulationFile::str_beam_particle
private

Definition at line 34 of file UniSimulationFile.h.

Referenced by UniSimulationFile(), GetBeamParticle(), Print(), and SetBeamParticle().

◆ str_centrality

TString UniSimulationFile::str_centrality
private

Definition at line 40 of file UniSimulationFile.h.

Referenced by UniSimulationFile(), GetCentrality(), Print(), and SetCentrality().

◆ str_file_desc

TString * UniSimulationFile::str_file_desc
private

◆ str_file_hash

TString * UniSimulationFile::str_file_hash
private

◆ str_file_path

TString UniSimulationFile::str_file_path
private

Definition at line 32 of file UniSimulationFile.h.

Referenced by UniSimulationFile(), GetFilePath(), Print(), and SetFilePath().

◆ str_generator_name

TString UniSimulationFile::str_generator_name
private

Definition at line 28 of file UniSimulationFile.h.

Referenced by UniSimulationFile(), GetGeneratorName(), Print(), and SetGeneratorName().

◆ str_target_particle

TString UniSimulationFile::str_target_particle
private

Definition at line 36 of file UniSimulationFile.h.

Referenced by UniSimulationFile(), GetTargetParticle(), Print(), and SetTargetParticle().


The documentation for this class was generated from the following files: