- Float_t bbx[15] =
- {
- 0.21, 0.55, 0.65, 0.65, 0.5,
- 0.40, 0.26, 0.19, 0.11, 0.1,
- 0.075, 0.045, 0.035, 0.02, 0.017
- };
+ AliFastGlauber* glauber = new AliFastGlauber();
+ glauber->Init(1);
+
+ Float_t lumi = 5.e26; // cm^-2 s^-1
+ Float_t time = 1.e6; // s
+ Float_t rate = lumi/1.e24 * glauber->CrossSection(bmin, bmax); // Hz
+ Float_t fhard = glauber->FractionOfHardCrossSection(bmin, bmax);
+ Float_t fgeo = glauber->CrossSection(bmin, bmax) / glauber->CrossSection(0, 100.);
+ Float_t events = rate * time;
+
+ printf("-------------------------------------------------------------------\n");
+ printf("Impact parameter range: %10.3f - %10.3f fm \n", bmin, bmax);
+ printf("Luminosity: %10.3e cm^-2 s^-1 \n", lumi);
+ printf("Rate: %10.3f Hz\n", rate);
+ printf("Fraction of hard cross-section: %10.3f %\n", fhard * 100.);
+ printf("Fraction of geom. cross-section: %10.3f %\n", fgeo * 100.);
+ printf("Events in 10^6 s: %10.3e %\n", events);
+ printf("-------------------------------------------------------------------\n");
+
+//
+//
+ Float_t ptMinCut = 1.;
+ Float_t etamin = 2.543;
+ Float_t etar = 1.457;
+ Float_t ptUp = 20.; // GeV
+ Float_t dpt = 0.1; // GeV
+//
+// For b = 0
+// (factor 1.35 to scale from 10% most central to b=0)
+//
+ Float_t scaleC0 = 1.35 * ptUp / dpt;
+ Float_t scaleB0 = 1.35 * ptUp / dpt;
+ Float_t scaleD0 = 1.35 * etar * ptUp / 1.35; // scaled by 1.35 to match ALICE-INT-2002-6
+
+//