/*
$Log$
-*/
+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
//
protected:
Int_t fInteractions;
- ClassDef(AliGenBeamGas,1) //Generate particles from external file
+ ClassDef(AliGenBeamGas,1) //Generate for beam gas interactions
};
#endif