]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - macros/lego.C
Merge remote-tracking branch 'origin/master' into flatdev
[u/mrichter/AliRoot.git] / macros / lego.C
index 291056554d12a482d769f253b2ea5966663c7671..e2f2fc0a8de685031c1791f17b9b54e0bd921109 100644 (file)
@@ -1,3 +1,10 @@
+#if !defined(__CINT__) || defined(__MAKECINT__)
+#include <TROOT.h>
+#include <TFile.h>
+#include <TCanvas.h>
+#include <TH2F.h>
+#endif
+
 void lego() {
 // macro to visualize the lego plots generated by gAlive->RunLego
    
@@ -37,14 +44,4 @@ void lego() {
    hradl->SetContour(ncont);
    hradl->SetMaximum(5);
    hradl->Draw("lego2sphe");
-
-   TCanvas *cetar = new TCanvas("cetar","etar",10,10,600,400);
-   cetar->SetTheta(theta);
-   cetar->SetPhi(phi);
-   TH2F *hetar = (TH2F*)file->Get("hetar");
-   hetar->SetFillColor(2);
-   hetar->SetMaximum(1);
-   hetar->SetContour(ncont);
-   hetar->SetMaximum(5);
-   hetar->Draw("lego2sphe");
 }