* *
**************************************************************************/
-/*
-$Log$
-Revision 1.1 2002/11/06 10:26:45 hristov
-Event generator for e+e- pair production (Yu.Kharlov)
-
-*/
+/* $Id$ */
// Event generator of single e+e- pair production in ultraperipheral PbPb collisions
// at 5.5 TeV/nucleon.
if (fPtMin == 0) fPtMin = 1.E-04;
}
-//____________________________________________________________
-AliGenEpEmv1::AliGenEpEmv1(const AliGenEpEmv1 & gen)
-{
- // copy constructor
- gen.Copy(*this);
-}
-
//____________________________________________________________
AliGenEpEmv1::~AliGenEpEmv1()
{
fMass = TDatabasePDG::Instance()->GetParticle(11)->Mass();
SetMC(new TEpEmGen());
- fEpEmGen = (TEpEmGen*) fgMCEvGen;
+ fEpEmGen = (TEpEmGen*) fMCEvGen;
fEpEmGen ->Initialize(fYMin,fYMax,fPtMin,fPtMax);
fEvent = 0;
}
id = 11;
if (fDebug == 2)
printf("id=%+3d, p = (%+11.4e,%+11.4e,%+11.4e) GeV\n",id,p[0],p[1],p[2]);
- SetTrack(fTrackIt,-1, id,p,origin,polar,0,kPPrimary,nt,weight);
+ PushTrack(fTrackIt,-1, id,p,origin,polar,0,kPPrimary,nt,weight);
// Produce positron
mt = TMath::Sqrt(ptPositron*ptPositron + fMass*fMass);
id = -11;
if (fDebug == 2)
printf("id=%+3d, p = (%+11.4e,%+11.4e,%+11.4e) GeV\n",id,p[0],p[1],p[2]);
- SetTrack(fTrackIt,-1, id,p,origin,polar,0,kPPrimary,nt,weight);
+ PushTrack(fTrackIt,-1, id,p,origin,polar,0,kPPrimary,nt,weight);
fEvent++;
if (fEvent%1000 == 0) {