**************************************************************************/
-/*
-$Log$
-Revision 1.2 2002/01/18 03:27:12 morsch
-Acceptance and random rejection added.
-
-*/
-
+/* $Id$ */
//*-- Author: Andreas Morsch (CERN)
// below 0.5 GeV goes down to about 70% at 0.2 GeV.
// On top of that there is 90% geometrical acceptance for tracking due
// to TPC (dead zones between readout chambers).
- Float_t eff = 0.;
// Tracking
- if (p > 0.5) {
- eff = 0.9;
- if (ind == 2) eff = 0.95;
- } else {
- eff = eff-(0.5-p)*0.2/0.3;
- }
+//
+ Float_t eff = 0.9;
+ if (ind == 2) eff = 0.95;
+ if (p < 0.5) eff -= (0.5-p)*0.2/0.3;
+// Geometry
eff *= 0.9;
// Acceptance
return eff;