Removing warnings
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 3 Oct 2003 13:40:16 +0000 (13:40 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 3 Oct 2003 13:40:16 +0000 (13:40 +0000)
TMEVSIM/TMevSim.cxx
TMEVSIM/TMevSimPartTypeParams.cxx

index a961b3f..a4e9bd0 100644 (file)
@@ -462,7 +462,7 @@ TMevSim::~TMevSim()
   }
 }
 //______________________________________________________________________________
-TMevSim::TMevSim(TMevSim& mevsim) {
+TMevSim::TMevSim(TMevSim& mevsim) : TGenerator(mevsim) {
 // The copy constructor
    
    *this = mevsim;
@@ -573,7 +573,7 @@ void        TMevSim::GenerateEvent() {
 }
 
 //______________________________________________________________________________
-Int_t TMevSim::ImportParticles(TClonesArray *particles, Option_t *option)
+Int_t TMevSim::ImportParticles(TClonesArray *particles, Option_t */*option*/)
 {
 // Read in particles created by MevSim into the TClonesArray(). The Initialize()
 // and GenrateEvent() functions must be called prior to calling this funtion.
index 8ce8fb1..874730a 100644 (file)
@@ -62,7 +62,7 @@ TMevSimPartTypeParams::TMevSimPartTypeParams(Int_t agpid, Int_t amultmean, Int_t
 TMevSimPartTypeParams::~TMevSimPartTypeParams() {}
 
 //______________________________________________________________________________
-TMevSimPartTypeParams::TMevSimPartTypeParams (const TMevSimPartTypeParams& pars) {
+TMevSimPartTypeParams::TMevSimPartTypeParams (const TMevSimPartTypeParams& pars) : TObject(pars) {
 // The copy constructor
   
    this->fGPid = pars.GetGPid();