]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
copy constructor and assignement operator added
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 9 Aug 2001 11:06:26 +0000 (11:06 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 9 Aug 2001 11:06:26 +0000 (11:06 +0000)
TGeant4/TG4ExtDecayer.h

index c8906630eed8b86866f712da6096bba7ddcd24aa..921e8d659eb5bfbc687b82321a6593154925542b 100644 (file)
@@ -7,8 +7,8 @@
 // and has not pre-assigned decay products,
 // the external decayer is called.
 
-#ifndef TG4_DECAY_H
-#define TG4_DECAY_H
+#ifndef TG4_EXT_DECAYER_H
+#define TG4_EXT_DECAYER_H
 
 #include <G4VExtDecayer.hh>
 #include <globals.hh>
@@ -25,6 +25,8 @@ class TG4ExtDecayer : public G4VExtDecayer
 {
   public:
     TG4ExtDecayer(AliDecayer* externalDecayer);
+    // --> protected
+    //TG4ExtDecayer(const TG4ExtDecayer& right);
     virtual ~TG4ExtDecayer();
 
     virtual G4DecayProducts* ImportDecayProducts(const G4Track& track);
@@ -34,6 +36,12 @@ class TG4ExtDecayer : public G4VExtDecayer
     
     // get methods
     G4int GetVerboseLevel() const;
+    
+  protected:  
+    TG4ExtDecayer(const TG4ExtDecayer& right);
+
+    // operators
+    TG4ExtDecayer& operator=(const TG4ExtDecayer& right);
 
   private:
     TG4ParticlesManager* fParticlesManager;  //particles manager 
@@ -50,4 +58,4 @@ inline void TG4ExtDecayer::SetVerboseLevel(G4int verbose)
 inline G4int TG4ExtDecayer::GetVerboseLevel() const
 { return fVerboseLevel; }
 
-#endif //TG4_DECAY_H
+#endif //TG4_EXT_DECAYER_H