Skip to content
Snippets Groups Projects
Commit 4a20c07c authored by pooser's avatar pooser Committed by GitHub
Browse files

Merge pull request #128 from JureBericic/trailing_whitespace

Removed trailing whitespace from all hcana source files.
parents d5ff42cf 216e01bd
No related branches found
No related tags found
No related merge requests found
Showing
with 70 additions and 70 deletions
......@@ -15,7 +15,7 @@ void compclustedep(Int_t run)
h1 = h414; //edep
}
TCanvas *c1 = new TCanvas("c1", "Shower Largest cluster Edep", 1000, 667);
TCanvas *c1 = new TCanvas("c1", "Shower Largest cluster Edep", 1000, 667);
gPad->SetLogy();
......@@ -39,10 +39,10 @@ void compclustedep(Int_t run)
l.DrawLatex(xt,0.095*maxy,"Engine");
l.SetTextColor(kBlue);
l.DrawLatex(xt,0.045*maxy,"hcana");
// Difference between the histograms.
TCanvas *c2 = new TCanvas("c2", "Edep differences", 1000, 667);
TCanvas *c2 = new TCanvas("c2", "Edep differences", 1000, 667);
TH1F* dif = h->Clone();
......@@ -54,4 +54,4 @@ void compclustedep(Int_t run)
dif->SetLineWidth(1);
dif->SetFillStyle(1111);
dif->Draw();
}
}
......@@ -15,7 +15,7 @@ void compclustepr(Int_t run)
h1 = h415; //edep
}
TCanvas *c1 = new TCanvas("c1", "Shower Largest cluster Eprsh", 1000, 667);
TCanvas *c1 = new TCanvas("c1", "Shower Largest cluster Eprsh", 1000, 667);
gPad->SetLogy();
......@@ -39,10 +39,10 @@ void compclustepr(Int_t run)
l.DrawLatex(xt,0.095*maxy,"Engine");
l.SetTextColor(kBlue);
l.DrawLatex(xt,0.045*maxy,"hcana");
// Difference between the histograms.
TCanvas *c2 = new TCanvas("c2", "Eprsh differences", 1000, 667);
TCanvas *c2 = new TCanvas("c2", "Eprsh differences", 1000, 667);
TH1F* dif = h->Clone();
......@@ -54,4 +54,4 @@ void compclustepr(Int_t run)
dif->SetLineWidth(1);
dif->SetFillStyle(1111);
dif->Draw();
}
}
......@@ -15,7 +15,7 @@ void compclustsize(Int_t run)
h1 = h413; //mult
}
TCanvas *c1 = new TCanvas("c1", "Shower Largest cluster size", 1000, 667);
TCanvas *c1 = new TCanvas("c1", "Shower Largest cluster size", 1000, 667);
gPad->SetLogy();
......@@ -39,10 +39,10 @@ void compclustsize(Int_t run)
l.DrawLatex(xt,0.095*maxy,"Engine");
l.SetTextColor(kBlue);
l.DrawLatex(xt,0.045*maxy,"hcana");
// Difference between the histograms.
TCanvas *c2 = new TCanvas("c2", "Size differences", 1000, 667);
TCanvas *c2 = new TCanvas("c2", "Size differences", 1000, 667);
TH1F* dif = h->Clone();
......@@ -54,4 +54,4 @@ void compclustsize(Int_t run)
dif->SetLineWidth(1);
dif->SetFillStyle(1111);
dif->Draw();
}
}
......@@ -15,7 +15,7 @@ void compclustx(Int_t run)
h1 = h416; //X
}
TCanvas *c1 = new TCanvas("c1", "Shower Largest cluster X", 1000, 667);
TCanvas *c1 = new TCanvas("c1", "Shower Largest cluster X", 1000, 667);
gPad->SetLogy();
......@@ -39,10 +39,10 @@ void compclustx(Int_t run)
l.DrawLatex(xt,0.095*maxy,"Engine");
l.SetTextColor(kBlue);
l.DrawLatex(xt,0.045*maxy,"hcana");
// Difference between the histograms.
TCanvas *c2 = new TCanvas("c2", "X differences", 1000, 667);
TCanvas *c2 = new TCanvas("c2", "X differences", 1000, 667);
TH1F* dif = h->Clone();
......@@ -54,4 +54,4 @@ void compclustx(Int_t run)
dif->SetLineWidth(1);
dif->SetFillStyle(1111);
dif->Draw();
}
}
......@@ -26,7 +26,7 @@ void compedeps(Int_t run)
h1[3] = h635; //D
}
TCanvas *c1 = new TCanvas("c1", "Shower raw Edeps", 1000, 667);
TCanvas *c1 = new TCanvas("c1", "Shower raw Edeps", 1000, 667);
c1->Divide(2, 2);
for (int j = 0; j < 4; j++){
......@@ -48,7 +48,7 @@ void compedeps(Int_t run)
// Difference between the histograms.
//
TCanvas *c2 = new TCanvas("c2", "Edep histogram differences", 1000, 667);
TCanvas *c2 = new TCanvas("c2", "Edep histogram differences", 1000, 667);
c2->Divide(2, 2);
TH1F* d[4] = {h[0]->Clone(),h[0]->Clone(),h[0]->Clone(),h[0]->Clone()};
......@@ -67,4 +67,4 @@ void compedeps(Int_t run)
// gPad->SetLogy();
}
}
}
......@@ -47,7 +47,7 @@ void compgoldenenorm(Int_t run=52949)
l.DrawLatex(xt,0.65*maxy,"Engine");
l.SetTextColor(kBlue);
l.DrawLatex(xt,0.75*maxy,"hcana");
// Difference between the histograms.
c1->cd(2);
......@@ -62,4 +62,4 @@ void compgoldenenorm(Int_t run=52949)
dif->SetLineWidth(1);
dif->SetFillStyle(1111);
dif->Draw();
}
}
......@@ -3,7 +3,7 @@ void comphh(Int_t run, TH1F* h1, TH1F* h2)
TFile* f = new TFile(Form("hodtest_%d.root",run));
cout << "hcana root file " << Form("hodtest_%d.root",run) << endl;
TCanvas *c1 = new TCanvas("c1", "h1 vs h2", 1000, 667);
TCanvas *c1 = new TCanvas("c1", "h1 vs h2", 1000, 667);
// gPad->SetLogy();
......@@ -27,10 +27,10 @@ void comphh(Int_t run, TH1F* h1, TH1F* h2)
l.DrawLatex(xt,0.65*maxy,"h1");
l.SetTextColor(kBlue);
l.DrawLatex(xt,0.75*maxy,"h2");
// Difference between the histograms.
TCanvas *c2 = new TCanvas("c2", "Epr differences", 1000, 667);
TCanvas *c2 = new TCanvas("c2", "Epr differences", 1000, 667);
TH1F* dif = h2->Clone();
......@@ -42,4 +42,4 @@ void comphh(Int_t run, TH1F* h1, TH1F* h2)
dif->SetLineWidth(1);
dif->SetFillStyle(1111);
dif->Draw();
}
}
......@@ -15,7 +15,7 @@ void compnclusts(Int_t run)
h1 = h412; //hnclusters
}
TCanvas *c1 = new TCanvas("c1", "Shower Cluster Map", 1000, 667);
TCanvas *c1 = new TCanvas("c1", "Shower Cluster Map", 1000, 667);
gPad->SetLogy();
......@@ -40,10 +40,10 @@ void compnclusts(Int_t run)
l.DrawLatex(xt,0.095*maxy,"Engine");
l.SetTextColor(kBlue);
l.DrawLatex(xt,0.045*maxy,"hcana");
// Difference between the histograms.
TCanvas *c2 = new TCanvas("c2", "Cluster differences", 1000, 667);
TCanvas *c2 = new TCanvas("c2", "Cluster differences", 1000, 667);
TH1F* dif = h->Clone();
......@@ -56,4 +56,4 @@ void compnclusts(Int_t run)
dif->SetFillStyle(1111);
dif->Draw();
}
}
......@@ -15,7 +15,7 @@ void compnhits(Int_t run)
h1 = h411; //hnhits
}
TCanvas *c1 = new TCanvas("c1", "Shower Sparsified Hit Map", 1000, 667);
TCanvas *c1 = new TCanvas("c1", "Shower Sparsified Hit Map", 1000, 667);
gPad->SetLogy();
......@@ -39,10 +39,10 @@ void compnhits(Int_t run)
l.DrawLatex(xt,0.095*maxy,"Engine");
l.SetTextColor(kBlue);
l.DrawLatex(xt,0.045*maxy,"hcana");
// Difference between the histograms.
TCanvas *c2 = new TCanvas("c2", "Hit differences", 1000, 667);
TCanvas *c2 = new TCanvas("c2", "Hit differences", 1000, 667);
TH1F* dif = h->Clone();
......@@ -54,4 +54,4 @@ void compnhits(Int_t run)
dif->SetLineWidth(1);
dif->SetFillStyle(1111);
dif->Draw();
}
}
......@@ -31,7 +31,7 @@ void comprawhits(Int_t run)
h1[5] = h216; //D+
}
TCanvas *c1 = new TCanvas("c1", "Shower Hit Maps", 1000, 667);
TCanvas *c1 = new TCanvas("c1", "Shower Hit Maps", 1000, 667);
c1->Divide(2, 3);
for (int j = 0; j < 6; j++){
......@@ -39,7 +39,7 @@ void comprawhits(Int_t run)
h[j]->SetFillColor(kGreen);
h[j]->SetFillStyle(3345);
h[j]->Draw();
h1[j]->SetFillColor(kBlue);
h1[j]->SetFillStyle(3354);
h1[j]->Draw("same");
......@@ -65,4 +65,4 @@ void comprawhits(Int_t run)
dif->Draw();
}
}
}
......@@ -15,7 +15,7 @@ void comptrackedep(Int_t run)
h1 = h420; //edep
}
TCanvas *c1 = new TCanvas("c1", "Shower 1 track cluster Edep", 1000, 667);
TCanvas *c1 = new TCanvas("c1", "Shower 1 track cluster Edep", 1000, 667);
// gPad->SetLogy();
......@@ -39,10 +39,10 @@ void comptrackedep(Int_t run)
l.DrawLatex(xt,0.65*maxy,"Engine");
l.SetTextColor(kBlue);
l.DrawLatex(xt,0.75*maxy,"hcana");
// Difference between the histograms.
TCanvas *c2 = new TCanvas("c2", "Edep differences", 1000, 667);
TCanvas *c2 = new TCanvas("c2", "Edep differences", 1000, 667);
TH1F* dif = h->Clone();
......@@ -54,4 +54,4 @@ void comptrackedep(Int_t run)
dif->SetLineWidth(1);
dif->SetFillStyle(1111);
dif->Draw();
}
}
......@@ -43,7 +43,7 @@ void comptrackedepcor(Int_t run)
l.DrawLatex(xt,0.65*maxy,"Engine");
l.SetTextColor(kBlue);
l.DrawLatex(xt,0.75*maxy,"hcana");
// Difference between the histograms.
c1->cd(2);
......@@ -58,4 +58,4 @@ void comptrackedepcor(Int_t run)
dif->SetLineWidth(1);
dif->SetFillStyle(1111);
dif->Draw();
}
}
......@@ -15,7 +15,7 @@ void comptrackepr(Int_t run)
h1 = h421; //epr
}
TCanvas *c1 = new TCanvas("c1", "Shower Largest cluster Edep", 1000, 667);
TCanvas *c1 = new TCanvas("c1", "Shower Largest cluster Edep", 1000, 667);
// gPad->SetLogy();
......@@ -39,10 +39,10 @@ void comptrackepr(Int_t run)
l.DrawLatex(xt,0.65*maxy,"Engine");
l.SetTextColor(kBlue);
l.DrawLatex(xt,0.75*maxy,"hcana");
// Difference between the histograms.
TCanvas *c2 = new TCanvas("c2", "Epr differences", 1000, 667);
TCanvas *c2 = new TCanvas("c2", "Epr differences", 1000, 667);
TH1F* dif = h->Clone();
......@@ -54,4 +54,4 @@ void comptrackepr(Int_t run)
dif->SetLineWidth(1);
dif->SetFillStyle(1111);
dif->Draw();
}
}
......@@ -15,7 +15,7 @@ void comptrackeprcor(Int_t run)
h1 = h423; //epr y corrected
}
TCanvas *c1 = new TCanvas("c1", "Shower Track 1 Edep (Y-corr.)", 800, 1000);
TCanvas *c1 = new TCanvas("c1", "Shower Track 1 Edep (Y-corr.)", 800, 1000);
c1->Divide(1,2);
......@@ -43,7 +43,7 @@ void comptrackeprcor(Int_t run)
l.DrawLatex(xt,0.65*maxy,"Engine");
l.SetTextColor(kBlue);
l.DrawLatex(xt,0.75*maxy,"hcana");
// Difference between the histograms.
c1->cd(2);
......@@ -58,4 +58,4 @@ void comptrackeprcor(Int_t run)
dif->SetLineWidth(1);
dif->SetFillStyle(1111);
dif->Draw();
}
}
......@@ -15,7 +15,7 @@ void comptrackx(Int_t run)
h1 = h417; //X
}
TCanvas *c1 = new TCanvas("c1", "Shower Largest cluster X", 1000, 667);
TCanvas *c1 = new TCanvas("c1", "Shower Largest cluster X", 1000, 667);
// gPad->SetLogy();
......@@ -39,10 +39,10 @@ void comptrackx(Int_t run)
l.DrawLatex(xt,0.65*maxy,"Engine");
l.SetTextColor(kBlue);
l.DrawLatex(xt,0.75*maxy,"hcana");
// Difference between the histograms.
TCanvas *c2 = new TCanvas("c2", "Track X differences", 1000, 667);
TCanvas *c2 = new TCanvas("c2", "Track X differences", 1000, 667);
TH1F* dif = h->Clone();
......@@ -54,4 +54,4 @@ void comptrackx(Int_t run)
dif->SetLineWidth(1);
dif->SetFillStyle(1111);
dif->Draw();
}
}
......@@ -15,7 +15,7 @@ void comptrackxy(Int_t run)
h1 = h419; //Y vs Y
}
TCanvas *c1 = new TCanvas("c1", "Shower Largest cluster X", 1000, 667);
TCanvas *c1 = new TCanvas("c1", "Shower Largest cluster X", 1000, 667);
// gPad->SetLogy();
......@@ -41,10 +41,10 @@ void comptrackxy(Int_t run)
l.SetTextColor(kBlue);
l.DrawLatex(xt,0.045*maxy,"hcana");
*/
// Difference between the histograms.
TCanvas *c2 = new TCanvas("c2", "X differences", 1000, 667);
TCanvas *c2 = new TCanvas("c2", "X differences", 1000, 667);
TH1F* dif = h->Clone();
......@@ -56,4 +56,4 @@ void comptrackxy(Int_t run)
// dif->SetLineWidth(1);
// dif->SetFillStyle(1111);
dif->Draw("LEGO2");
}
}
......@@ -15,7 +15,7 @@ void comptracky(Int_t run)
h1 = h418; //Y
}
TCanvas *c1 = new TCanvas("c1", "Shower track Y", 1000, 667);
TCanvas *c1 = new TCanvas("c1", "Shower track Y", 1000, 667);
// gPad->SetLogy();
......@@ -39,10 +39,10 @@ void comptracky(Int_t run)
l.DrawLatex(xt,0.65*maxy,"Engine");
l.SetTextColor(kBlue);
l.DrawLatex(xt,0.755*maxy,"hcana");
// Difference between the histograms.
TCanvas *c2 = new TCanvas("c2", "Hcal Y differences", 1000, 667);
TCanvas *c2 = new TCanvas("c2", "Hcal Y differences", 1000, 667);
TH1F* dif = h->Clone();
......@@ -54,4 +54,4 @@ void comptracky(Int_t run)
dif->SetLineWidth(1);
dif->SetFillStyle(1111);
dif->Draw();
}
}
{
TFile* f = new TFile("hodtest.root");
TCanvas *c1 = new TCanvas("c1", "Drift Chamber Drift Distance", 800, 800);
TCanvas *c1 = new TCanvas("c1", "Drift Chamber Drift Distance", 800, 800);
c1->Divide(2, 6);
TH1F* h[12];
......@@ -18,7 +18,7 @@
h[9] = hdc2v1_dd;
h[10] = hdc2y2_dd;
h[11] = hdc2x2_dd;
for(Int_t ih=0;ih<12;ih++) {
Int_t ipad = 2*(ih%6)+1 + ih/6;
cout << ipad << endl;
......
{
TFile* f = new TFile("hodtest.root");
TCanvas *c1 = new TCanvas("c1", "Drift Chamber Drift Distance", 800, 800);
TCanvas *c1 = new TCanvas("c1", "Drift Chamber Drift Distance", 800, 800);
c1->Divide(2, 6);
TH1F* h[12];
......@@ -18,7 +18,7 @@
h[9] = sdc2x2_dd;
h[10] = sdc2v1_dd;
h[11] = sdc2v2_dd;
for(Int_t ih=0;ih<12;ih++) {
Int_t ipad = 2*(ih%6)+1 + ih/6;
cout << ipad << endl;
......
{
TFile* f = new TFile("hodtest.root");
TCanvas *c1 = new TCanvas("c1", "Drift Chamber Hit Maps", 800, 800);
TCanvas *c1 = new TCanvas("c1", "Drift Chamber Hit Maps", 800, 800);
c1->Divide(2, 6);
TH1F* h[12];
......@@ -18,7 +18,7 @@
h[9] = hdc2v1_wm;
h[10] = hdc2y2_wm;
h[11] = hdc2x2_wm;
for(Int_t ih=0;ih<12;ih++) {
Int_t ipad = 2*(ih%6)+1 + ih/6;
cout << ipad << endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment