![]() |
AliRoot Core
ee782a0 (ee782a0)
|
#include <AliStorageDatabase.h>
Public Member Functions | |
AliStorageDatabase () | |
~AliStorageDatabase () | |
void | InsertEvent (int runNumber, int eventNumber, char *system, int multiplicity, char *filePath, ULong64_t triggerMask, ULong64_t triggerMaskNext50) |
bool | MarkEvent (struct eventStruct event) |
bool | UpdateEventPath (struct eventStruct event, const char *newPath) |
void | RemoveEvent (struct eventStruct event) |
void | RemoveEventsWithPath (std::string path) |
std::string | GetFilePath (struct eventStruct event) |
struct eventStruct | GetOldestEvent () |
std::vector< serverListStruct > | GetList (struct listRequestStruct listStruct) |
std::vector< int > | GetListOfRuns () |
AliESDEvent * | GetEvent (struct eventStruct event) |
AliESDEvent * | GetNextEvent (struct eventStruct event) |
AliESDEvent * | GetLastEvent () |
AliESDEvent * | GetPrevEvent (struct eventStruct event) |
AliESDEvent * | GetFirstEvent () |
Private Member Functions | |
AliStorageDatabase (const AliStorageDatabase &) | |
AliStorageDatabase & | operator= (const AliStorageDatabase &) |
Private Attributes | |
std::string | fHost |
std::string | fPort |
std::string | fDatabase |
std::string | fUID |
std::string | fPassword |
std::string | fTable |
TSQLServer * | fServer |
std::string | fStoragePath |
Definition at line 12 of file AliStorageDatabase.h.
AliStorageDatabase::AliStorageDatabase | ( | ) |
Definition at line 22 of file AliStorageDatabase.cxx.
AliStorageDatabase::~AliStorageDatabase | ( | ) |
Definition at line 78 of file AliStorageDatabase.cxx.
|
private |
AliESDEvent * AliStorageDatabase::GetEvent | ( | struct eventStruct | event | ) |
Definition at line 314 of file AliStorageDatabase.cxx.
Referenced by GetFirstEvent(), GetLastEvent(), GetNextEvent(), GetPrevEvent(), and AliStorageServerThread::StartCommunication().
string AliStorageDatabase::GetFilePath | ( | struct eventStruct | event | ) |
Definition at line 363 of file AliStorageDatabase.cxx.
Referenced by AliEventsCollectorThread::CheckCurrentStorageSize(), GetEvent(), and AliStorageServerThread::MarkEvent().
AliESDEvent * AliStorageDatabase::GetFirstEvent | ( | ) |
Definition at line 500 of file AliStorageDatabase.cxx.
Referenced by AliStorageServerThread::StartCommunication().
AliESDEvent * AliStorageDatabase::GetLastEvent | ( | ) |
Definition at line 482 of file AliStorageDatabase.cxx.
Referenced by AliStorageServerThread::StartCommunication().
vector< serverListStruct > AliStorageDatabase::GetList | ( | struct listRequestStruct | listStruct | ) |
Definition at line 154 of file AliStorageDatabase.cxx.
Referenced by AliStorageServerThread::StartCommunication().
vector< int > AliStorageDatabase::GetListOfRuns | ( | ) |
Definition at line 380 of file AliStorageDatabase.cxx.
Referenced by GetList(), and AliStorageServerThread::GetTriggerClasses().
AliESDEvent * AliStorageDatabase::GetNextEvent | ( | struct eventStruct | event | ) |
Definition at line 402 of file AliStorageDatabase.cxx.
Referenced by AliStorageServerThread::StartCommunication().
struct eventStruct AliStorageDatabase::GetOldestEvent | ( | ) |
Definition at line 462 of file AliStorageDatabase.cxx.
Referenced by AliEventsCollectorThread::CheckCurrentStorageSize().
AliESDEvent * AliStorageDatabase::GetPrevEvent | ( | struct eventStruct | event | ) |
Definition at line 433 of file AliStorageDatabase.cxx.
Referenced by AliStorageServerThread::StartCommunication().
void AliStorageDatabase::InsertEvent | ( | int | runNumber, |
int | eventNumber, | ||
char * | system, | ||
int | multiplicity, | ||
char * | filePath, | ||
ULong64_t | triggerMask, | ||
ULong64_t | triggerMaskNext50 | ||
) |
Definition at line 82 of file AliStorageDatabase.cxx.
Referenced by AliEventsCollectorThread::CollectorHandle().
bool AliStorageDatabase::MarkEvent | ( | struct eventStruct | event | ) |
Definition at line 104 of file AliStorageDatabase.cxx.
Referenced by AliStorageServerThread::MarkEvent().
|
private |
void AliStorageDatabase::RemoveEvent | ( | struct eventStruct | event | ) |
Definition at line 350 of file AliStorageDatabase.cxx.
void AliStorageDatabase::RemoveEventsWithPath | ( | std::string | path | ) |
Definition at line 357 of file AliStorageDatabase.cxx.
Referenced by AliEventsCollectorThread::CheckCurrentStorageSize().
bool AliStorageDatabase::UpdateEventPath | ( | struct eventStruct | event, |
const char * | newPath | ||
) |
Definition at line 135 of file AliStorageDatabase.cxx.
Referenced by AliEventsCollectorThread::CollectorHandle().
|
private |
Definition at line 43 of file AliStorageDatabase.h.
Referenced by AliStorageDatabase().
|
private |
Definition at line 41 of file AliStorageDatabase.h.
Referenced by AliStorageDatabase().
|
private |
Definition at line 45 of file AliStorageDatabase.h.
Referenced by AliStorageDatabase().
|
private |
Definition at line 42 of file AliStorageDatabase.h.
Referenced by AliStorageDatabase().
|
private |
Definition at line 48 of file AliStorageDatabase.h.
Referenced by AliStorageDatabase(), GetFilePath(), GetFirstEvent(), GetLastEvent(), GetList(), GetListOfRuns(), GetNextEvent(), GetOldestEvent(), GetPrevEvent(), InsertEvent(), MarkEvent(), RemoveEvent(), RemoveEventsWithPath(), UpdateEventPath(), and ~AliStorageDatabase().
|
private |
Definition at line 49 of file AliStorageDatabase.h.
Referenced by AliStorageDatabase(), and MarkEvent().
|
private |
Definition at line 46 of file AliStorageDatabase.h.
Referenced by AliStorageDatabase(), GetFilePath(), GetFirstEvent(), GetLastEvent(), GetList(), GetListOfRuns(), GetNextEvent(), GetOldestEvent(), GetPrevEvent(), InsertEvent(), MarkEvent(), RemoveEvent(), RemoveEventsWithPath(), and UpdateEventPath().
|
private |
Definition at line 44 of file AliStorageDatabase.h.
Referenced by AliStorageDatabase().