/[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.16 by pam-fi, Thu Oct 12 16:58:34 2006 UTC revision 1.18 by pam-fi, Mon Oct 30 17:45:36 2006 UTC
# Line 2  Line 2 
2   * FTrkCalibQLookExpert.cxx   * FTrkCalibQLookExpert.cxx
3   *   *
4   * autor: D.Fedele   * autor: D.Fedele
5   * version v1r14   * version v1r16
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 87  void FTrkCalibQLook_EXPERT(TString file, Line 87  void FTrkCalibQLook_EXPERT(TString file,
87    ctrk.good0[1]=0;    ctrk.good0[1]=0;
88    for(Int_t i=0;i<12;i++){    for(Int_t i=0;i<12;i++){
89      ctrk.daqmode[i]=0;      ctrk.daqmode[i]=0;
90      ctrk.dspnum[i]=100;      ctrk.dspnum[i]=0;
91      ctrk.calibnum[i]=0;      ctrk.calibnum[i]=0;
92      ctrk.ncalev[i]=0;      ctrk.ncalev[i]=0;
93      ctrk.calfl[i]=0;      ctrk.calfl[i]=0;
# Line 418  void FTrkCalibQLook_EXPERT(TString file, Line 418  void FTrkCalibQLook_EXPERT(TString file,
418      for(Int_t n = 0; n<12; n++){      for(Int_t n = 0; n<12; n++){
419        if(ctrk.ncalev[n]==0 && ctrk.calfl[n]==0)calok = 1;//GOOD        if(ctrk.ncalev[n]==0 && ctrk.calfl[n]==0)calok = 1;//GOOD
420            
421        if(ctrk.dspnum[n]>13)        if(ctrk.dspnum[n]==0)
422          continue;          continue;
423    
424        nn=ctrk.dspnum[n]-1;        nn=ctrk.dspnum[n]-1;
# Line 533  void FTrkCalibQLook_EXPERT(TString file, Line 533  void FTrkCalibQLook_EXPERT(TString file,
533        histoaped[nn]->SetLineWidth(1);        histoaped[nn]->SetLineWidth(1);
534  //       if(ctrk.good0[0]==1 && ctrk.good0[1]==1){  //       if(ctrk.good0[0]==1 && ctrk.good0[1]==1){
535          histoped[nn]->Draw("b");          histoped[nn]->Draw("b");
536          if(nn==1){          if(nn==0){
537              maxhist=histoped[nn]->GetMaximum();
538              b.SetFillColor(107);
539              b.SetFillStyle(3945);
540              b.DrawBox(768.,700.,2047.,maxhist);
541            }
542            else if(nn==1){
543            maxhist=histoped[nn]->GetMaximum();            maxhist=histoped[nn]->GetMaximum();
544            b.SetFillColor(6);            b.SetFillColor(6);
545            b.SetFillStyle(3945);            b.SetFillStyle(3945);
# Line 621  void FTrkCalibQLook_EXPERT(TString file, Line 627  void FTrkCalibQLook_EXPERT(TString file,
627        histoasig[nn]->SetLineWidth(1);        histoasig[nn]->SetLineWidth(1);
628  //      if(ctrk.good0[0]==1 && ctrk.good0[1]==1){  //      if(ctrk.good0[0]==1 && ctrk.good0[1]==1){
629          histosig[nn]->Draw("b");          histosig[nn]->Draw("b");
630          if(nn==1){          if(nn==0){
631              maxhist=histosig[nn]->GetMaximum();
632              b.SetFillColor(107);
633              b.SetFillStyle(3945);
634              b.DrawBox(768.,0.,2047.,maxhist);
635            }
636            else if(nn==1){
637            maxhist=histosig[nn]->GetMaximum();            maxhist=histosig[nn]->GetMaximum();
638            b.SetFillColor(6);            b.SetFillColor(6);
639            b.SetFillStyle(3945);            b.SetFillStyle(3945);

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.18

  ViewVC Help
Powered by ViewVC 1.1.23