/[PAMELA software]/quicklook/tracker/flight/macros/FTrkQLook_BASIC.cxx
ViewVC logotype

Diff of /quicklook/tracker/flight/macros/FTrkQLook_BASIC.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by pam-fi, Thu Jun 1 18:44:26 2006 UTC revision 1.4 by pam-fi, Mon Jun 5 08:38:42 2006 UTC
# Line 25  Line 25 
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 ){
# Line 267  void FTrkQLook_BASIC(TString file,Int_t Line 268  void FTrkQLook_BASIC(TString file,Int_t
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;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.23