]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSvImpacts.h
add AliTPCcalibV0 class (Marian)
[u/mrichter/AliRoot.git] / PHOS / AliPHOSvImpacts.h
index 2b5cdf02d49fd3f30506cbf12540e4e5912a2526..1aa58b2fbdb138b604f3aa76cb99d93e4362f8b6 100644 (file)
@@ -3,6 +3,19 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
+/* $Id$ */
+
+/* History of cvs commits:
+ *
+ * $Log$
+ * Revision 1.9  2006/09/13 07:31:01  kharlov
+ * Effective C++ corrections (T.Pocheptsov)
+ *
+ * Revision 1.8  2005/05/28 14:19:05  schutz
+ * Compilation warnings fixed by T.P.
+ *
+ */
+
 //_________________________________________________________________________
 // Implementation version vImpacts of PHOS Manager class.
 // This class inherits from v1 and adds impacts storing.
@@ -27,33 +40,22 @@ public:
 
   AliPHOSvImpacts(void) ;
   AliPHOSvImpacts(const char *name, const char *title="") ;
-  AliPHOSvImpacts(const AliPHOSvImpacts & phos) {
-    // cpy ctor: no implementation yet
-    // requested by the Coding Convention
-    abort() ; 
-  }
   virtual ~AliPHOSvImpacts(void) ;
 
-  virtual void   AddImpact(char* detector, Int_t shunt, Int_t primary, Int_t track,
+  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=" ", const char *file=0) ;
+  virtual void   MakeBranch(Option_t *opt=" ");
   virtual void   ResetHits();
   virtual Int_t  IsVersion(void) const {
     // Gives the version number 
     return 1 ; 
   }
   virtual void   StepManager(void) ;                              
-  virtual TString Version(void)
+  virtual const TString Version(void)const
     // returns the version number 
     return TString("vImpacts") ; 
   }
 
-  AliPHOSvImpacts & operator = (const AliPHOSvImpacts & rvalue)  {
-    // assignement operator requested by coding convention but not needed
-    abort() ;
-    return *this ; 
-  }
-
 protected:
 
   TList * fEMCImpacts;         // Array of impacts in EMC modules
@@ -64,6 +66,9 @@ protected:
   Int_t  fNCPVImpacts[5];      // Number of CPV impacts per module
   Int_t  fNPPSDImpacts[5];     // Number of PPSD impacts per module
 
+ private:
+  AliPHOSvImpacts(AliPHOSvImpacts & phos);
+  AliPHOSvImpacts & operator = (const AliPHOSvImpacts & /*rvalue*/);
 
   ClassDef(AliPHOSvImpacts,1)  // Implementation of PHOS manager class for layout EMC+PPSD