AliRoot Core  v5-06-30 (35d6c57)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliStorageDatabase Class Reference

#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 &)
 
AliStorageDatabaseoperator= (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
 

Detailed Description

Definition at line 12 of file AliStorageDatabase.h.

Constructor & Destructor Documentation

AliStorageDatabase::AliStorageDatabase ( )

Definition at line 22 of file AliStorageDatabase.cxx.

AliStorageDatabase::~AliStorageDatabase ( )

Definition at line 78 of file AliStorageDatabase.cxx.

AliStorageDatabase::AliStorageDatabase ( const AliStorageDatabase )
private

Member Function Documentation

AliESDEvent * AliStorageDatabase::GetEvent ( struct eventStruct  event)
string AliStorageDatabase::GetFilePath ( struct eventStruct  event)
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 ( )
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().

AliStorageDatabase& AliStorageDatabase::operator= ( const AliStorageDatabase )
private
void AliStorageDatabase::RemoveEvent ( struct eventStruct  event)

Definition at line 350 of file AliStorageDatabase.cxx.

void AliStorageDatabase::RemoveEventsWithPath ( std::string  path)
bool AliStorageDatabase::UpdateEventPath ( struct eventStruct  event,
const char *  newPath 
)

Definition at line 135 of file AliStorageDatabase.cxx.

Referenced by AliEventsCollectorThread::CollectorHandle().

Member Data Documentation

std::string AliStorageDatabase::fDatabase
private

Definition at line 43 of file AliStorageDatabase.h.

Referenced by AliStorageDatabase().

std::string AliStorageDatabase::fHost
private

Definition at line 41 of file AliStorageDatabase.h.

Referenced by AliStorageDatabase().

std::string AliStorageDatabase::fPassword
private

Definition at line 45 of file AliStorageDatabase.h.

Referenced by AliStorageDatabase().

std::string AliStorageDatabase::fPort
private

Definition at line 42 of file AliStorageDatabase.h.

Referenced by AliStorageDatabase().

std::string AliStorageDatabase::fStoragePath
private

Definition at line 49 of file AliStorageDatabase.h.

Referenced by AliStorageDatabase(), and MarkEvent().

std::string AliStorageDatabase::fUID
private

Definition at line 44 of file AliStorageDatabase.h.

Referenced by AliStorageDatabase().


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