]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSvImpacts.h
kSPECIESN from AliESD: number of particle species identified by PHOS
[u/mrichter/AliRoot.git] / PHOS / AliPHOSvImpacts.h
index 6a0cc827a2e71047406f1d63a2819f56313baa81..5eac3e04dc77291dcdd120af1148acf3bcbdf7dd 100644 (file)
@@ -27,14 +27,13 @@ public:
 
   AliPHOSvImpacts(void) ;
   AliPHOSvImpacts(const char *name, const char *title="") ;
-  AliPHOSvImpacts(const AliPHOSvImpacts & phos) {
-    // cpy ctor: no implementation yet
-    // requested by the Coding Convention
-    Fatal("cpy ctor", "not implemented") ;
+  AliPHOSvImpacts(AliPHOSvImpacts & phos) : AliPHOSv1(phos) {
+    phos.Copy(*this) ; 
   }
   virtual ~AliPHOSvImpacts(void) ;
 
-  virtual void   AddImpact(char* detector, Int_t shunt, Int_t primary, Int_t track,
+  virtual void   Copy(AliPHOSvImpacts & phos) ; 
+  virtual void   AddImpact(const char* detector, Int_t shunt, Int_t primary, Int_t track,
                           Int_t module, Int_t pid, TLorentzVector p, Float_t *xyz) ;
   virtual void   MakeBranch(Option_t *opt=" ");
   virtual void   ResetHits();
@@ -48,7 +47,7 @@ public:
     return TString("vImpacts") ; 
   }
 
-  AliPHOSvImpacts & operator = (const AliPHOSvImpacts & rvalue)  {
+  AliPHOSvImpacts & operator = (const AliPHOSvImpacts & /*rvalue*/)  {
     // assignement operator requested by coding convention but not needed
     Fatal("operator =", "not implemented") ;
     return *this ;