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

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

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

revision 1.27 by pam-fi, Mon Feb 26 16:41:05 2007 UTC revision 1.28 by pam-fi, Thu Mar 8 01:41:02 2007 UTC
# Line 2  Line 2 
2   * FTrkCalibQLookExpert.cxx   * FTrkCalibQLookExpert.cxx
3   *   *
4   * autor: D.Fedele   * autor: D.Fedele
5   * version v1r25   * version v1r26
6   * Parameters:   * Parameters:
7   *      file - the data file to analyze   *      file - the data file to analyze
8   *      step - select =1 in order to analyze one event at time   *      step - select =1 in order to analyze one event at time
# Line 77  void FTrkCalibQLook_EXPERT(TString file, Line 77  void FTrkCalibQLook_EXPERT(TString file,
77    Int_t nevents=0;    Int_t nevents=0;
78    Int_t minevent = 0;    Int_t minevent = 0;
79    Int_t maxevent = 0;    Int_t maxevent = 0;
80    ULong64_t FOBT[2];    ULong_t FOBT[2];
81        
82    FOBT[0]=0;    FOBT[0]=0;
83    FOBT[1]=0;    FOBT[1]=0;
# Line 188  void FTrkCalibQLook_EXPERT(TString file, Line 188  void FTrkCalibQLook_EXPERT(TString file,
188            
189    Int_t hcevent=hotr->GetEntries();    Int_t hcevent=hotr->GetEntries();
190    Int_t tcevent=totr->GetEntries();    Int_t tcevent=totr->GetEntries();
191    ULong64_t HOBT[hcevent], TOBT[tcevent];    ULong_t HOBT[hcevent], TOBT[tcevent];
192    for (Int_t i = 0; i < hcevent; i++){    for (Int_t i = 0; i < hcevent; i++){
193      hotr->GetEntry(i);      hotr->GetEntry(i);
194      ph = eh4->GetPscuHeader();      ph = eh4->GetPscuHeader();
# Line 572  void FTrkCalibQLook_EXPERT(TString file, Line 572  void FTrkCalibQLook_EXPERT(TString file,
572            b.DrawBox(896.,700.,1024.,maxhist);                  b.DrawBox(896.,700.,1024.,maxhist);      
573          }          }
574          else if(nn==6){          else if(nn==6){
           b.SetFillColor(6);  
           b.SetFillStyle(3945);  
           b.DrawBox(1024.,2200.,1280.,maxhist);  
             
575            b.SetFillColor(107);            b.SetFillColor(107);
576            b.SetFillStyle(3954);            b.SetFillStyle(3954);
577            b.DrawBox(512.,2200.,768.,maxhist);            b.DrawBox(512.,2200.,768.,maxhist);
578              b.DrawBox(1024.,2200.,1280.,maxhist);
579            b.DrawBox(1280.,2200.,1792.,maxhist);            b.DrawBox(1280.,2200.,1792.,maxhist);
580            b.DrawBox(2560.,2200.,2816.,maxhist);            b.DrawBox(2560.,2200.,2816.,maxhist);
581          }          }
# Line 587  void FTrkCalibQLook_EXPERT(TString file, Line 584  void FTrkCalibQLook_EXPERT(TString file,
584            b.SetFillStyle(3954);            b.SetFillStyle(3954);
585            b.DrawBox(512.,700.,768.,maxhist);            b.DrawBox(512.,700.,768.,maxhist);
586            b.DrawBox(896.,700.,1535.,maxhist);            b.DrawBox(896.,700.,1535.,maxhist);
587              b.DrawBox(2024.,700.,2280.,maxhist);
588          }          }
589          else if(nn==8){          else if(nn==8){
590            b.SetFillColor(107);            b.SetFillColor(107);
# Line 695  void FTrkCalibQLook_EXPERT(TString file, Line 693  void FTrkCalibQLook_EXPERT(TString file,
693            b.DrawBox(896.,0.,1024.,maxhist);                  b.DrawBox(896.,0.,1024.,maxhist);      
694          }          }
695          else if(nn==6){          else if(nn==6){
           b.SetFillColor(6);  
           b.SetFillStyle(3945);  
           b.DrawBox(1024.,0.,1280.,maxhist);  
             
696            b.SetFillColor(107);            b.SetFillColor(107);
697            b.SetFillStyle(3954);            b.SetFillStyle(3954);
698            b.DrawBox(512.,0.,768.,maxhist);            b.DrawBox(512.,0.,768.,maxhist);
699              b.DrawBox(1024.,0.,1280.,maxhist);
700            b.DrawBox(1280.,0.,1792.,maxhist);            b.DrawBox(1280.,0.,1792.,maxhist);
701            b.DrawBox(2560.,0.,2816.,maxhist);            b.DrawBox(2560.,0.,2816.,maxhist);
702          }          }
# Line 710  void FTrkCalibQLook_EXPERT(TString file, Line 705  void FTrkCalibQLook_EXPERT(TString file,
705            b.SetFillStyle(3954);            b.SetFillStyle(3954);
706            b.DrawBox(512.,0.,768.,maxhist);            b.DrawBox(512.,0.,768.,maxhist);
707            b.DrawBox(896.,0.,1535.,maxhist);            b.DrawBox(896.,0.,1535.,maxhist);
708              b.DrawBox(2024.,0.,2280.,maxhist);
709          }          }
710          else if(nn==8){          else if(nn==8){
711            b.SetFillColor(107);            b.SetFillColor(107);

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

  ViewVC Help
Powered by ViewVC 1.1.23