59 |
* |
* |
60 |
* Description: changed the scale in the second and third graph of the first canvas; added a pad of text in the second canvas |
* Description: changed the scale in the second and third graph of the first canvas; added a pad of text in the second canvas |
61 |
* |
* |
62 |
|
* Version 1.9 |
63 |
|
* Date 7 March 2007 - Malvezzi |
64 |
|
* |
65 |
|
* Description: to read correctly the OBT changed the type of time variables from signed to unsigned |
66 |
|
* |
67 |
*/ |
*/ |
68 |
|
|
69 |
|
|
184 |
//------------------- fill vectors and histogram -----------------------------// |
//------------------- fill vectors and histogram -----------------------------// |
185 |
Double_t *PscuCounter = new Double_t[size]; |
Double_t *PscuCounter = new Double_t[size]; |
186 |
Double_t *PacketLenght = new Double_t[size]; |
Double_t *PacketLenght = new Double_t[size]; |
187 |
Double_t *OBTime = new Double_t[size]; |
ULong_t utile=0; |
188 |
|
double *OBTime = new Double_t[size]; |
189 |
Double_t *Eventsperminute= new Double_t[nbin]; |
Double_t *Eventsperminute= new Double_t[nbin]; |
190 |
Double_t *Minute= new Double_t[nbin]; |
Double_t *Minute= new Double_t[nbin]; |
191 |
Int_t max=0; |
Int_t max=0; |
195 |
h1->Fill(ph->GetOrbitalTime()); |
h1->Fill(ph->GetOrbitalTime()); |
196 |
PscuCounter[k]= ph->GetCounter(); |
PscuCounter[k]= ph->GetCounter(); |
197 |
PacketLenght[k]=ph->GetPacketLenght(); |
PacketLenght[k]=ph->GetPacketLenght(); |
198 |
OBTime[k]=ph->GetOrbitalTime(); |
utile= ph->GetOrbitalTime(); |
199 |
|
OBTime[k]=utile; |
200 |
} |
} |
201 |
int l=0; |
int l=0; |
202 |
while(l<nbin){ |
while(l<nbin){ |
219 |
rate1->SetMarkerStyle(21); |
rate1->SetMarkerStyle(21); |
220 |
rate->Add(rate1); |
rate->Add(rate1); |
221 |
|
|
222 |
TGraph *packetLength1= new TGraph(nevents, (const Double_t*)OBTime, (const Double_t*)PacketLenght); |
TGraph *packetLength1= new TGraph(nevents, (const double*)OBTime, (const double*)PacketLenght); |
223 |
oss2.str(""); |
oss2.str(""); |
224 |
oss2 <<"Lenght of Physic packets"; |
oss2 <<"Lenght of Physic packets"; |
225 |
packetLength1->SetMarkerColor(2); |
packetLength1->SetMarkerColor(2); |
406 |
ph = eh->GetPscuHeader(); |
ph = eh->GetPscuHeader(); |
407 |
PscuCounter1[n]= ph->GetCounter(); |
PscuCounter1[n]= ph->GetCounter(); |
408 |
FileOffset1[n]=ph->GetFileOffset(); |
FileOffset1[n]=ph->GetFileOffset(); |
409 |
tempo1[n]=ph->GetOrbitalTime(); |
utile=ph->GetOrbitalTime(); |
410 |
|
tempo1[n]=utile; |
411 |
if((m==0) && (n==0)){ |
if((m==0) && (n==0)){ |
412 |
primotempo=ph->GetOrbitalTime(); |
primotempo=ph->GetOrbitalTime(); |
413 |
salto=ph->GetOrbitalTime(); |
salto=ph->GetOrbitalTime(); |