64 |
//tymesync and OBT informations |
//tymesync and OBT informations |
65 |
unsigned long int obt_time_sync; |
unsigned long int obt_time_sync; |
66 |
unsigned long int last_time_sync_info; |
unsigned long int last_time_sync_info; |
67 |
|
// (tassa) keep previous value of time_sync |
68 |
|
unsigned long int obt_time_sync_prevvalue; |
69 |
|
unsigned long int last_time_sync_info_prevvalue; |
70 |
|
bool time_is_estimated; |
71 |
//TimeOffset used to obtain absolute time |
//TimeOffset used to obtain absolute time |
72 |
unsigned long int timeOffset; |
unsigned long int timeOffset; |
73 |
//part of the ROOT filename used to retrieve timeOffset for special files |
//part of the ROOT filename used to retrieve timeOffset for special files |
74 |
char nnnn_mmm_ppp[80]; |
char nnnn_mmm_ppp[80]; |
75 |
//boot number |
//boot number |
76 |
unsigned long int boot_number; |
unsigned long int boot_number; |
77 |
|
unsigned long int boot_number_prevvalue; |
78 |
|
//(tassa) |
79 |
|
unsigned int id_to_recover[1000]; |
80 |
|
int id_to_recover_index; |
81 |
//number of packets with problems( in general CRC problems) detected in EventReader: |
//number of packets with problems( in general CRC problems) detected in EventReader: |
82 |
int bad_pkt_EventReader; |
int bad_pkt_EventReader; |
83 |
//num ber of Calibration packets with problems( in general CRC problems) detected in EventReader: |
//num ber of Calibration packets with problems( in general CRC problems) detected in EventReader: |
115 |
void setBootNumber(char* packet, long int pktLenght, const PacketType* type); |
void setBootNumber(char* packet, long int pktLenght, const PacketType* type); |
116 |
//set real_time_init and real_time_last |
//set real_time_init and real_time_last |
117 |
void setReal_Time(); |
void setReal_Time(); |
118 |
|
// |
119 |
|
void recover_boot_number(); |
120 |
|
|
121 |
//retrieve the timeOffset from table=Table_GL_RESURS_OFFSET |
//retrieve the timeOffset from table=Table_GL_RESURS_OFFSET |
122 |
unsigned long int retrieveTimeOffset(char * table); |
unsigned long int retrieveTimeOffset(char * table); |
123 |
|
|
132 |
unsigned long int mboot_num, |
unsigned long int mboot_num, |
133 |
unsigned long int time_offset, |
unsigned long int time_offset, |
134 |
int bad_pkt, int bad_pkt_read, int bad_pkt_CalRead, int num_PKT_Saved, |
int bad_pkt, int bad_pkt_read, int bad_pkt_CalRead, int num_PKT_Saved, |
135 |
char* nome_input); |
char* nome_input,bool _time_is_estimated); |
136 |
|
|
137 |
///new part merging |
///new part merging |
138 |
|
|