| 1 |
//============================================================================ |
//============================================================================ |
| 2 |
// $Id: PacketUser.h,v 1.5 2009/08/05 18:48:42 pam-fi Exp $ |
// $Id: PacketUser.h,v 1.6 2009/12/24 10:31:13 mocchiut Exp $ |
| 3 |
// Description : |
// Description : |
| 4 |
//============================================================================ |
//============================================================================ |
| 5 |
#ifndef PACKETUSER_H_ |
#ifndef PACKETUSER_H_ |
| 8 |
#include <TTimeStamp.h> |
#include <TTimeStamp.h> |
| 9 |
#include "../event/PacketType.h" |
#include "../event/PacketType.h" |
| 10 |
#include "EventReader.h" |
#include "EventReader.h" |
| 11 |
|
#include "ReaderAlgorithms.h" |
| 12 |
|
#include "../event/mcmd/McmdEvent.h" |
| 13 |
|
#include "../event/mcmd/McmdRecord.h" |
| 14 |
|
|
| 15 |
#include "TROOT.h" //ROOT version > 5.14 |
#include "TROOT.h" //ROOT version > 5.14 |
| 16 |
#include "TSystem.h" // EMI |
#include "TSystem.h" // EMI |
| 201 |
//retrieve the timeOffset from table=Table_GL_RESURS_OFFSET |
//retrieve the timeOffset from table=Table_GL_RESURS_OFFSET |
| 202 |
unsigned long int retrieveTimeOffset(const char * table); |
unsigned long int retrieveTimeOffset(const char * table); |
| 203 |
|
|
| 204 |
unsigned int select_maxIDN_DB(const char* table_name); |
unsigned int select_maxIDN_DB(const char* table_name, const char* file_name); |
| 205 |
|
|
| 206 |
//function that saves informations in our DB |
//function that saves informations in our DB |
| 207 |
bool saveROOT_DB(const char* table_name, const char* folder_name, const char* file_name, unsigned long int pkt_number_in, |
bool saveROOT_DB(const char* table_name, const char* folder_name, const char* file_name, unsigned long int pkt_number_in, |