X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TPHIC%2FAliGenTPHIC.cxx;h=ecc6255e4bafea7820ef569438325b463109d3bf;hb=e77999acccd913b76a4d8be699b59406073c818c;hp=bc8574001fbc0c0519ec0da720fefe7ab21212e1;hpb=88cb7938ca21d4a80991d4e7aa564008c29340f7;p=u%2Fmrichter%2FAliRoot.git diff --git a/TPHIC/AliGenTPHIC.cxx b/TPHIC/AliGenTPHIC.cxx index bc8574001fb..ecc6255e4ba 100644 --- a/TPHIC/AliGenTPHIC.cxx +++ b/TPHIC/AliGenTPHIC.cxx @@ -16,16 +16,6 @@ /* $Id$ */ -/* -$Log$ -Revision 1.1.2.1 2003/05/20 17:27:07 hristov -Merging with v3-09-09 - -Revision 1.1 2003/05/09 09:18:11 hristov -Adding TPHIC - -*/ - // Event generator of two-photon processes // in ultra-peripheral ion collisions. // 5 two-photon process are implemented, see comments to SetProcess(). @@ -66,6 +56,8 @@ Adding TPHIC #include #include #include +#include + #include "AliPythia.h" #include "AliRun.h" #include @@ -76,7 +68,15 @@ ClassImp(AliGenTPHIC) //------------------------------------------------------------ -AliGenTPHIC::AliGenTPHIC() +AliGenTPHIC::AliGenTPHIC() : + AliGenMC(), + fTPHICgen(0x0), + fPythia(0x0), + fParticles(0x0), + fEvent(-1), + fDebug(0), + fDebugEventFirst(-1), + fDebugEventLast(-1) { // Constructor: create generator instance, // create particle array @@ -100,13 +100,6 @@ AliGenTPHIC::AliGenTPHIC() SetKfOnium (); } -//____________________________________________________________ -AliGenTPHIC::AliGenTPHIC(const AliGenTPHIC & gen) -{ - // copy constructor - gen.Copy(*this); -} - //____________________________________________________________ AliGenTPHIC::~AliGenTPHIC() { @@ -185,7 +178,7 @@ void AliGenTPHIC::Generate() tof = kconv*iparticle->T(); if (ks == 1) trackIt = 1; else trackIt = 0; - SetTrack(fTrackIt*trackIt,iparent,kf,p,origin,polar,tof,kPPrimary,nt,weight,ks); + PushTrack(fTrackIt*trackIt,iparent,kf,p,origin,polar,tof,kPPrimary,nt,weight,ks); KeepTrack(nt); if (fDebug == 2)