Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:47:38

0001 void peds(){
0002   
0003   TFile *f = TFile::Open("diffPeds.root");
0004   TCanvas *c1 = new TCanvas("c1","",800,600);
0005   DiffPeds->Draw("index:diffPeds");
0006   //  c1->SetLogy();
0007   c1->Print("index_vs_diffPeds_run136071.gif");
0008   
0009   TCanvas *c2  = new TCanvas("c2","",800,600);
0010   c2->SetLogy();
0011   DiffPeds->Draw("diffPeds");
0012   c2->Print("diffPeds_run136071.gif");
0013 
0014 }
0015 
0016 void matrix(){
0017 
0018   TFile *f = TFile::Open("diffMatrix.root");
0019   TCanvas *c1 = new TCanvas("c1","",1000,1000);
0020   c1->Divide(3,4);
0021   c1->cd(1);
0022   DiffMatrix->Draw("index:diffElem33");
0023   c1->cd(2);
0024   DiffMatrix->Draw("index:diffElem34");
0025   c1->cd(3);
0026   DiffMatrix->Draw("index:diffElem35");
0027 
0028   c1->cd(4);
0029   DiffMatrix->Draw("index:diffElem44");
0030   c1->cd(5);
0031   DiffMatrix->Draw("index:diffElem45");
0032   c1->cd(6);
0033   DiffMatrix->Draw("index:diffElem46");
0034 
0035   c1->cd(7);
0036   DiffMatrix->Draw("index:diffElem55");
0037   c1->cd(8);
0038   DiffMatrix->Draw("index:diffElem56");
0039   c1->cd(9);
0040   DiffMatrix->Draw("index:diffElem57");
0041 
0042   c1->cd(10);
0043   DiffMatrix->Draw("index:diffElem66");
0044   c1->cd(11);
0045   DiffMatrix->Draw("index:diffElem67");
0046   c1->cd(12);
0047   DiffMatrix->Draw("index:diffElem77");
0048 
0049   c1->Print("index_vs_diffMatrix_run136071.gif");
0050   
0051   TCanvas *c2  = new TCanvas("c2","",1000,1000);
0052   c2->Divide(3,4);
0053   c2->cd(1);
0054   DiffMatrix->Draw("diffElem33");
0055   c2->cd(2);
0056   DiffMatrix->Draw("diffElem34");
0057   c2->cd(3);
0058   DiffMatrix->Draw("diffElem35");
0059 
0060   c2->cd(4);
0061   DiffMatrix->Draw("diffElem44");
0062   c2->cd(5);
0063   DiffMatrix->Draw("diffElem45");
0064   c2->cd(6);
0065   DiffMatrix->Draw("diffElem46");
0066 
0067   c2->cd(7);
0068   DiffMatrix->Draw("diffElem55");
0069   c2->cd(8);
0070   DiffMatrix->Draw("diffElem56");
0071   c2->cd(9);
0072   DiffMatrix->Draw("diffElem57");
0073 
0074   c2->cd(10);
0075   DiffMatrix->Draw("diffElem66");
0076   c2->cd(11);
0077   DiffMatrix->Draw("diffElem67");
0078   c2->cd(12);
0079   DiffMatrix->Draw("diffElem77");
0080 
0081 
0082   //  c2->SetLogy();
0083   c2->Print("diffMatrix_run136071.gif");
0084 }
0085 
0086 void gains(){
0087 
0088   TFile *f = TFile::Open("diffGains.root");
0089   TCanvas *c1 = new TCanvas("c1","",800,600);
0090   DiffGains->Draw("index:diffGains>>H");
0091   //  c1->SetLogy();
0092   c1->Print("index_vs_diffGains_run136523.gif");
0093   
0094   TCanvas *c2  = new TCanvas("c2","",800,600);
0095   c2->SetLogy();
0096   DiffGains->Draw("diffGains");
0097   c2->Print("diffGains_run136523.gif");
0098 }
0099 
0100 void xtalk() {
0101 
0102   TFile *f = TFile::Open("diffXtalk.root");
0103   TCanvas *c1 = new TCanvas("c1","",1000,1000);
0104   c1->Divide(2,2);
0105   
0106   c1->cd(1);
0107   DiffXtalk->Draw("index:diffIntL");
0108   c1->cd(2);
0109   DiffXtalk->Draw("index:diffIntR");
0110   c1->cd(3);
0111   DiffXtalk->Draw("index:diffXtalkL");
0112   c1->cd(4);
0113   DiffXtalk->Draw("index:diffXtalkR");
0114 
0115   c1->Print("index_vs_diffXtalk_run136524.gif");
0116 
0117   TCanvas *c2 = new TCanvas("c2","",1000,1000);
0118   c2->Divide(2,2);
0119   
0120   c2->cd(1);
0121   c2_1->SetLogy();
0122   DiffXtalk->Draw("diffIntL");
0123   c2->cd(2);
0124   c2_2->SetLogy();
0125   DiffXtalk->Draw("diffIntR");
0126   c2->cd(3);
0127   c2_3->SetLogy();
0128   DiffXtalk->Draw("diffXtalkL");
0129   c2->cd(4);
0130   c2_4->SetLogy();
0131   DiffXtalk->Draw("diffXtalkR");
0132 
0133   c2->Print("diffXtalk_run136524.gif");
0134 
0135 }