/[PAMELA software]/quicklook/QLflightTmtc_Header/TmtcTemperature.cpp
ViewVC logotype

Diff of /quicklook/QLflightTmtc_Header/TmtcTemperature.cpp

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

revision 1.6 by pam-fi, Sun Jul 9 06:40:08 2006 UTC revision 1.7 by pam-rm2, Tue Jul 11 14:27:33 2006 UTC
# Line 237  string titolocc[] ={"IPM1 input","IPM2 i Line 237  string titolocc[] ={"IPM1 input","IPM2 i
237          ev[0]=0;          ev[0]=0;
238          records[0]=0;          records[0]=0;
239          OBT[0]=tmr->TM_RECORD_OBT;          OBT[0]=tmr->TM_RECORD_OBT;
240        }else if (fmod(i, 35)==0 || ((tmr->TM_RECORD_OBT)<OBT[i-1]) || (i==(size-1)) ){        }else if (fmod(i, 30)==0 || ((tmr->TM_RECORD_OBT)<OBT[i-1]) || (i==(size-1)) ){
241          //}else if ((fmod(i, 20)==0) || (i==(size-1)) ){          //}else if ((fmod(i, 20)==0) || (i==(size-1)) ){
242          tot=tot+1;          tot=tot+1;
243          if (recordstotmax<recordstot) recordstotmax=recordstot;          if (recordstotmax<recordstot) recordstotmax=recordstot;
# Line 727  string titolocc[] ={"IPM1 input","IPM2 i Line 727  string titolocc[] ={"IPM1 input","IPM2 i
727         Canvasthdea->cd(k+1);         Canvasthdea->cd(k+1);
728                
729         TGraph *threcord = new TGraph(recordstot, xrecordobtth_1, ythana_1);         TGraph *threcord = new TGraph(recordstot, xrecordobtth_1, ythana_1);
730         threcord->SetLineColor(kBlue);         // threcord->SetLineColor(kBlue);
731           threcord->SetMarkerSize(0.2);
732         threcord->SetMarkerColor(kBlue);         threcord->SetMarkerColor(kBlue);
733         threcord->SetMarkerStyle(21);         threcord->SetMarkerStyle(21);
734         threcord->SetMinimum(-10);         threcord->SetMinimum(-10);
# Line 747  string titolocc[] ={"IPM1 input","IPM2 i Line 748  string titolocc[] ={"IPM1 input","IPM2 i
748           pt->AddText("OFF");           pt->AddText("OFF");
749           pt->SetBorderSize(1);           pt->SetBorderSize(1);
750           pt->Draw();           pt->Draw();
751           threcord->Draw("ACsame");           threcord->Draw("APsame");
752           TF1 *func1 = new TF1("func1", "50");           TF1 *func1 = new TF1("func1", "50");
753           func1->SetRange(xmin,xmax);           func1->SetRange(xmin,xmax);
754           func1->SetLineColor(2);           func1->SetLineColor(2);
# Line 760  string titolocc[] ={"IPM1 input","IPM2 i Line 761  string titolocc[] ={"IPM1 input","IPM2 i
761           pt->AddText("OFF");           pt->AddText("OFF");
762           pt->SetBorderSize(1);           pt->SetBorderSize(1);
763           pt->Draw();           pt->Draw();
764           threcord->Draw("ACsame");           threcord->Draw("APsame");
765           TF1 *func1 = new TF1("func1", "45");           TF1 *func1 = new TF1("func1", "45");
766           func1->SetRange(xmin,xmax);           func1->SetRange(xmin,xmax);
767           func1->SetLineColor(2);           func1->SetLineColor(2);
# Line 794  string titolocc[] ={"IPM1 input","IPM2 i Line 795  string titolocc[] ={"IPM1 input","IPM2 i
795       pt1->Draw();       pt1->Draw();
796            
797       TGraph *dearecord = new TGraph(recordstot, xrecordobtdea_1, ydea_1);       TGraph *dearecord = new TGraph(recordstot, xrecordobtdea_1, ydea_1);
798       dearecord->SetLineColor(kBlue);       //dearecord->SetLineColor(kBlue);
799       dearecord->SetLineWidth(1);       //dearecord->SetLineWidth(1);
800       dearecord->SetMarkerStyle(21);       dearecord->SetMarkerStyle(21);
801       dearecord->SetMarkerSize(0.5);       dearecord->SetMarkerSize(0.5);
802       dearecord->SetMarkerColor(kBlue);       dearecord->SetMarkerColor(kBlue);
# Line 808  string titolocc[] ={"IPM1 input","IPM2 i Line 809  string titolocc[] ={"IPM1 input","IPM2 i
809       oss.str("");       oss.str("");
810       oss <<  filename.Data()<<": IPM "<<k+1<<" output";       oss <<  filename.Data()<<": IPM "<<k+1<<" output";
811       dearecord->SetTitle(oss.str().c_str());       dearecord->SetTitle(oss.str().c_str());
812       dearecord->Draw("ACPLsame");       dearecord->Draw("APsame");
813         //dearecord->Draw("ACPLsame");
814    
815       Double_t xmin=dearecord->GetXaxis()->GetXmin();       Double_t xmin=dearecord->GetXaxis()->GetXmin();
816       Double_t xmax=dearecord->GetXaxis()->GetXmax();       Double_t xmax=dearecord->GetXaxis()->GetXmax();

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.23