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

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

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

revision 1.31 by pam-fi, Wed Jan 2 16:07:50 2008 UTC revision 1.32 by mocchiut, Fri Jan 17 15:10:41 2014 UTC
# Line 16  Line 16 
16  #include <iostream>  #include <iostream>
17  #include <sstream>  #include <sstream>
18  #include <fstream>  #include <fstream>
19    #include <TAxis.h>
20    #include <TH1F.h>
21    #include <TROOT.h>
22    #include <cstdlib>
23  //  //
24  #include <TPaveText.h>  #include <TPaveText.h>
25  #include <TLatex.h>  #include <TLatex.h>
# Line 36  Line 40 
40    
41  using namespace std;  using namespace std;
42    
43  typedef struct trkword{  struct trkword{
44    int type;    int type;
45    int decode;    int decode;
46  };  };
# Line 341  void FTrkScanQLook_EXPERT(TString file, Line 345  void FTrkScanQLook_EXPERT(TString file,
345          // = = = = = = = = = = = = = = = = = = = = = = = = =          // = = = = = = = = = = = = = = = = = = = = = = = = =
346          Int_t ndsp=0;          Int_t ndsp=0;
347                    
348          Int_t whistomax[3072];          //      Int_t whistomax[3072];
349          Int_t whisto[3072];          Int_t whisto[3072];
350          Int_t whistocomp[3072];          //      Int_t whistocomp[3072];
351          Int_t whistofull[3072];          Int_t whistofull[3072];
352                    
353          //      //      transmitted words          //      //      transmitted words
354          Int_t word = 0;          Int_t word = 0;
355          Int_t iword = 0;            Int_t iword = 0;  
356          Int_t ii=0,ifull[12],icomp[12],imax[12],nn=0;              //      Int_t ii=0,ifull[12],icomp[12],imax[12],nn=0;    
357            Int_t ii=0,nn=0;    
358          trkword thisword;          trkword thisword;
359                    
360          Int_t address,ladder;          Int_t address,ladder;
# Line 358  void FTrkScanQLook_EXPERT(TString file, Line 363  void FTrkScanQLook_EXPERT(TString file,
363          for(Int_t n = 0; n<12; n++){          for(Int_t n = 0; n<12; n++){
364            ndsp = trk->DSPnumber[n];            ndsp = trk->DSPnumber[n];
365            nn = ndsp-1;            nn = ndsp-1;
366            ifull[nn]=0;            //      ifull[nn]=0;
367            icomp[nn]=0;            //      icomp[nn]=0;
368            imax[nn]=0;            //      imax[nn]=0;
369                        
370            for(Int_t vi = 0; vi< 3072; vi++){            for(Int_t vi = 0; vi< 3072; vi++){
371              whistomax[vi] = -200;              //      whistomax[vi] = -200;
372              whistocomp[vi] = -200;              //      whistocomp[vi] = -200;
373              whistofull[vi] = -200;              whistofull[vi] = -200;
374              whisto[vi] = -200;              whisto[vi] = -200;
375            }            }
# Line 397  void FTrkScanQLook_EXPERT(TString file, Line 402  void FTrkScanQLook_EXPERT(TString file,
402                  //                  end of compressed data - FILL HISTO                  //                  end of compressed data - FILL HISTO
403                  //cout << ">>> COMPRESSED data" << "\n";                  //cout << ">>> COMPRESSED data" << "\n";
404                  for(ii = 0; ii < 3072; ii++){                  for(ii = 0; ii < 3072; ii++){
405                    whistocomp[ii]=whisto[ii];                    //              whistocomp[ii]=whisto[ii];
406                    whisto[ii] = -200;                    whisto[ii] = -200;
407                  }                  }
408                  address = 0;                  address = 0;

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

  ViewVC Help
Powered by ViewVC 1.1.23