Remove obsolete macro
authorcussonno <cussonno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 9 Sep 2004 07:37:36 +0000 (07:37 +0000)
committercussonno <cussonno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 9 Sep 2004 07:37:36 +0000 (07:37 +0000)
MUON/Digitalization.C [deleted file]
MUON/DrawMUON.C [deleted file]
MUON/DrawTestAbso.C [deleted file]
MUON/ViewMUON.C [deleted file]

diff --git a/MUON/Digitalization.C b/MUON/Digitalization.C
deleted file mode 100644 (file)
index 71865d7..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-void Digitalization()
-{
-Int_t nInputStreams = 1;
-Int_t sperb=1;
-gAlice->Delete();
-AliRunDigitizer   * manager = new AliRunDigitizer(nInputStreams,sperb);
-manager->SetInputStream(0,"galice.root");
-manager->SetOutputFile("galice_digits.root");
-AliMUONDigitizerv1* dMUON   = new AliMUONDigitizerv1(manager);
-//dMUON->SetDebug(3);
-manager->AddDigitizer(dMUON);
-manager->Exec("deb");
-}
diff --git a/MUON/DrawMUON.C b/MUON/DrawMUON.C
deleted file mode 100644 (file)
index d651a4f..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-void DrawMUON()
-{
-   gMC->Gsatt("*", "seen", -1);
-   gMC->Gsatt("alic", "seen", 0);
-   gROOT->LoadMacro("ViewMUON.C");
-   gInterpreter->ProcessLine("ViewMUON()");
-   gMC->Gdopt("hide", "on");
-   gMC->Gdopt("shad", "on");
-   gMC->Gsatt("*", "fill", 7);
-   gMC->SetClipBox(".");
-   gMC->SetClipBox("*", 0, 2000, -2000, 2000, 0, 6000);
-   gMC->DefaultRange();
-   gMC->Gdraw("alic", 40, 30, 0, 22, 16, .017, .017);
-   gMC->Gdhead(1111, "Muon Arm");
-   gMC->Gdman(16, 6, "MAN");
-}
diff --git a/MUON/DrawTestAbso.C b/MUON/DrawTestAbso.C
deleted file mode 100644 (file)
index ab22af4..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-void DrawTestAbso(Text_t *FileName = "MUONTestAbso")
-{
-  //  FileName : name of the input file (.root)
-  //  Draw histograms to test the absorber correction (mean energy loss + Branson correction)
-  //  MUONTestAbso.root can be produced by the mean of the macro MUONTestAbso.C
-
-
-  strcat(FileName,".root");
-  TFile *hfile = (TFile*)gROOT->FindObject(FileName); 
-  if (hfile) hfile->Close(); 
-  TFile *fill = new TFile(FileName);  
-  
-  gROOT->Reset();
-  gStyle->SetOptStat(11111111);
-  gStyle->SetOptFit(1);
-  
-  
-  TCanvas *c1 = new TCanvas("c1",FileName, 250, 20, 800, 820);
-  c1->GetFrame()->SetBorderSize(6);
-  c1->GetFrame()->SetBorderMode(-1);
-
-  c1->Divide(1,2);
-
-  TPad *pad1 = new TPad("pad1", "The pad with the Histo", 0.01, 0.01, 0.99, 0.99, 21);
-  c1->cd(1);
-  pad1->Draw();
-  pad1->cd();
-  pad1->SetGridx();
-  pad1->SetGridy();
-  pad1->SetFillColor(22);
-  pad1->GetFrame()->SetBorderMode(-1);
-  hDeltaP1->Draw();
-
-  TPad *pad2 = new TPad("pad2", "The pad with the Histo", 0.01, 0.01, 0.99, 0.99, 21);
-  c1->cd(2);
-  pad2->Draw();
-  pad2->cd();
-  pad2->SetGridx();
-  pad2->SetGridy();
-  pad2->SetFillColor(22);
-  pad2->GetFrame()->SetBorderMode(-1);
-  hDeltaAngle1->Draw();
-
-
-  TCanvas *c2 = new TCanvas("c2",FileName, 200, 10, 800, 820);
-  c2->GetFrame()->SetBorderSize(6);
-  c2->GetFrame()->SetBorderMode(-1);
-
-  c2->Divide(1,2);
-
-  TPad *pad3 = new TPad("pad3", "The pad with the Histo", 0.01, 0.01, 0.99, 0.99, 21);
-  c2->cd(1);
-  pad3->Draw();
-  pad3->cd();
-  pad3->SetGridx();
-  pad3->SetGridy();
-  pad3->SetFillColor(22);
-  pad3->GetFrame()->SetBorderMode(-1);
-  hDeltaP2->Draw();
-
-  TPad *pad4 = new TPad("pad4", "The pad with the Histo", 0.01, 0.01, 0.99, 0.99, 21);
-  c2->cd(2);
-  pad4->Draw();
-  pad4->cd();
-  pad4->SetGridx();
-  pad4->SetGridy();
-  pad4->SetFillColor(22);
-  pad4->GetFrame()->SetBorderMode(-1);
-  hDeltaAngle2->Draw();
-
-  TCanvas *c3 = new TCanvas("c3",FileName, 150, 5, 800, 700);
-
-  c3->GetFrame()->SetBorderSize(6);
-  c3->GetFrame()->SetBorderMode(-1);
-
-  TPad *pad5 = new TPad("pad5", "The pad with the Histo", 0.01, 0.01, 0.99, 0.99, 21);
-  pad5->Draw();
-  pad5->cd();
-  pad5->SetGridx();
-  pad5->SetGridy();
-  pad5->SetFillColor(22);
-  pad5->GetFrame()->SetBorderMode(-1);
-
-  g1= new TF1("g1","gaus",9.3,9.8) ; // 9.25
-  hInvMassRes->Fit("g1","RQ");
-  hInvMassRes->GetXaxis()->SetTitleFont(20);
-  hInvMassRes->SetXTitle("Mass (GeV/c^2!)");
-  hInvMassRes->SetFillColor(63);
-  hInvMassRes->Draw();
-
-}
diff --git a/MUON/ViewMUON.C b/MUON/ViewMUON.C
deleted file mode 100644 (file)
index 2d62399..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-void ViewMUON()
-{
-   gMC->Gsatt("CH1A","seen",1);
-   gMC->Gsatt("CH1G","seen",0);
-   gMC->Gsatt("CH2A","seen",1);
-   gMC->Gsatt("CH2G","seen",0);
-   gMC->Gsatt("CH3A","seen",1);
-   gMC->Gsatt("CH3G","seen",0);
-   gMC->Gsatt("CH4A","seen",1);
-   gMC->Gsatt("CH4G","seen",0);
-   gMC->Gsatt("CH5A","seen",1);
-   gMC->Gsatt("CH5G","seen",0);
-   gMC->Gsatt("CH6A","seen",1);
-   gMC->Gsatt("CH6G","seen",0);
-   gMC->Gsatt("CH7A","seen",1);
-   gMC->Gsatt("CH7G","seen",0);
-   gMC->Gsatt("CH8A","seen",1);
-   gMC->Gsatt("CH8G","seen",0);
-   gMC->Gsatt("CH9A","seen",1);
-   gMC->Gsatt("CH9G","seen",0);
-   gMC->Gsatt("C10A","seen",1);
-   gMC->Gsatt("C10G","seen",0);
-   gMC->Gsatt("MC11","seen",1);
-   gMC->Gsatt("M11G","seen",0);
-   gMC->Gsatt("MC12","seen",1);
-   gMC->Gsatt("M12G","seen",0);
-   gMC->Gsatt("MC13","seen",1);
-   gMC->Gsatt("M13G","seen",0);
-   gMC->Gsatt("MC14","seen",1);
-   gMC->Gsatt("M14G","seen",0);
-}