Copy constructor and assignment operator delared in the private part of the class
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 31 Jan 2007 14:00:45 +0000 (14:00 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 31 Jan 2007 14:00:45 +0000 (14:00 +0000)
TMEVSIM/AliGenMevSim.h
ZDC/AliGenZDC.h

index e102f18..5553a10 100644 (file)
@@ -34,6 +34,10 @@ public:
 protected:
   TMevSim * fMevSim;           // Pointer to the MevSim generator
   AliMevSimConfig *fConfig;    // Pointer to the Configuration class
+
+ private:
+  AliGenMevSim(const AliGenMevSim & gen);
+  AliGenMevSim & operator=(const AliGenMevSim & gen);
       
   ClassDef(AliGenMevSim,1) // Interface class for AliMevsim
     
index 2013a18..5f8f5bc 100644 (file)
@@ -70,6 +70,10 @@ protected:
   Int_t    fDebugOpt;          // Option for debugging [0->No debug, 1->Screen
                                //  prints, 2->ASCII data file]
   
+ private:
+  AliGenZDC(const AliGenZDC & gen);
+  AliGenZDC & operator=(const AliGenZDC & gen);
+
    ClassDef(AliGenZDC,1)       // Generator for AliZDC class
 };