Updated macro
authorcoppedis <coppedis@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 28 Aug 2008 12:16:13 +0000 (12:16 +0000)
committercoppedis <coppedis@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 28 Aug 2008 12:16:13 +0000 (12:16 +0000)
ZDC/Fragment.C

index f1eb28a3cbd5ead28d7d2b4d75bdc8e82668cad7..9661e41bafd936d77f8ba879a41bffa0f04a1583 100644 (file)
@@ -1,9 +1,6 @@
 void Fragment(Int_t nev=0, Int_t debug=0)
 {
  gROOT->Reset();
- gStyle->SetPalette(1);
- gStyle->SetCanvasColor(33);
- gStyle->SetFrameFillColor(38);
  
  Float_t b;
  Int_t nspectp, nspectn, nspectpfree, nspectnfree; 
@@ -40,13 +37,13 @@ void Fragment(Int_t nev=0, Int_t debug=0)
    }
 //
 // Generation of fragments
-   gallio->GenerateIMF(zz, nalpha);
+   gallio->GenerateIMF();
    Int_t NFrag = gallio->GetFragmentNum();
 //
 // Attach neutrons
    ztot=0;
    ntot=0;
-   gallio->AttachNeutrons(zz, nn, ztot, ntot);
+   gallio->AttachNeutrons();
    nspectpfree = nspectp-ztot-2*nalpha;
    nspectnfree = nspectn-ntot-2*nalpha;
    hFragp -> Fill(b,nspectpfree);