|
BmnRoot
|
#include <UniSimulationFile.h>
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 | |
| ClassDef (UniSimulationFile, 1) | |
| 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 | |
| ClassDef (UniSimulationFile, 1) | |
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) |
| 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) |
UniSimulationFile.h Class for the table: simulation_file
Definition at line 18 of file UniSimulationFile.h.
|
virtual |
Definition at line 48 of file UniSimulationFile.cxx.
|
virtual |
|
static |
check simulation file exists in the database: 1- true, 0 - false, <0 - database operation error
Definition at line 365 of file UniSimulationFile.cxx.
References UniConnection::GetSQLServer(), and UniConnection::Open().
|
static |
check simulation file exists in the database: 1- true, 0 - false, <0 - database operation error
|
static |
check simulation file exists in the database: 1- true, 0 - false, <0 - database operation error
Definition at line 405 of file UniSimulationFile.cxx.
References UniConnection::GetSQLServer(), and UniConnection::Open().
|
static |
check simulation file exists in the database: 1- true, 0 - false, <0 - database operation error
| UniSimulationFile::ClassDef | ( | UniSimulationFile | , |
| 1 | |||
| ) |
| UniSimulationFile::ClassDef | ( | UniSimulationFile | , |
| 1 | |||
| ) |
|
static |
add new simulation file to the database
Definition at line 65 of file UniSimulationFile.cxx.
References UniConnection::GetSQLServer(), and UniConnection::Open().
|
static |
add new simulation file to the database
|
static |
delete simulation file from the database
Definition at line 445 of file UniSimulationFile.cxx.
References UniConnection::GetSQLServer(), and UniConnection::Open().
|
static |
delete simulation file from the database
|
static |
delete simulation file from the database
Definition at line 475 of file UniSimulationFile.cxx.
References UniConnection::GetSQLServer(), and UniConnection::Open().
|
static |
delete simulation file from the database
|
inline |
get beam particle of the current simulation file
Definition at line 108 of file UniSimulationFile.h.
|
inline |
get beam particle of the current simulation file
Definition at line 108 of file UniSimulationFile.h.
|
inline |
get centrality of the current simulation file
Definition at line 120 of file UniSimulationFile.h.
|
inline |
get centrality of the current simulation file
Definition at line 120 of file UniSimulationFile.h.
|
inline |
get energy of the current simulation file
Definition at line 112 of file UniSimulationFile.h.
|
inline |
get energy of the current simulation file
Definition at line 112 of file UniSimulationFile.h.
|
inline |
get event count of the current simulation file
Definition at line 122 of file UniSimulationFile.h.
|
inline |
get event count of the current simulation file
Definition at line 122 of file UniSimulationFile.h.
|
inline |
get file desc of the current simulation file
Definition at line 146 of file UniSimulationFile.h.
|
inline |
get file desc of the current simulation file
Definition at line 146 of file UniSimulationFile.h.
|
inline |
get file hash of the current simulation file
Definition at line 138 of file UniSimulationFile.h.
|
inline |
get file hash of the current simulation file
Definition at line 138 of file UniSimulationFile.h.
|
inline |
get file id of the current simulation file
Definition at line 100 of file UniSimulationFile.h.
|
inline |
get file id of the current simulation file
Definition at line 100 of file UniSimulationFile.h.
|
inline |
get file path of the current simulation file
Definition at line 106 of file UniSimulationFile.h.
|
inline |
get file path of the current simulation file
Definition at line 106 of file UniSimulationFile.h.
|
inline |
get file size of the current simulation file
Definition at line 130 of file UniSimulationFile.h.
|
inline |
get file size of the current simulation file
Definition at line 130 of file UniSimulationFile.h.
|
inline |
get file type of the current simulation file
Definition at line 104 of file UniSimulationFile.h.
|
inline |
get file type of the current simulation file
Definition at line 104 of file UniSimulationFile.h.
|
inline |
get generator name of the current simulation file
Definition at line 102 of file UniSimulationFile.h.
|
inline |
get generator name of the current simulation file
Definition at line 102 of file UniSimulationFile.h.
|
static |
get simulation file from the database
Definition at line 197 of file UniSimulationFile.cxx.
References UniConnection::GetSQLServer(), and UniConnection::Open().
|
static |
get simulation file from the database
|
static |
get simulation file from the database
Definition at line 281 of file UniSimulationFile.cxx.
References UniConnection::GetSQLServer(), and UniConnection::Open().
|
static |
get simulation file from the database
|
static |
get array of all UniSimulationFile-s from the database
Definition at line 992 of file UniSimulationFile.cxx.
References UniConnection::GetSQLServer(), and UniConnection::Open().
|
static |
get array of all UniSimulationFile-s from the database
|
inline |
get target particle of the current simulation file
Definition at line 110 of file UniSimulationFile.h.
|
inline |
get target particle of the current simulation file
Definition at line 110 of file UniSimulationFile.h.
| void UniSimulationFile::Print | ( | ) |
print information about current simulation file
Definition at line 975 of file UniSimulationFile.cxx.
| void UniSimulationFile::Print | ( | ) |
print information about current simulation file
|
static |
print all simulation files
Definition at line 505 of file UniSimulationFile.cxx.
References UniConnection::GetSQLServer(), and UniConnection::Open().
|
static |
print all simulation files
|
static |
get simulation files corresponding to the specified (vector) conditions and set owner for search_condition to kTRUE
Definition at line 1087 of file UniSimulationFile.cxx.
References 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, UniSearchCondition::GetColumn(), UniSearchCondition::GetCondition(), UniSearchCondition::GetDatimeValue(), UniSearchCondition::GetDoubleValue(), UniSearchCondition::GetIntValue(), UniConnection::GetSQLServer(), UniSearchCondition::GetStringValue(), UniSearchCondition::GetUIntValue(), UniSearchCondition::GetValueType(), and UniConnection::Open().
|
static |
get simulation files corresponding to the specified (vector) conditions and set owner for search_condition to kTRUE
|
static |
get simulation files corresponding to the specified single condition and set owner for search_condition to kTRUE
Definition at line 1293 of file UniSimulationFile.cxx.
References Search().
Referenced by Search().
|
static |
get simulation files corresponding to the specified single condition and set owner for search_condition to kTRUE
| int UniSimulationFile::SetBeamParticle | ( | TString | beam_particle | ) |
set beam particle of the current simulation file
Definition at line 678 of file UniSimulationFile.cxx.
References UniConnection::GetSQLServer().
| int UniSimulationFile::SetBeamParticle | ( | TString | beam_particle | ) |
set beam particle of the current simulation file
| int UniSimulationFile::SetCentrality | ( | TString | centrality | ) |
set centrality of the current simulation file
Definition at line 782 of file UniSimulationFile.cxx.
References UniConnection::GetSQLServer().
| int UniSimulationFile::SetCentrality | ( | TString | centrality | ) |
set centrality of the current simulation file
| int UniSimulationFile::SetEnergy | ( | double * | energy | ) |
set energy of the current simulation file
Definition at line 742 of file UniSimulationFile.cxx.
References UniConnection::GetSQLServer().
| int UniSimulationFile::SetEnergy | ( | double * | energy | ) |
set energy of the current simulation file
| int UniSimulationFile::SetEventCount | ( | int * | event_count | ) |
set event count of the current simulation file
Definition at line 814 of file UniSimulationFile.cxx.
References UniConnection::GetSQLServer().
| int UniSimulationFile::SetEventCount | ( | int * | event_count | ) |
set event count of the current simulation file
| int UniSimulationFile::SetFileDesc | ( | TString * | file_desc | ) |
set file desc of the current simulation file
Definition at line 934 of file UniSimulationFile.cxx.
References UniConnection::GetSQLServer().
| int UniSimulationFile::SetFileDesc | ( | TString * | file_desc | ) |
set file desc of the current simulation file
| int UniSimulationFile::SetFileHash | ( | TString * | file_hash | ) |
set file hash of the current simulation file
Definition at line 894 of file UniSimulationFile.cxx.
References UniConnection::GetSQLServer().
| int UniSimulationFile::SetFileHash | ( | TString * | file_hash | ) |
set file hash of the current simulation file
| int UniSimulationFile::SetFilePath | ( | TString | file_path | ) |
set file path of the current simulation file
Definition at line 646 of file UniSimulationFile.cxx.
References UniConnection::GetSQLServer().
| int UniSimulationFile::SetFilePath | ( | TString | file_path | ) |
set file path of the current simulation file
| int UniSimulationFile::SetFileSize | ( | int64_t * | file_size | ) |
set file size of the current simulation file
Definition at line 854 of file UniSimulationFile.cxx.
References UniConnection::GetSQLServer().
| int UniSimulationFile::SetFileSize | ( | int64_t * | file_size | ) |
set file size of the current simulation file
| int UniSimulationFile::SetFileType | ( | int | file_type | ) |
set file type of the current simulation file
Definition at line 614 of file UniSimulationFile.cxx.
References UniConnection::GetSQLServer().
| int UniSimulationFile::SetFileType | ( | int | file_type | ) |
set file type of the current simulation file
| int UniSimulationFile::SetGeneratorName | ( | TString | generator_name | ) |
set generator name of the current simulation file
Definition at line 582 of file UniSimulationFile.cxx.
References UniConnection::GetSQLServer().
| int UniSimulationFile::SetGeneratorName | ( | TString | generator_name | ) |
set generator name of the current simulation file
| int UniSimulationFile::SetTargetParticle | ( | TString | target_particle | ) |
set target particle of the current simulation file
Definition at line 710 of file UniSimulationFile.cxx.
References UniConnection::GetSQLServer().
| int UniSimulationFile::SetTargetParticle | ( | TString | target_particle | ) |
set target particle of the current simulation file