]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDclusterizerV1.h
Make code compliant to coding conventions
[u/mrichter/AliRoot.git] / TRD / AliTRDclusterizerV1.h
index a43edc8a190a8ef64bd35f12e34712877243cadb..614cca7c4ed11a45547ff844f98aaad953bca772 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef TRDclusterizerV1_h
-#define TRDclusterizerV1_h
+#ifndef ALITRDCLUSTERIZERV1_h
+#define ALITRDCLUSTERIZERV1_h
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
@@ -19,8 +19,10 @@ class AliTRDclusterizerV1 : public AliTRDclusterizer {
 
   AliTRDclusterizerV1();
   AliTRDclusterizerV1(const Text_t* name, const Text_t* title);
-  ~AliTRDclusterizerV1();
+  AliTRDclusterizerV1(AliTRDclusterizerV1 &c);
+  virtual ~AliTRDclusterizerV1();
 
+  virtual void    Copy(AliTRDclusterizerV1 &c);
   virtual void    Init();
   virtual Bool_t  MakeCluster();
   virtual Bool_t  ReadDigits();
@@ -33,6 +35,8 @@ class AliTRDclusterizerV1 : public AliTRDclusterizer {
   virtual Float_t GetClusSigThresh()                        { return fClusSigThresh; };
   virtual Int_t   GetClusMethod()                           { return fClusMethod;    };
 
+  inline  AliTRDclusterizerV1 &operator=(AliTRDclusterizerV1 &c);
+
  protected:
 
   AliTRDdigitsManager *fDigitsManager; //! TRD digits manager
@@ -50,4 +54,16 @@ class AliTRDclusterizerV1 : public AliTRDclusterizer {
 
 };
 
+//_____________________________________________________________________________
+AliTRDclusterizerV1 &AliTRDclusterizerV1::operator=(AliTRDclusterizerV1 &c)
+{
+  //
+  // Assignment operator
+  //
+
+  if (this != &c) c.Copy(*this);
+  return *this;
+
+}
+
 #endif