ROOT logo
#if !defined(__CINT__) || defined(__MAKECINT__)
#include <stdio.h>
#include <stdlib.h>
#include <TROOT.h>
#include <Riostream.h>
#include <TClassTable.h>
#include <TStyle.h>
#include <TMath.h>
#include <TFile.h>
#include <TCanvas.h>
#include <TH1.h>
#include <TH2.h>
#include <TProfile.h>
#include <TLine.h>
#include <TGrid.h>
#include <TBits.h>
#include <TChain.h>
#include <TNtuple.h>
#include <TTree.h>
#include <TBranch.h>
#include <TFileMerger.h>
#include <TGridResult.h>
#include <TSystem.h>
#include <TGaxis.h>
#include <TRandom.h>
#include <TLegend.h>
#endif

Int_t DrawPerformanceZDCQAMatch(const char* inFile){
  
// Draw control histograms and generate output pictures

gSystem->Load("libSTAT");
gSystem->Load("libANALYSIS");
gSystem->Load("libANALYSISalice");
gSystem->Load("libANALYSIScalib");
gSystem->Load("libCORRFW");
gSystem->Load("libANALYSISalice.so");
gSystem->Load("libANALYSIScalib.so");
gSystem->Load("libTENDER.so");
gSystem->Load("libPWGPP.so");

gROOT->Reset();
gROOT->SetStyle("Plain");
gStyle->SetPalette(1);
gStyle->SetOptStat(0);    
gStyle->SetTitleSize(0.025);
TH1::AddDirectory(kFALSE);

TFile * fin = TFile::Open(inFile);
TTree * ttree = (TTree*) fin->Get("trending");  //in
TTree * tree = new TTree("tree","tree");        //out (to be summed)

if (!ttree){
  Printf("Invalid trending tree.");
  return 2;
}

Int_t nRuns=ttree->GetEntries();
TList list;
  
/*set graphic style*/
gStyle->SetCanvasColor(kWhite);
gStyle->SetFrameFillColor(kWhite);
gStyle->SetFrameBorderMode(0);
gStyle->SetCanvasBorderMode(0);
gStyle->SetTitleFillColor(kWhite);
gStyle->SetTitleBorderSize(0);
gStyle->SetTitleFont(42);
gStyle->SetTitleX(0.5);
gStyle->SetTitleAlign(23); 
gStyle->SetTextFont(42);
gStyle->SetStatColor(kWhite); 
gStyle->SetStatBorderSize(1);
gStyle->SetOptStat(0);  
gStyle->SetTickLength(0.02,"y");
gStyle->SetLabelSize(0.02,"xyz");
gStyle->SetLabelOffset(0.03,"xyz");

char  outfilename[200]= "trending.root";
TString plotDir(".");

legend = new TLegend(0.9,0.1,1.0,0.9);
legend->SetFillColor(kWhite);

Int_t runNumber=0;
Double_t ZNC_mean=0;
Double_t ZNA_mean=0;
Double_t ZPA_mean=0;
Double_t ZPC_mean=0;
Double_t ZEM1_mean=0;
Double_t ZEM2_mean=0; 
Double_t ZNC_XCent=0;
Double_t ZNC_YCent=0;
Double_t ZNA_XCent=0;
Double_t ZNA_YCent=0;  
Double_t ZNC_XCent_err=0;
Double_t ZNC_YCent_err=0;
Double_t ZNA_XCent_err=0;
Double_t ZNA_YCent_err=0; 
Double_t ZN_TDC_Sum=0;
Double_t ZN_TDC_Diff=0;
Double_t ZN_TDC_Sum_err=0;
Double_t ZN_TDC_Diff_err=0;

TH1D *hZNCpmcSpectrum = new TH1D("hZNCpmcSpectrum","hZNCpmcSpectrum",200.,0.,2000.);
TH1D *hZNApmcSpectrum = new TH1D("hZNApmcSpectrum","hZNApmcSpectrum",200.,0.,2000.);
TH1D *hZPCpmcSpectrum = new TH1D("hZPCpmcSpectrum","hZPCpmcSpectrum",200.,0.,2000.);  
TH1D *hZPApmcSpectrum = new TH1D("hZPApmcSpectrum","hZPApmcSpectrum",200.,0.,2000.);
TH1D *hZEM1Spectrum = new TH1D("hZEM1Spectrum","hZEM1Spectrum",200.,0.,2000.);  
TH1D *hZEM2Spectrum = new TH1D("hZEM2Spectrum","hZEM2Spectrum",200.,0.,2000.);  

ttree->SetBranchAddress("run",&runNumber);
ttree->SetBranchAddress("ZNC_mean_value",&ZNC_mean);
ttree->SetBranchAddress("ZNA_mean_value",&ZNA_mean);
ttree->SetBranchAddress("ZPC_mean_value",&ZPC_mean);
ttree->SetBranchAddress("ZPA_mean_value",&ZPA_mean); 
ttree->SetBranchAddress("ZEM1_mean_value",&ZEM1_mean);
ttree->SetBranchAddress("ZEM2_mean_value",&ZEM2_mean);  
ttree->SetBranchAddress("ZNC_X_Centroid",&ZNC_XCent);
ttree->SetBranchAddress("ZNC_Y_Centroid",&ZNC_YCent);   
ttree->SetBranchAddress("ZNA_X_Centroid",&ZNA_XCent);
ttree->SetBranchAddress("ZNA_Y_Centroid",&ZNA_YCent);  
ttree->SetBranchAddress("ZNC_X_Centroid_Err",&ZNC_XCent_err);
ttree->SetBranchAddress("ZNC_Y_Centroid_Err",&ZNC_YCent_err);   
ttree->SetBranchAddress("ZNA_X_Centroid_Err",&ZNA_XCent_err);
ttree->SetBranchAddress("ZNA_Y_Centroid_Err",&ZNA_YCent_err);    
ttree->SetBranchAddress("ZN_TDC_Sum",&ZN_TDC_Sum);
ttree->SetBranchAddress("ZN_TDC_Diff",&ZN_TDC_Diff);    
ttree->SetBranchAddress("ZN_TDC_Sum_Err",&ZN_TDC_Sum_err);
ttree->SetBranchAddress("ZN_TDC_Diff_Err",&ZN_TDC_Diff_err);

TH1D *hznc = new TH1D("hznc","ZNC TC mean signal",3,-1,1);
hznc->GetXaxis()->SetRangeUser(-1.,1.);
hznc->SetDrawOption("EP");
hznc->SetMarkerStyle(20);
hznc->SetMarkerColor(kRed);
hznc->SetLineColor(kRed);   

TH1D *hzna = new TH1D("hzna","ZNA TC mean signal",3,-1,1);
hzna->GetXaxis()->SetRangeUser(-1.,1.);  
hzna->SetDrawOption("EP");
hzna->SetMarkerStyle(20);
hzna->SetMarkerColor(kRed);
hzna->SetLineColor(kRed);   

TH1D *hzpc = new TH1D("hzpc","ZPC TC mean signal",3,-1,1);
hzpc->GetXaxis()->SetRangeUser(-1.,1.); 
hzpc->SetDrawOption("EP");
hzpc->SetMarkerStyle(20);
hzpc->SetMarkerColor(kRed);
hzpc->SetLineColor(kRed);   

TH1D *hzpa = new TH1D("hzpa","ZPA TC mean signal",3,-1,1);
hzpa->GetXaxis()->SetRangeUser(-1.,1.);   
hzpa->SetDrawOption("EP");
hzpa->SetMarkerStyle(20);
hzpa->SetMarkerColor(kRed);
hzpa->SetLineColor(kRed);   

TH1D *hzem1 = new TH1D("hzem1","ZEM1 mean signal",3,-1,1);
hzem1->GetXaxis()->SetRangeUser(-1.,1.);   
hzem1->SetDrawOption("EP");
hzem1->SetMarkerStyle(20);
hzem1->SetMarkerColor(kRed);  
hzem1->SetLineColor(kRed); 

TH1D *hzem2 = new TH1D("hzem2","ZEM2 mean signal",3,-1,1);
hzem2->GetXaxis()->SetRangeUser(-1.,1.);     
hzem2->SetDrawOption("EP");
hzem2->SetMarkerStyle(20);
hzem2->SetMarkerColor(kRed);
hzem2->SetLineColor(kRed);   

TH1D *hzna_Xcentroid = new TH1D("hzna_Xcentroid","ZNA X centroid",3,-1,1);
hzna_Xcentroid->GetXaxis()->SetRangeUser(-1.,1.);       
hzna_Xcentroid->SetDrawOption("EP");
hzna_Xcentroid->SetMarkerStyle(20);
hzna_Xcentroid->SetMarkerColor(kRed);
hzna_Xcentroid->SetLineColor(kRed);     

TH1D *hzna_Ycentroid = new TH1D("hzna_Ycentroid","ZNA Y centroid",3,-1,1);
hzna_Ycentroid->GetXaxis()->SetRangeUser(-1.,1.);    
hzna_Ycentroid->SetDrawOption("EP");
hzna_Ycentroid->SetMarkerStyle(20);
hzna_Ycentroid->SetMarkerColor(kRed);
hzna_Ycentroid->SetLineColor(kRed);      

TH1D *hznc_Xcentroid = new TH1D("hznc_Xcentroid","ZNC X centroid",3,-1,1);
hznc_Xcentroid->GetXaxis()->SetRangeUser(-1.,1.);     
hznc_Xcentroid->SetDrawOption("EP");
hznc_Xcentroid->SetMarkerStyle(20);
hznc_Xcentroid->SetMarkerColor(kRed);
hznc_Xcentroid->SetLineColor(kRed); 

TH1D *hznc_Ycentroid = new TH1D("hznc_Ycentroid","ZNC Y centroid",3,-1,1);
hznc_Ycentroid->GetXaxis()->SetRangeUser(-1.,1.);     
hznc_Ycentroid->SetDrawOption("EP");
hznc_Ycentroid->SetMarkerStyle(20);
hznc_Ycentroid->SetMarkerColor(kRed);
hznc_Ycentroid->SetLineColor(kRed); 

TH1D *hzn_TDC_Sum = new TH1D("hzn_TDC_Sum","ZNC TDC + ZNA TDC",3,-1,1);
hzn_TDC_Sum->GetXaxis()->SetRangeUser(-1.,1.);   
hzn_TDC_Sum->SetDrawOption("EP");
hzn_TDC_Sum->SetMarkerStyle(20);
hzn_TDC_Sum->SetMarkerColor(kRed);
hzn_TDC_Sum->SetLineColor(kRed);   

TH1D *hzn_TDC_Diff = new TH1D("hzn_TDC_Diff","ZNC TDC - ZNA TDC",3,-1,1);
hzn_TDC_Diff->GetXaxis()->SetRangeUser(-1.,1.);    
hzn_TDC_Diff->SetDrawOption("EP");
hzn_TDC_Diff->SetMarkerStyle(20);
hzn_TDC_Diff->SetMarkerColor(kRed);
hzn_TDC_Diff->SetLineColor(kRed);   
  
char runlabel[10];

for (Int_t irun=0;irun<nRuns;irun++){  
  ttree->GetEntry(irun);
 }
    
sprintf(runlabel,"%i",runNumber);
    
//----------------------------------------------------------------------
//spectrum vs run
//----------------------------------------------------------------------

hZNCpmcSpectrum = dynamic_cast<TH1D*> (fin->Get("fhZNCpmc"));
hZNCpmcSpectrum->GetXaxis()->SetRangeUser(0.,2000);   
hZNCpmcSpectrum->Scale(1./hZNCpmcSpectrum->GetEntries());
hZNCpmcSpectrum->SetLineColor(kRed);
hZNCpmcSpectrum->SetLineWidth(2);    
hZNCpmcSpectrum->SetTitle("ZNC spectrum");
hZNCpmcSpectrum->SetXTitle("ZNC signal (ADC ch.)");

hZNApmcSpectrum = dynamic_cast<TH1D*> (fin->Get("fhZNApmc"));
hZNApmcSpectrum->GetXaxis()->SetRangeUser(0.,2000);     
hZNApmcSpectrum->Scale(1./hZNApmcSpectrum->GetEntries());
hZNApmcSpectrum->SetLineColor(kRed);
hZNApmcSpectrum->SetLineWidth(2);        
hZNApmcSpectrum->SetTitle("ZNA spectrum");
hZNApmcSpectrum->SetXTitle("ZNA signal (ADC ch.)");

hZPCpmcSpectrum = dynamic_cast<TH1D*> (fin->Get("fhZPCpmc"));
hZPCpmcSpectrum->GetXaxis()->SetRangeUser(0.,2000);       
hZPCpmcSpectrum->Scale(1./hZPCpmcSpectrum->GetEntries());
hZPCpmcSpectrum->SetLineColor(kRed);
hZPCpmcSpectrum->SetLineWidth(2); 
hZPCpmcSpectrum->SetTitle("ZPC spectrum");
hZPCpmcSpectrum->SetXTitle("ZPC signal (ADC ch.)");

hZPApmcSpectrum = dynamic_cast<TH1D*> (fin->Get("fhZPApmc"));
hZPApmcSpectrum->GetXaxis()->SetRangeUser(0.,2000);        
hZPApmcSpectrum->Scale(1./hZPApmcSpectrum->GetEntries());
hZPApmcSpectrum->SetLineColor(kRed);
hZPApmcSpectrum->SetLineWidth(2); 
hZPApmcSpectrum->SetTitle("ZPA spectrum");
hZPApmcSpectrum->SetXTitle("ZPA signal (ADC ch.)");    

hZEM1Spectrum = dynamic_cast<TH1D*> (fin->Get("fhZEM1Spectrum"));
hZEM1Spectrum->GetXaxis()->SetRangeUser(0.,2000);           
hZEM1Spectrum->Scale(1./hZEM1Spectrum->GetEntries());
hZEM1Spectrum->SetLineColor(kRed);
hZEM1Spectrum->SetLineWidth(2);     
hZEM1Spectrum->SetTitle("ZEM1 spectrum");
hZEM1Spectrum->SetXTitle("ZEM1 signal (ADC ch.)");    

hZEM2Spectrum = dynamic_cast<TH1D*> (fin->Get("fhZEM2Spectrum"));
hZEM2Spectrum->GetXaxis()->SetRangeUser(0.,2000);      
hZEM2Spectrum->Scale(1./hZEM2Spectrum->GetEntries());
hZEM2Spectrum->SetLineColor(kRed);
hZEM2Spectrum->SetLineWidth(2);      
hZEM2Spectrum->SetTitle("ZEM2 spectrum");
hZEM2Spectrum->SetXTitle("ZEM2 signal (ADC ch.)");    
          
//----------------------------------------------------------------------    
//variables vs run
//----------------------------------------------------------------------
hzna->SetBinContent(2,ZNA_mean);
hzna->GetXaxis()->SetBinLabel(2,runlabel);
hzna->GetXaxis()->SetLabelSize(0.05);

hzpc->SetBinContent(2,ZPC_mean);
hzpc->GetXaxis()->SetBinLabel(2,runlabel);
hzpc->GetXaxis()->SetLabelSize(0.05);    

hzpa->SetBinContent(2,ZPA_mean);
hzpa->GetXaxis()->SetBinLabel(2,runlabel);
hzpa->GetXaxis()->SetLabelSize(0.05);      

hzem1->SetBinContent(2,ZEM1_mean);
hzem1->GetXaxis()->SetBinLabel(2,runlabel);
hzem1->GetXaxis()->SetLabelSize(0.05);      

hzem2->SetBinContent(2,ZEM2_mean);
hzem2->GetXaxis()->SetBinLabel(2,runlabel);
hzem2->GetXaxis()->SetLabelSize(0.05);    

hzna_Xcentroid->SetBinContent(2,ZNA_XCent);
hzna_Xcentroid->SetBinError(2,ZNA_XCent_err);
hzna_Xcentroid->GetXaxis()->SetBinLabel(2,runlabel);
hzna_Xcentroid->GetXaxis()->SetLabelSize(0.05);
hzna_Xcentroid->GetYaxis()->SetTitle("(cm)");    
   
hzna_Ycentroid->SetBinContent(2,ZNA_YCent);
hzna_Ycentroid->SetBinError(2,ZNA_YCent_err); 
hzna_Ycentroid->GetXaxis()->SetBinLabel(2,runlabel); 
hzna_Ycentroid->GetXaxis()->SetLabelSize(0.05);
hzna_Ycentroid->GetYaxis()->SetTitle("(cm)");       

hznc_Xcentroid->SetBinContent(2,ZNC_XCent);
hznc_Xcentroid->SetBinError(2,ZNC_XCent_err);
hznc_Xcentroid->GetXaxis()->SetBinLabel(2,runlabel);
hznc_Xcentroid->GetXaxis()->SetLabelSize(0.05);
hznc_Xcentroid->GetYaxis()->SetTitle("(cm)");     

hznc_Ycentroid->SetBinContent(2,ZNC_YCent);
hznc_Ycentroid->SetBinError(2,ZNC_YCent_err);
hznc_Ycentroid->GetXaxis()->SetBinLabel(2,runlabel);
hznc_Ycentroid->GetXaxis()->SetLabelSize(0.05);
hznc_Ycentroid->GetYaxis()->SetTitle("(cm)");   

hzn_TDC_Sum->SetBinContent(2,ZN_TDC_Sum);
hzn_TDC_Sum->SetBinError(2,ZN_TDC_Sum_err);
hzn_TDC_Sum->GetXaxis()->SetBinLabel(2,runlabel);
hzn_TDC_Sum->GetXaxis()->SetLabelSize(0.05);
hzn_TDC_Sum->GetYaxis()->SetTitle("(ns)");     

hzn_TDC_Diff->SetBinContent(2,ZN_TDC_Diff);
hzn_TDC_Diff->SetBinError(2,ZN_TDC_Diff_err); 
hzn_TDC_Diff->GetXaxis()->SetBinLabel(2,runlabel);
hzn_TDC_Diff->GetXaxis()->SetLabelSize(0.05);
hzn_TDC_Diff->GetYaxis()->SetTitle("(ns)");     
    
//----------------------------------------------------------------------
//spectra
//----------------------------------------------------------------------  
  
TCanvas* cZNC_Spectra = new TCanvas("cZNC_Spectra","cZNC_Spectra",50,50,1200,900); gPad->SetLogy();
hZNCpmcSpectrum->Draw();
cZNC_Spectra->Print(Form("%s/cZNC_Spectra.png",plotDir.Data()));

TCanvas* cZNA_Spectra = new TCanvas("cZNA_Spectra","cZNA_Spectra",50,50,1200,900); gPad->SetLogy();
hZNApmcSpectrum->Draw();
cZNA_Spectra->Print(Form("%s/cZNA_Spectra.png",plotDir.Data()));

TCanvas* cZPC_Spectra = new TCanvas("cZPC_Spectra","cZPC_Spectra",50,50,1200,900); gPad->SetLogy();
hZPCpmcSpectrum->Draw();
cZPC_Spectra->Print(Form("%s/cZPC_Spectra.png",plotDir.Data()));

TCanvas* cZPA_Spectra = new TCanvas("cZPA_Spectra","cZPA_Spectra",50,50,1200,900); gPad->SetLogy();
hZPApmcSpectrum->Draw();
cZPA_Spectra->Print(Form("%s/cZPA_Spectra.png",plotDir.Data()));

TCanvas* cZEM1_Spectra = new TCanvas("cZEM1_Spectra","cZEM1_Spectra",50,50,1200,900); gPad->SetLogy();
hZEM1Spectrum->Draw();
cZEM1_Spectra->Print(Form("%s/cZEM1_Spectra.png",plotDir.Data()));

TCanvas* cZEM2_Spectra = new TCanvas("cZEM2_Spectra","cZEM2_Spectra",50,50,1200,900); gPad->SetLogy();
hZEM2Spectrum->Draw();
cZEM2_Spectra->Print(Form("%s/cZEM2_Spectra.png",plotDir.Data()));


//---------------------------------------------------------------------------------------------------
//variables
//---------------------------------------------------------------------------------------------------

//---------------------------------------------------------------------------------------------------
//means
//---------------------------------------------------------------------------------------------------
TCanvas* cZNC_Mean_Values = new TCanvas("cZNC_Mean_Values","cZNC_Mean_Values", 50,50,750,550);
hznc->Draw("ep");
hznc->SetBinContent(2,ZNC_mean);
hznc->GetXaxis()->SetBinLabel(2,runlabel);  
hznc->GetXaxis()->SetLabelSize(0.05);
cZNC_Mean_Values->Print(Form("%s/cZNC_Mean_Values.png",plotDir.Data()));
  
TCanvas* cZNA_Mean_Values = new TCanvas("cZNA_Mean_Values","cZNA_Mean_Values", 50,50,750,550);
hzna->Draw("ep");
cZNA_Mean_Values->Print(Form("%s/cZNA_Mean_Values.png",plotDir.Data()));

TCanvas* cZPC_Mean_Values = new TCanvas("cZPC_Mean_Values","cZPC_Mean_Values", 50,50,750,550);
hzpc->Draw("ep");
cZPC_Mean_Values->Print(Form("%s/cZPC_Mean_Values.png",plotDir.Data()));

TCanvas* cZPA_Mean_Values = new TCanvas("cZPA_Mean_Values","cZPA_Mean_Values", 50,50,750,550);
hzpa->Draw("ep");
cZPA_Mean_Values->Print(Form("%s/cZPA_Mean_Values.png",plotDir.Data()));

TCanvas* cZEM1_Mean_Values = new TCanvas("cZEM1_Mean_Values","cZEM1_Mean_Values", 50,50,750,550);
hzem1->Draw("ep");
cZEM1_Mean_Values->Print(Form("%s/cZEM1_Mean_Values.png",plotDir.Data()));

TCanvas* cZEM2_Mean_Values = new TCanvas("cZEM2_Mean_Values","cZEM2_Mean_Values", 50,50,750,550);
hzem2->Draw("ep");
cZEM2_Mean_Values->Print(Form("%s/cZEM2_Mean_Values.png",plotDir.Data()));

//---------------------------------------------------------------------------------------------------
//centroids
//---------------------------------------------------------------------------------------------------
TCanvas* cZNA_X_centroid = new TCanvas("cZNA_X_centroid","cZNA_X_centroid", 50,50,750,550);
hzna_Xcentroid->Draw();
cZNA_X_centroid->Print(Form("%s/cZNA_X_centroid.png",plotDir.Data()));

TCanvas* cZNA_Y_centroid = new TCanvas("cZNA_Y_centroid","cZNA_Y_centroid", 50,50,750,550);
hzna_Ycentroid->Draw();
cZNA_Y_centroid->Print(Form("%s/cZNA_Y_centroid.png",plotDir.Data()));

TCanvas* cZNC_X_centroid = new TCanvas("cZNC_X_centroid","cZNC_X_centroid", 50,50,750,550);
hznc_Xcentroid->Draw();
cZNC_X_centroid->Print(Form("%s/cZNC_X_centroid.png",plotDir.Data()));

TCanvas* cZNC_Y_centroid = new TCanvas("cZNC_Y_centroid","cZNC_Y_centroid", 50,50,750,550);
hznc_Ycentroid->Draw();
cZNC_Y_centroid->Print(Form("%s/cZNC_Y_centroid.png",plotDir.Data()));

//---------------------------------------------------------------------------------
//timing
//---------------------------------------------------------------------------------
TCanvas* cTimingSum = new TCanvas("cTimingSum","cTimingSum",50,50,750,550);
hzn_TDC_Sum->Draw();
cTimingSum->Print(Form("%s/cTimingSum.png",plotDir.Data()));

TCanvas* cTimingDiff = new TCanvas("cTimingDiff","cTimingDiff",50,50,750,550);
hzn_TDC_Diff->Draw();
cTimingDiff->Print(Form("%s/cTimingDiff.png",plotDir.Data()));

//----------------------------------------------------------------------
//out
//----------------------------------------------------------------------
tree->Branch("run",&runNumber,"runNumber/I");
tree->Branch("ZNC_mean_value",&ZNC_mean,"ZNC_mean/D");
tree->Branch("ZNA_mean_value",&ZNA_mean,"ZNA_mean/D");
tree->Branch("ZPC_mean_value",&ZPC_mean,"ZPC_mean/D");
tree->Branch("ZPA_mean_value",&ZPA_mean,"ZPA_mean/D"); 
tree->Branch("ZEM1_mean_value",&ZEM1_mean,"ZEM1_mean/D");
tree->Branch("ZEM2_mean_value",&ZEM2_mean,"ZEM2_mean/D");  
tree->Branch("ZNC_X_Centroid",&ZNC_XCent,"ZNC_XCent/D");
tree->Branch("ZNC_Y_Centroid",&ZNC_YCent,"ZNC_YCent/D");   
tree->Branch("ZNA_X_Centroid",&ZNA_XCent,"ZNA_XCent/D");
tree->Branch("ZNA_Y_Centroid",&ZNA_YCent,"ZNA_YCent/D");  
tree->Branch("ZNC_X_Centroid_Err",&ZNC_XCent_err,"ZNC_XCent_err/D");
tree->Branch("ZNC_Y_Centroid_Err",&ZNC_YCent_err,"ZNC_YCent_err/D");   
tree->Branch("ZNA_X_Centroid_Err",&ZNA_XCent_err,"ZNA_XCent_err/D");
tree->Branch("ZNA_Y_Centroid_Err",&ZNA_YCent_err,"ZNA_YCent_err/D");    
tree->Branch("ZN_TDC_Sum",&ZN_TDC_Sum,"ZN_TDC_Sum/D");
tree->Branch("ZN_TDC_Diff",&ZN_TDC_Diff,"ZN_TDC_Diff/D");    
tree->Branch("ZN_TDC_Sum_Err",&ZN_TDC_Sum_err,"ZN_TDC_Sum_err/D");
tree->Branch("ZN_TDC_Diff_Err",&ZN_TDC_Diff_err,"ZN_TDC_Diff_err/D");
tree->Fill();

list.Add(cZNC_Spectra);
list.Add(cZNA_Spectra);
list.Add(cZPC_Spectra);
list.Add(cZPA_Spectra);
list.Add(cZEM1_Spectra);
list.Add(cZEM2_Spectra);
list.Add(hznc);
list.Add(hzna);
list.Add(hzpc);  
list.Add(hzpa);
list.Add(hzem1);  
list.Add(hzem2);
list.Add(hzna_Xcentroid);   
list.Add(hzna_Ycentroid);
list.Add(hznc_Xcentroid);   
list.Add(hznc_Ycentroid);
list.Add(hzn_TDC_Sum);   
list.Add(hzn_TDC_Diff);

TFile * fout=new TFile(outfilename,"recreate");
fout->cd();
list.Write();
tree.Write();
fout->Close();

return 0;  
    
}
 DrawPerformanceZDCQAMatch.C:1
 DrawPerformanceZDCQAMatch.C:2
 DrawPerformanceZDCQAMatch.C:3
 DrawPerformanceZDCQAMatch.C:4
 DrawPerformanceZDCQAMatch.C:5
 DrawPerformanceZDCQAMatch.C:6
 DrawPerformanceZDCQAMatch.C:7
 DrawPerformanceZDCQAMatch.C:8
 DrawPerformanceZDCQAMatch.C:9
 DrawPerformanceZDCQAMatch.C:10
 DrawPerformanceZDCQAMatch.C:11
 DrawPerformanceZDCQAMatch.C:12
 DrawPerformanceZDCQAMatch.C:13
 DrawPerformanceZDCQAMatch.C:14
 DrawPerformanceZDCQAMatch.C:15
 DrawPerformanceZDCQAMatch.C:16
 DrawPerformanceZDCQAMatch.C:17
 DrawPerformanceZDCQAMatch.C:18
 DrawPerformanceZDCQAMatch.C:19
 DrawPerformanceZDCQAMatch.C:20
 DrawPerformanceZDCQAMatch.C:21
 DrawPerformanceZDCQAMatch.C:22
 DrawPerformanceZDCQAMatch.C:23
 DrawPerformanceZDCQAMatch.C:24
 DrawPerformanceZDCQAMatch.C:25
 DrawPerformanceZDCQAMatch.C:26
 DrawPerformanceZDCQAMatch.C:27
 DrawPerformanceZDCQAMatch.C:28
 DrawPerformanceZDCQAMatch.C:29
 DrawPerformanceZDCQAMatch.C:30
 DrawPerformanceZDCQAMatch.C:31
 DrawPerformanceZDCQAMatch.C:32
 DrawPerformanceZDCQAMatch.C:33
 DrawPerformanceZDCQAMatch.C:34
 DrawPerformanceZDCQAMatch.C:35
 DrawPerformanceZDCQAMatch.C:36
 DrawPerformanceZDCQAMatch.C:37
 DrawPerformanceZDCQAMatch.C:38
 DrawPerformanceZDCQAMatch.C:39
 DrawPerformanceZDCQAMatch.C:40
 DrawPerformanceZDCQAMatch.C:41
 DrawPerformanceZDCQAMatch.C:42
 DrawPerformanceZDCQAMatch.C:43
 DrawPerformanceZDCQAMatch.C:44
 DrawPerformanceZDCQAMatch.C:45
 DrawPerformanceZDCQAMatch.C:46
 DrawPerformanceZDCQAMatch.C:47
 DrawPerformanceZDCQAMatch.C:48
 DrawPerformanceZDCQAMatch.C:49
 DrawPerformanceZDCQAMatch.C:50
 DrawPerformanceZDCQAMatch.C:51
 DrawPerformanceZDCQAMatch.C:52
 DrawPerformanceZDCQAMatch.C:53
 DrawPerformanceZDCQAMatch.C:54
 DrawPerformanceZDCQAMatch.C:55
 DrawPerformanceZDCQAMatch.C:56
 DrawPerformanceZDCQAMatch.C:57
 DrawPerformanceZDCQAMatch.C:58
 DrawPerformanceZDCQAMatch.C:59
 DrawPerformanceZDCQAMatch.C:60
 DrawPerformanceZDCQAMatch.C:61
 DrawPerformanceZDCQAMatch.C:62
 DrawPerformanceZDCQAMatch.C:63
 DrawPerformanceZDCQAMatch.C:64
 DrawPerformanceZDCQAMatch.C:65
 DrawPerformanceZDCQAMatch.C:66
 DrawPerformanceZDCQAMatch.C:67
 DrawPerformanceZDCQAMatch.C:68
 DrawPerformanceZDCQAMatch.C:69
 DrawPerformanceZDCQAMatch.C:70
 DrawPerformanceZDCQAMatch.C:71
 DrawPerformanceZDCQAMatch.C:72
 DrawPerformanceZDCQAMatch.C:73
 DrawPerformanceZDCQAMatch.C:74
 DrawPerformanceZDCQAMatch.C:75
 DrawPerformanceZDCQAMatch.C:76
 DrawPerformanceZDCQAMatch.C:77
 DrawPerformanceZDCQAMatch.C:78
 DrawPerformanceZDCQAMatch.C:79
 DrawPerformanceZDCQAMatch.C:80
 DrawPerformanceZDCQAMatch.C:81
 DrawPerformanceZDCQAMatch.C:82
 DrawPerformanceZDCQAMatch.C:83
 DrawPerformanceZDCQAMatch.C:84
 DrawPerformanceZDCQAMatch.C:85
 DrawPerformanceZDCQAMatch.C:86
 DrawPerformanceZDCQAMatch.C:87
 DrawPerformanceZDCQAMatch.C:88
 DrawPerformanceZDCQAMatch.C:89
 DrawPerformanceZDCQAMatch.C:90
 DrawPerformanceZDCQAMatch.C:91
 DrawPerformanceZDCQAMatch.C:92
 DrawPerformanceZDCQAMatch.C:93
 DrawPerformanceZDCQAMatch.C:94
 DrawPerformanceZDCQAMatch.C:95
 DrawPerformanceZDCQAMatch.C:96
 DrawPerformanceZDCQAMatch.C:97
 DrawPerformanceZDCQAMatch.C:98
 DrawPerformanceZDCQAMatch.C:99
 DrawPerformanceZDCQAMatch.C:100
 DrawPerformanceZDCQAMatch.C:101
 DrawPerformanceZDCQAMatch.C:102
 DrawPerformanceZDCQAMatch.C:103
 DrawPerformanceZDCQAMatch.C:104
 DrawPerformanceZDCQAMatch.C:105
 DrawPerformanceZDCQAMatch.C:106
 DrawPerformanceZDCQAMatch.C:107
 DrawPerformanceZDCQAMatch.C:108
 DrawPerformanceZDCQAMatch.C:109
 DrawPerformanceZDCQAMatch.C:110
 DrawPerformanceZDCQAMatch.C:111
 DrawPerformanceZDCQAMatch.C:112
 DrawPerformanceZDCQAMatch.C:113
 DrawPerformanceZDCQAMatch.C:114
 DrawPerformanceZDCQAMatch.C:115
 DrawPerformanceZDCQAMatch.C:116
 DrawPerformanceZDCQAMatch.C:117
 DrawPerformanceZDCQAMatch.C:118
 DrawPerformanceZDCQAMatch.C:119
 DrawPerformanceZDCQAMatch.C:120
 DrawPerformanceZDCQAMatch.C:121
 DrawPerformanceZDCQAMatch.C:122
 DrawPerformanceZDCQAMatch.C:123
 DrawPerformanceZDCQAMatch.C:124
 DrawPerformanceZDCQAMatch.C:125
 DrawPerformanceZDCQAMatch.C:126
 DrawPerformanceZDCQAMatch.C:127
 DrawPerformanceZDCQAMatch.C:128
 DrawPerformanceZDCQAMatch.C:129
 DrawPerformanceZDCQAMatch.C:130
 DrawPerformanceZDCQAMatch.C:131
 DrawPerformanceZDCQAMatch.C:132
 DrawPerformanceZDCQAMatch.C:133
 DrawPerformanceZDCQAMatch.C:134
 DrawPerformanceZDCQAMatch.C:135
 DrawPerformanceZDCQAMatch.C:136
 DrawPerformanceZDCQAMatch.C:137
 DrawPerformanceZDCQAMatch.C:138
 DrawPerformanceZDCQAMatch.C:139
 DrawPerformanceZDCQAMatch.C:140
 DrawPerformanceZDCQAMatch.C:141
 DrawPerformanceZDCQAMatch.C:142
 DrawPerformanceZDCQAMatch.C:143
 DrawPerformanceZDCQAMatch.C:144
 DrawPerformanceZDCQAMatch.C:145
 DrawPerformanceZDCQAMatch.C:146
 DrawPerformanceZDCQAMatch.C:147
 DrawPerformanceZDCQAMatch.C:148
 DrawPerformanceZDCQAMatch.C:149
 DrawPerformanceZDCQAMatch.C:150
 DrawPerformanceZDCQAMatch.C:151
 DrawPerformanceZDCQAMatch.C:152
 DrawPerformanceZDCQAMatch.C:153
 DrawPerformanceZDCQAMatch.C:154
 DrawPerformanceZDCQAMatch.C:155
 DrawPerformanceZDCQAMatch.C:156
 DrawPerformanceZDCQAMatch.C:157
 DrawPerformanceZDCQAMatch.C:158
 DrawPerformanceZDCQAMatch.C:159
 DrawPerformanceZDCQAMatch.C:160
 DrawPerformanceZDCQAMatch.C:161
 DrawPerformanceZDCQAMatch.C:162
 DrawPerformanceZDCQAMatch.C:163
 DrawPerformanceZDCQAMatch.C:164
 DrawPerformanceZDCQAMatch.C:165
 DrawPerformanceZDCQAMatch.C:166
 DrawPerformanceZDCQAMatch.C:167
 DrawPerformanceZDCQAMatch.C:168
 DrawPerformanceZDCQAMatch.C:169
 DrawPerformanceZDCQAMatch.C:170
 DrawPerformanceZDCQAMatch.C:171
 DrawPerformanceZDCQAMatch.C:172
 DrawPerformanceZDCQAMatch.C:173
 DrawPerformanceZDCQAMatch.C:174
 DrawPerformanceZDCQAMatch.C:175
 DrawPerformanceZDCQAMatch.C:176
 DrawPerformanceZDCQAMatch.C:177
 DrawPerformanceZDCQAMatch.C:178
 DrawPerformanceZDCQAMatch.C:179
 DrawPerformanceZDCQAMatch.C:180
 DrawPerformanceZDCQAMatch.C:181
 DrawPerformanceZDCQAMatch.C:182
 DrawPerformanceZDCQAMatch.C:183
 DrawPerformanceZDCQAMatch.C:184
 DrawPerformanceZDCQAMatch.C:185
 DrawPerformanceZDCQAMatch.C:186
 DrawPerformanceZDCQAMatch.C:187
 DrawPerformanceZDCQAMatch.C:188
 DrawPerformanceZDCQAMatch.C:189
 DrawPerformanceZDCQAMatch.C:190
 DrawPerformanceZDCQAMatch.C:191
 DrawPerformanceZDCQAMatch.C:192
 DrawPerformanceZDCQAMatch.C:193
 DrawPerformanceZDCQAMatch.C:194
 DrawPerformanceZDCQAMatch.C:195
 DrawPerformanceZDCQAMatch.C:196
 DrawPerformanceZDCQAMatch.C:197
 DrawPerformanceZDCQAMatch.C:198
 DrawPerformanceZDCQAMatch.C:199
 DrawPerformanceZDCQAMatch.C:200
 DrawPerformanceZDCQAMatch.C:201
 DrawPerformanceZDCQAMatch.C:202
 DrawPerformanceZDCQAMatch.C:203
 DrawPerformanceZDCQAMatch.C:204
 DrawPerformanceZDCQAMatch.C:205
 DrawPerformanceZDCQAMatch.C:206
 DrawPerformanceZDCQAMatch.C:207
 DrawPerformanceZDCQAMatch.C:208
 DrawPerformanceZDCQAMatch.C:209
 DrawPerformanceZDCQAMatch.C:210
 DrawPerformanceZDCQAMatch.C:211
 DrawPerformanceZDCQAMatch.C:212
 DrawPerformanceZDCQAMatch.C:213
 DrawPerformanceZDCQAMatch.C:214
 DrawPerformanceZDCQAMatch.C:215
 DrawPerformanceZDCQAMatch.C:216
 DrawPerformanceZDCQAMatch.C:217
 DrawPerformanceZDCQAMatch.C:218
 DrawPerformanceZDCQAMatch.C:219
 DrawPerformanceZDCQAMatch.C:220
 DrawPerformanceZDCQAMatch.C:221
 DrawPerformanceZDCQAMatch.C:222
 DrawPerformanceZDCQAMatch.C:223
 DrawPerformanceZDCQAMatch.C:224
 DrawPerformanceZDCQAMatch.C:225
 DrawPerformanceZDCQAMatch.C:226
 DrawPerformanceZDCQAMatch.C:227
 DrawPerformanceZDCQAMatch.C:228
 DrawPerformanceZDCQAMatch.C:229
 DrawPerformanceZDCQAMatch.C:230
 DrawPerformanceZDCQAMatch.C:231
 DrawPerformanceZDCQAMatch.C:232
 DrawPerformanceZDCQAMatch.C:233
 DrawPerformanceZDCQAMatch.C:234
 DrawPerformanceZDCQAMatch.C:235
 DrawPerformanceZDCQAMatch.C:236
 DrawPerformanceZDCQAMatch.C:237
 DrawPerformanceZDCQAMatch.C:238
 DrawPerformanceZDCQAMatch.C:239
 DrawPerformanceZDCQAMatch.C:240
 DrawPerformanceZDCQAMatch.C:241
 DrawPerformanceZDCQAMatch.C:242
 DrawPerformanceZDCQAMatch.C:243
 DrawPerformanceZDCQAMatch.C:244
 DrawPerformanceZDCQAMatch.C:245
 DrawPerformanceZDCQAMatch.C:246
 DrawPerformanceZDCQAMatch.C:247
 DrawPerformanceZDCQAMatch.C:248
 DrawPerformanceZDCQAMatch.C:249
 DrawPerformanceZDCQAMatch.C:250
 DrawPerformanceZDCQAMatch.C:251
 DrawPerformanceZDCQAMatch.C:252
 DrawPerformanceZDCQAMatch.C:253
 DrawPerformanceZDCQAMatch.C:254
 DrawPerformanceZDCQAMatch.C:255
 DrawPerformanceZDCQAMatch.C:256
 DrawPerformanceZDCQAMatch.C:257
 DrawPerformanceZDCQAMatch.C:258
 DrawPerformanceZDCQAMatch.C:259
 DrawPerformanceZDCQAMatch.C:260
 DrawPerformanceZDCQAMatch.C:261
 DrawPerformanceZDCQAMatch.C:262
 DrawPerformanceZDCQAMatch.C:263
 DrawPerformanceZDCQAMatch.C:264
 DrawPerformanceZDCQAMatch.C:265
 DrawPerformanceZDCQAMatch.C:266
 DrawPerformanceZDCQAMatch.C:267
 DrawPerformanceZDCQAMatch.C:268
 DrawPerformanceZDCQAMatch.C:269
 DrawPerformanceZDCQAMatch.C:270
 DrawPerformanceZDCQAMatch.C:271
 DrawPerformanceZDCQAMatch.C:272
 DrawPerformanceZDCQAMatch.C:273
 DrawPerformanceZDCQAMatch.C:274
 DrawPerformanceZDCQAMatch.C:275
 DrawPerformanceZDCQAMatch.C:276
 DrawPerformanceZDCQAMatch.C:277
 DrawPerformanceZDCQAMatch.C:278
 DrawPerformanceZDCQAMatch.C:279
 DrawPerformanceZDCQAMatch.C:280
 DrawPerformanceZDCQAMatch.C:281
 DrawPerformanceZDCQAMatch.C:282
 DrawPerformanceZDCQAMatch.C:283
 DrawPerformanceZDCQAMatch.C:284
 DrawPerformanceZDCQAMatch.C:285
 DrawPerformanceZDCQAMatch.C:286
 DrawPerformanceZDCQAMatch.C:287
 DrawPerformanceZDCQAMatch.C:288
 DrawPerformanceZDCQAMatch.C:289
 DrawPerformanceZDCQAMatch.C:290
 DrawPerformanceZDCQAMatch.C:291
 DrawPerformanceZDCQAMatch.C:292
 DrawPerformanceZDCQAMatch.C:293
 DrawPerformanceZDCQAMatch.C:294
 DrawPerformanceZDCQAMatch.C:295
 DrawPerformanceZDCQAMatch.C:296
 DrawPerformanceZDCQAMatch.C:297
 DrawPerformanceZDCQAMatch.C:298
 DrawPerformanceZDCQAMatch.C:299
 DrawPerformanceZDCQAMatch.C:300
 DrawPerformanceZDCQAMatch.C:301
 DrawPerformanceZDCQAMatch.C:302
 DrawPerformanceZDCQAMatch.C:303
 DrawPerformanceZDCQAMatch.C:304
 DrawPerformanceZDCQAMatch.C:305
 DrawPerformanceZDCQAMatch.C:306
 DrawPerformanceZDCQAMatch.C:307
 DrawPerformanceZDCQAMatch.C:308
 DrawPerformanceZDCQAMatch.C:309
 DrawPerformanceZDCQAMatch.C:310
 DrawPerformanceZDCQAMatch.C:311
 DrawPerformanceZDCQAMatch.C:312
 DrawPerformanceZDCQAMatch.C:313
 DrawPerformanceZDCQAMatch.C:314
 DrawPerformanceZDCQAMatch.C:315
 DrawPerformanceZDCQAMatch.C:316
 DrawPerformanceZDCQAMatch.C:317
 DrawPerformanceZDCQAMatch.C:318
 DrawPerformanceZDCQAMatch.C:319
 DrawPerformanceZDCQAMatch.C:320
 DrawPerformanceZDCQAMatch.C:321
 DrawPerformanceZDCQAMatch.C:322
 DrawPerformanceZDCQAMatch.C:323
 DrawPerformanceZDCQAMatch.C:324
 DrawPerformanceZDCQAMatch.C:325
 DrawPerformanceZDCQAMatch.C:326
 DrawPerformanceZDCQAMatch.C:327
 DrawPerformanceZDCQAMatch.C:328
 DrawPerformanceZDCQAMatch.C:329
 DrawPerformanceZDCQAMatch.C:330
 DrawPerformanceZDCQAMatch.C:331
 DrawPerformanceZDCQAMatch.C:332
 DrawPerformanceZDCQAMatch.C:333
 DrawPerformanceZDCQAMatch.C:334
 DrawPerformanceZDCQAMatch.C:335
 DrawPerformanceZDCQAMatch.C:336
 DrawPerformanceZDCQAMatch.C:337
 DrawPerformanceZDCQAMatch.C:338
 DrawPerformanceZDCQAMatch.C:339
 DrawPerformanceZDCQAMatch.C:340
 DrawPerformanceZDCQAMatch.C:341
 DrawPerformanceZDCQAMatch.C:342
 DrawPerformanceZDCQAMatch.C:343
 DrawPerformanceZDCQAMatch.C:344
 DrawPerformanceZDCQAMatch.C:345
 DrawPerformanceZDCQAMatch.C:346
 DrawPerformanceZDCQAMatch.C:347
 DrawPerformanceZDCQAMatch.C:348
 DrawPerformanceZDCQAMatch.C:349
 DrawPerformanceZDCQAMatch.C:350
 DrawPerformanceZDCQAMatch.C:351
 DrawPerformanceZDCQAMatch.C:352
 DrawPerformanceZDCQAMatch.C:353
 DrawPerformanceZDCQAMatch.C:354
 DrawPerformanceZDCQAMatch.C:355
 DrawPerformanceZDCQAMatch.C:356
 DrawPerformanceZDCQAMatch.C:357
 DrawPerformanceZDCQAMatch.C:358
 DrawPerformanceZDCQAMatch.C:359
 DrawPerformanceZDCQAMatch.C:360
 DrawPerformanceZDCQAMatch.C:361
 DrawPerformanceZDCQAMatch.C:362
 DrawPerformanceZDCQAMatch.C:363
 DrawPerformanceZDCQAMatch.C:364
 DrawPerformanceZDCQAMatch.C:365
 DrawPerformanceZDCQAMatch.C:366
 DrawPerformanceZDCQAMatch.C:367
 DrawPerformanceZDCQAMatch.C:368
 DrawPerformanceZDCQAMatch.C:369
 DrawPerformanceZDCQAMatch.C:370
 DrawPerformanceZDCQAMatch.C:371
 DrawPerformanceZDCQAMatch.C:372
 DrawPerformanceZDCQAMatch.C:373
 DrawPerformanceZDCQAMatch.C:374
 DrawPerformanceZDCQAMatch.C:375
 DrawPerformanceZDCQAMatch.C:376
 DrawPerformanceZDCQAMatch.C:377
 DrawPerformanceZDCQAMatch.C:378
 DrawPerformanceZDCQAMatch.C:379
 DrawPerformanceZDCQAMatch.C:380
 DrawPerformanceZDCQAMatch.C:381
 DrawPerformanceZDCQAMatch.C:382
 DrawPerformanceZDCQAMatch.C:383
 DrawPerformanceZDCQAMatch.C:384
 DrawPerformanceZDCQAMatch.C:385
 DrawPerformanceZDCQAMatch.C:386
 DrawPerformanceZDCQAMatch.C:387
 DrawPerformanceZDCQAMatch.C:388
 DrawPerformanceZDCQAMatch.C:389
 DrawPerformanceZDCQAMatch.C:390
 DrawPerformanceZDCQAMatch.C:391
 DrawPerformanceZDCQAMatch.C:392
 DrawPerformanceZDCQAMatch.C:393
 DrawPerformanceZDCQAMatch.C:394
 DrawPerformanceZDCQAMatch.C:395
 DrawPerformanceZDCQAMatch.C:396
 DrawPerformanceZDCQAMatch.C:397
 DrawPerformanceZDCQAMatch.C:398
 DrawPerformanceZDCQAMatch.C:399
 DrawPerformanceZDCQAMatch.C:400
 DrawPerformanceZDCQAMatch.C:401
 DrawPerformanceZDCQAMatch.C:402
 DrawPerformanceZDCQAMatch.C:403
 DrawPerformanceZDCQAMatch.C:404
 DrawPerformanceZDCQAMatch.C:405
 DrawPerformanceZDCQAMatch.C:406
 DrawPerformanceZDCQAMatch.C:407
 DrawPerformanceZDCQAMatch.C:408
 DrawPerformanceZDCQAMatch.C:409
 DrawPerformanceZDCQAMatch.C:410
 DrawPerformanceZDCQAMatch.C:411
 DrawPerformanceZDCQAMatch.C:412
 DrawPerformanceZDCQAMatch.C:413
 DrawPerformanceZDCQAMatch.C:414
 DrawPerformanceZDCQAMatch.C:415
 DrawPerformanceZDCQAMatch.C:416
 DrawPerformanceZDCQAMatch.C:417
 DrawPerformanceZDCQAMatch.C:418
 DrawPerformanceZDCQAMatch.C:419
 DrawPerformanceZDCQAMatch.C:420
 DrawPerformanceZDCQAMatch.C:421
 DrawPerformanceZDCQAMatch.C:422
 DrawPerformanceZDCQAMatch.C:423
 DrawPerformanceZDCQAMatch.C:424
 DrawPerformanceZDCQAMatch.C:425
 DrawPerformanceZDCQAMatch.C:426
 DrawPerformanceZDCQAMatch.C:427
 DrawPerformanceZDCQAMatch.C:428
 DrawPerformanceZDCQAMatch.C:429
 DrawPerformanceZDCQAMatch.C:430
 DrawPerformanceZDCQAMatch.C:431
 DrawPerformanceZDCQAMatch.C:432
 DrawPerformanceZDCQAMatch.C:433
 DrawPerformanceZDCQAMatch.C:434
 DrawPerformanceZDCQAMatch.C:435
 DrawPerformanceZDCQAMatch.C:436
 DrawPerformanceZDCQAMatch.C:437
 DrawPerformanceZDCQAMatch.C:438
 DrawPerformanceZDCQAMatch.C:439
 DrawPerformanceZDCQAMatch.C:440
 DrawPerformanceZDCQAMatch.C:441
 DrawPerformanceZDCQAMatch.C:442
 DrawPerformanceZDCQAMatch.C:443
 DrawPerformanceZDCQAMatch.C:444
 DrawPerformanceZDCQAMatch.C:445
 DrawPerformanceZDCQAMatch.C:446
 DrawPerformanceZDCQAMatch.C:447
 DrawPerformanceZDCQAMatch.C:448
 DrawPerformanceZDCQAMatch.C:449
 DrawPerformanceZDCQAMatch.C:450
 DrawPerformanceZDCQAMatch.C:451
 DrawPerformanceZDCQAMatch.C:452
 DrawPerformanceZDCQAMatch.C:453
 DrawPerformanceZDCQAMatch.C:454
 DrawPerformanceZDCQAMatch.C:455
 DrawPerformanceZDCQAMatch.C:456
 DrawPerformanceZDCQAMatch.C:457
 DrawPerformanceZDCQAMatch.C:458
 DrawPerformanceZDCQAMatch.C:459
 DrawPerformanceZDCQAMatch.C:460
 DrawPerformanceZDCQAMatch.C:461
 DrawPerformanceZDCQAMatch.C:462
 DrawPerformanceZDCQAMatch.C:463
 DrawPerformanceZDCQAMatch.C:464
 DrawPerformanceZDCQAMatch.C:465
 DrawPerformanceZDCQAMatch.C:466
 DrawPerformanceZDCQAMatch.C:467
 DrawPerformanceZDCQAMatch.C:468
 DrawPerformanceZDCQAMatch.C:469
 DrawPerformanceZDCQAMatch.C:470
 DrawPerformanceZDCQAMatch.C:471
 DrawPerformanceZDCQAMatch.C:472
 DrawPerformanceZDCQAMatch.C:473
 DrawPerformanceZDCQAMatch.C:474
 DrawPerformanceZDCQAMatch.C:475
 DrawPerformanceZDCQAMatch.C:476
 DrawPerformanceZDCQAMatch.C:477
 DrawPerformanceZDCQAMatch.C:478
 DrawPerformanceZDCQAMatch.C:479
 DrawPerformanceZDCQAMatch.C:480
 DrawPerformanceZDCQAMatch.C:481