| 25 |
#include <EventHeader.h> |
#include <EventHeader.h> |
| 26 |
#include <RunHeaderEvent.h> |
#include <RunHeaderEvent.h> |
| 27 |
// |
// |
| 28 |
|
#define MAXSTORAGE 50000 |
| 29 |
|
|
| 30 |
void stringcopy(TString& s1, const TString& s2, Int_t from=0, Int_t to=0){ |
void stringcopy(TString& s1, const TString& s2, Int_t from=0, Int_t to=0){ |
| 31 |
if ( to == 0 ){ |
if ( to == 0 ){ |
| 268 |
t2->SetTextSize(0.08); |
t2->SetTextSize(0.08); |
| 269 |
|
|
| 270 |
Int_t i=0; |
Int_t i=0; |
| 271 |
Float_t x[30000], xb[30000]; |
Float_t x[MAXSTORAGE], xb[MAXSTORAGE]; |
| 272 |
Float_t yyd[30000][12],yyb[30000][12]; |
Float_t yyd[MAXSTORAGE][12],yyb[MAXSTORAGE][12]; |
| 273 |
for (Int_t ev=minev; ev<maxevent; ev++){ |
for (Int_t ev=minev; ev<maxevent; ev++){ |
| 274 |
tr->GetEntry(ev); |
tr->GetEntry(ev); |
| 275 |
ph = eh->GetPscuHeader(); |
ph = eh->GetPscuHeader(); |
| 276 |
|
|
| 277 |
if(ev==maxevent-1) maxev=maxevent-1; |
if(ev==maxevent-1) maxev=maxevent-1; |
| 278 |
// printf("prova00\n"); |
// printf("prova00\n"); |
| 279 |
if((ph->GetOrbitalTime()<x[ev-minev-1]&&ev-minev!=0) || ev-minev==30000){ |
if((ph->GetOrbitalTime()<x[ev-minev-1]&&ev-minev!=0) || ev-minev==MAXSTORAGE){ |
| 280 |
maxev=ev; |
maxev=ev; |
| 281 |
// printf("prova12\n"); |
// printf("prova12\n"); |
| 282 |
break; |
break; |