/[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.2 by pam-fi, Thu May 18 13:06:08 2006 UTC revision 1.3 by pam-fi, Thu Jun 1 17:38:54 2006 UTC
# Line 70  void FTrkCalibQLook_EXPERT(TString file, Line 70  void FTrkCalibQLook_EXPERT(TString file,
70    //    //
71    //   obtain information about the data file and select the output dir    //   obtain information about the data file and select the output dir
72    const string filepath=file.Data();    const string filepath=file.Data();
73    Int_t dwpos = filepath.rfind("DW_");    Int_t dwpos = filepath.rfind("/");
74    Int_t dwpos1 = filepath.find(".root");    Int_t dwpos1 = filepath.rfind(".root");
75    TString fpath=(filepath.c_str());    TString fpath=(filepath.c_str());
76    TString base,ffile;    TString base,ffile;
77    stringcopy(base,fpath,0,dwpos);    stringcopy(base,fpath,0,dwpos);
78    stringcopy(ffile,fpath,dwpos,dwpos1);    stringcopy(ffile,fpath,dwpos+1,dwpos1);
79      if(dwpos>0) base+="/";
80    
81    TString out;    TString out;
82    if(outdir.Length()==0){    if(outdir.Length()==0){
# Line 306  void FTrkCalibQLook_EXPERT(TString file, Line 307  void FTrkCalibQLook_EXPERT(TString file,
307      TH1F *histoasig[12];           //histos of sigma      TH1F *histoasig[12];           //histos of sigma
308      TH1F *histoaped[12];          //histos of pedestals      TH1F *histoaped[12];          //histos of pedestals
309            
310      Double_t posy = 0.95;    // up y-coord - top pads      Float_t posy = 0.95;    // up y-coord - top pads
311      Double_t hpad = 0.15;   // pad height      Float_t hpad = 0.15;   // pad height
312      Double_t posx1=0;          // left  x-coord - pad column      Float_t posx1=0;          // left  x-coord - pad column
313      Double_t posx2=0;          // right x-coord - pad olumn      Float_t posx2=0;          // right x-coord - pad olumn
314      Double_t posx0=0;          //       x-coord - column division      Float_t posx0=0;          //       x-coord - column division
315      Double_t wrel = 0.6;     // relative x size of first sub-column      Float_t wrel = 0.6;     // relative x size of first sub-column
316      Double_t marg = 0.004;   // margin among pads      Float_t marg = 0.004;   // margin among pads
317      stringstream title;      stringstream title;
318      stringstream hid;      stringstream hid;
319    
# Line 453  void FTrkCalibQLook_EXPERT(TString file, Line 454  void FTrkCalibQLook_EXPERT(TString file,
454        li.SetLineStyle(3);        li.SetLineStyle(3);
455        li.SetLineWidth(2);        li.SetLineWidth(2);
456                
457        Double_t maxhist=0;        Float_t maxhist=0;
458        TBox b;        TBox b;
459        b.SetFillColor(6);        b.SetFillColor(6);
460        b.SetFillStyle(3945);        b.SetFillStyle(3945);
# Line 504  void FTrkCalibQLook_EXPERT(TString file, Line 505  void FTrkCalibQLook_EXPERT(TString file,
505    
506                
507        /* plot SIGMA */        /* plot SIGMA */
508        Double_t max=500.;        Float_t max=500.;
509        c2->cd();        c2->cd();
510        trkpadtext[nn]->Draw();        trkpadtext[nn]->Draw();
511        trkpad2[nn]->SetLogy();        trkpad2[nn]->SetLogy();

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

  ViewVC Help
Powered by ViewVC 1.1.23