Updates needed for current FLUKA version.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 26 Jun 2006 17:39:33 +0000 (17:39 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 26 Jun 2006 17:39:33 +0000 (17:39 +0000)
TDPMjet/AliGenDPMjet.cxx
TDPMjet/AliGenDPMjet.h
TDPMjet/TDPMjet.h

index 5902af6..7e1ee2c 100644 (file)
@@ -530,15 +530,9 @@ void AliGenDPMjet::MakeHeader()
     ((AliGenDPMjetEventHeader*) header)->SetNProduced(fDPMjet->GetNumStablePc());
     ((AliGenDPMjetEventHeader*) header)->SetImpactParameter(fDPMjet->GetBImpac());
     ((AliGenDPMjetEventHeader*) header)->SetTotalEnergy(fDPMjet->GetTotEnergy());
-//    ((AliGenDPMjetEventHeader*) header)->SetWounded(fDPMjet->GetProjWounded(),
-//                                                 fDPMjet->GetTargWounded());
     ((AliGenDPMjetEventHeader*) header)->SetParticipants(fDPMjet->GetfIp(), 
                                                         fDPMjet->GetfIt());
-    /*((AliGenDPMjetEventHeader*) header)->SetCollisions(fDPMjet->GetN0(),
-                                                      fDPMjet->GetN01(),
-                                                      fDPMjet->GetN10(),
-                                                      fDPMjet->GetN11());*/
-    ((AliGenDPMjetEventHeader*) header)->SetSpectators(fSpecn, fSpecp);
+//    ((AliGenDPMjetEventHeader*) header)->SetSpectators(fSpecn, fSpecp);
 
 // Bookkeeping for kinematic bias
     ((AliGenDPMjetEventHeader*) header)->SetTrials(fTrials);
index a9c2f2b..29fce88 100644 (file)
@@ -29,10 +29,6 @@ class AliGenDPMjet : public AliGenMC
 
     virtual void    SetBeamEnergy(Float_t energy=5400.) {fBeamEn=energy;}
     virtual void    SetEnergyCMS(Float_t energy=5400.)   {fEnergyCMS=energy;}
-    virtual void    SetProjectile(Int_t a=208, Int_t z=82)
-                       {fAProjectile = a; fZProjectile = z;}    
-    virtual void    SetTarget(Int_t a=208, Int_t z=82)
-                       {fATarget = a; fZTarget = z;}    
     virtual void    SetImpactParameterRange(Float_t bmin=0., Float_t bmax=16.)
                        {fMinImpactParam=bmin; fMaxImpactParam=bmax;}
     virtual void    SetCentral(Int_t icentr=-2) {fICentr = icentr;}
index dd77c83..12d3f3a 100644 (file)
@@ -31,7 +31,7 @@ public:
    virtual void  GenerateEvent();
 
    virtual Int_t ImportParticles(TClonesArray *particles, Option_t *option="");
-
+   virtual TObjArray      *ImportParticles(Option_t * /*option*/) {return 0;}
    
    // Parameters for the generation:
    virtual void  SetNEvent(Int_t iev)    {fNEvent = iev;}