void makePicsV7(int iShow){

  gROOT->Reset();
  gROOT->SetStyle("Plain");
  gStyle->SetOptStat(0);


  TFile *hFileAB = new TFile("./dataOut/AB.root");
  TFile *hFileA  = new TFile("./dataOut/A.root");
  TFile *hFileB  = new TFile("./dataOut/B.root");

  TH1D *hMassKmStarAB; hFileAB->GetObject("hMassKmStar",hMassKmStarAB);
  TH1D *hMassKmStarA; hFileA->GetObject("hMassKmStar",hMassKmStarA);
  TH1D *hMassKmStarB; hFileB->GetObject("hMassKmStar",hMassKmStarB);

  /// 1230  ///
  TFile *hFile1230AB = new TFile("./dataOut/m1230.root");
  TFile *hFile1230A  = new TFile("./dataOut/A_m1230.root");
  TFile *hFile1230B  = new TFile("./dataOut/B_m1230.root");

  TH1D *hMassKmStar1230AB; hFile1230AB->GetObject("hMassKmStar",hMassKmStar1230AB);
  TH1D *hMassKmStar1230A; hFile1230A->GetObject("hMassKmStar",hMassKmStar1230A);
  TH1D *hMassKmStar1230B; hFile1230B->GetObject("hMassKmStar",hMassKmStar1230B);

  /// 1250  ///
  TFile *hFile1250AB = new TFile("./dataOut/m1250.root");
  TFile *hFile1250A  = new TFile("./dataOut/A_m1250.root");
  TFile *hFile1250B  = new TFile("./dataOut/B_m1250.root");

  TH1D *hMassKmStar1250AB; hFile1250AB->GetObject("hMassKmStar",hMassKmStar1250AB);
  TH1D *hMassKmStar1250A; hFile1250A->GetObject("hMassKmStar",hMassKmStar1250A);
  TH1D *hMassKmStar1250B; hFile1250B->GetObject("hMassKmStar",hMassKmStar1250B);

  /// 1270  ///
  TFile *hFile1270AB = new TFile("./dataOut/m1270.root");
  TFile *hFile1270A  = new TFile("./dataOut/A_m1270.root");
  TFile *hFile1270B  = new TFile("./dataOut/B_m1270.root");

  TH1D *hMassKmStar1270AB; hFile1270AB->GetObject("hMassKmStar",hMassKmStar1270AB);
  TH1D *hMassKmStar1270A; hFile1270A->GetObject("hMassKmStar",hMassKmStar1270A);
  TH1D *hMassKmStar1270B; hFile1270B->GetObject("hMassKmStar",hMassKmStar1270B);

  /// 1290  ///
  TFile *hFile1290AB = new TFile("./dataOut/m1290.root");
  TFile *hFile1290A  = new TFile("./dataOut/A_m1290.root");
  TFile *hFile1290B  = new TFile("./dataOut/B_m1290.root");

  TH1D *hMassKmStar1290AB; hFile1290AB->GetObject("hMassKmStar",hMassKmStar1290AB);
  TH1D *hMassKmStar1290A; hFile1290A->GetObject("hMassKmStar",hMassKmStar1290A);
  TH1D *hMassKmStar1290B; hFile1290B->GetObject("hMassKmStar",hMassKmStar1290B);

  /// 1310  ///
  TFile *hFile1310AB = new TFile("./dataOut/m1310.root");
  TFile *hFile1310A  = new TFile("./dataOut/A_m1310.root");
  TFile *hFile1310B  = new TFile("./dataOut/B_m1310.root");

  TH1D *hMassKmStar1310AB; hFile1310AB->GetObject("hMassKmStar",hMassKmStar1310AB);
  TH1D *hMassKmStar1310A; hFile1310A->GetObject("hMassKmStar",hMassKmStar1310A);
  TH1D *hMassKmStar1310B; hFile1310B->GetObject("hMassKmStar",hMassKmStar1310B);

  if (iShow == 0){ 
    hMassKmStarAB->GetXaxis()->SetTitle("Mass(K^{-}#pi^{0})");
    hMassKmStarAB->GetYaxis()->SetTitle("Counts");
    hMassKmStarAB->SetLineColor(3);
    hMassKmStarAB->SetFillColor(3);
    hMassKmStarAB->SetFillStyle(3001);
    hMassKmStarB->SetFillColor(1);
    hMassKmStarB->SetFillStyle(3001);
    hMassKmStarAB->Draw();
    hMassKmStarAB->Draw("");
    hMassKmStarB->Draw("same");

    Double_t xl1=0.68, yl1 = 0.77, xl2=xl1+0.2, yl2=yl1+0.1;
    TLegend *legend = new TLegend(xl1,yl1,xl2,yl2);
    legend->SetFillColor(0);
    legend->SetLineColor(0);
    legend->SetTextSize(0.04);
    legend->AddEntry(hMassKmStarB,"Removed","f");
    legend->Draw();
    c1->Print("./pics/m_kmstar.png");
  }

  //1230
  if (iShow == 1){ 
    hMassKmStar1230AB->GetXaxis()->SetTitle("Mass(K^{-}#pi^{0})");
    hMassKmStar1230AB->GetYaxis()->SetTitle("Counts");
    hMassKmStar1230AB->SetLineColor(3);
    hMassKmStar1230AB->SetFillColor(3);
    hMassKmStar1230AB->SetFillStyle(3001);
    hMassKmStar1230B->SetFillColor(1);
    hMassKmStar1230B->SetFillStyle(3001);
    hMassKmStar1230AB->Draw();
    hMassKmStar1230AB->Draw("");
    hMassKmStar1230B->Draw("same");

    Double_t xl1=0.68, yl1 = 0.77, xl2=xl1+0.2, yl2=yl1+0.1;
    TLegend *legend = new TLegend(xl1,yl1,xl2,yl2);
    legend->SetFillColor(0);
    legend->SetLineColor(0);
    legend->SetTextSize(0.04);
    legend->AddEntry(hMassKmStar1230B,"Removed","f");
    legend->Draw();
    c1->Print("./pics/m_kmstar1230.png");
  }

  //1250

  if (iShow == 2){ 
    hMassKmStar1250AB->GetXaxis()->SetTitle("Mass(K^{-}#pi^{0})");
    hMassKmStar1250AB->GetYaxis()->SetTitle("Counts");
    hMassKmStar1250AB->SetLineColor(3);
    hMassKmStar1250AB->SetFillColor(3);
    hMassKmStar1250AB->SetFillStyle(3001);
    hMassKmStar1250B->SetFillColor(1);
    hMassKmStar1250B->SetFillStyle(3001);
    hMassKmStar1250AB->Draw();
    hMassKmStar1250AB->Draw("");
    hMassKmStar1250B->Draw("same");

    Double_t xl1=0.68, yl1 = 0.77, xl2=xl1+0.2, yl2=yl1+0.1;
    TLegend *legend = new TLegend(xl1,yl1,xl2,yl2);
    legend->SetFillColor(0);
    legend->SetLineColor(0);
    legend->SetTextSize(0.04);
    legend->AddEntry(hMassKmStar1250B,"Removed","f");
    legend->Draw();
    c1->Print("./pics/m_kmstar1250.png");
  }
  //1270

  if (iShow == 3){ 
    hMassKmStar1270AB->GetXaxis()->SetTitle("Mass(K^{-}#pi^{0})");
    hMassKmStar1270AB->GetYaxis()->SetTitle("Counts");
    hMassKmStar1270AB->SetLineColor(3);
    hMassKmStar1270AB->SetFillColor(3);
    hMassKmStar1270AB->SetFillStyle(3001);
    hMassKmStar1270B->SetFillColor(1);
    hMassKmStar1270B->SetFillStyle(3001);
    hMassKmStar1270AB->Draw();
    hMassKmStar1270AB->Draw("");
    hMassKmStar1270B->Draw("same");

    Double_t xl1=0.68, yl1 = 0.77, xl2=xl1+0.2, yl2=yl1+0.1;
    TLegend *legend = new TLegend(xl1,yl1,xl2,yl2);
    legend->SetFillColor(0);
    legend->SetLineColor(0);
    legend->SetTextSize(0.04);
    legend->AddEntry(hMassKmStar1270B,"Removed","f");
    legend->Draw();
    c1->Print("./pics/m_kmstar1270.png");
  }
  //1290

  if (iShow == 4){ 
    hMassKmStar1290AB->GetXaxis()->SetTitle("Mass(K^{-}#pi^{0})");
    hMassKmStar1290AB->GetYaxis()->SetTitle("Counts");
    hMassKmStar1290AB->SetLineColor(3);
    hMassKmStar1290AB->SetFillColor(3);
    hMassKmStar1290AB->SetFillStyle(3001);
    hMassKmStar1290B->SetFillColor(1);
    hMassKmStar1290B->SetFillStyle(3001);
    hMassKmStar1290AB->Draw();
    hMassKmStar1290AB->Draw("");
    hMassKmStar1290B->Draw("same");

    Double_t xl1=0.68, yl1 = 0.77, xl2=xl1+0.2, yl2=yl1+0.1;
    TLegend *legend = new TLegend(xl1,yl1,xl2,yl2);
    legend->SetFillColor(0);
    legend->SetLineColor(0);
    legend->SetTextSize(0.04);
    legend->AddEntry(hMassKmStar1290B,"Removed","f");
    legend->Draw();
    c1->Print("./pics/m_kmstar1290.png");
  }
  //1310

  if (iShow == 5){ 
    hMassKmStar1310AB->GetXaxis()->SetTitle("Mass(K^{-}#pi^{0})");
    hMassKmStar1310AB->GetYaxis()->SetTitle("Counts");
    hMassKmStar1310AB->SetLineColor(3);
    hMassKmStar1310AB->SetFillColor(3);
    hMassKmStar1310AB->SetFillStyle(3001);
    hMassKmStar1310B->SetFillColor(1);
    hMassKmStar1310B->SetFillStyle(3001);
    hMassKmStar1310AB->Draw();
    hMassKmStar1310AB->Draw("");
    hMassKmStar1310B->Draw("same");

    Double_t xl1=0.68, yl1 = 0.77, xl2=xl1+0.2, yl2=yl1+0.1;
    TLegend *legend = new TLegend(xl1,yl1,xl2,yl2);
    legend->SetFillColor(0);
    legend->SetLineColor(0);
    legend->SetTextSize(0.04);
    legend->AddEntry(hMassKmStar1310B,"Removed","f");
    legend->Draw();
    c1->Print("./pics/m_kmstar1310.png");
  }
}
