/*
$Log$
-*/
+Revision 1.2.6.1 2002/06/10 14:57:41 hristov
+Merged with v3-08-02
+
+Revision 1.2 2002/05/15 13:29:11 morsch
+Use fOsigma[2] for vertex smearing. Default is 2000 cm.
+Revision 1.1 2002/05/15 08:59:36 morsch
+First commit.
-// Event generator that using an instance of type AliGenReader
-// reads particles from a file and applies cuts.
+*/
+
+//
+// Generator to simulate beam gas interactions.
+// At present single interactions are read from an external file.
+// Several interactions are combined in one event.
#include "AliGenBeamGas.h"
// Constructor
//
fInteractions = 1;
+ fOsigma[0] = 0.;
+ fOsigma[1] = 0.;
+ fOsigma[2] = 2000.;
}
AliGenBeamGas::AliGenBeamGas(const AliGenBeamGas & ExtFile)
//
// Interaction vertex
//
- origin[2] = 4000. * random[0] - 2000.;
+ origin[2] = 2. * fOsigma[2] * random[0] - fOsigma[2];
//
// beam 1 or 2
//