]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fix coding rule violations
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 28 Oct 2009 08:29:21 +0000 (08:29 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 28 Oct 2009 08:29:21 +0000 (08:29 +0000)
TRD/AliTRDclusterizer.cxx
TRD/AliTRDclusterizer.h

index 15930be5feae788dc2a675db2a9eaef2b5164b7a..b89eab53be32895cb1ee280b697b4183deaf25b0 100644 (file)
@@ -271,7 +271,7 @@ AliTRDclusterizer &AliTRDclusterizer::operator=(const AliTRDclusterizer &c)
 }
 
 //_____________________________________________________________________________
 }
 
 //_____________________________________________________________________________
-void AliTRDclusterizer::Copy(TObject &c) const
+void AliTRDclusterizer::Copy(const TObject &c) const
 {
   //
   // Copy function
 {
   //
   // Copy function
index 55d94ba1c033db33ece2e16c5a51e487d02a0ce3..0da92001b0bdbe4ba90400484cd240422781aa82 100644 (file)
@@ -51,12 +51,12 @@ class AliTRDclusterizer : public TNamed
 
   struct MaxStruct
   {
 
   struct MaxStruct
   {
-    Int_t       row;
-    Int_t       col;
-    Int_t       time;
-    Short_t     signals[3];
-    UChar_t     padStatus;
-    Bool_t      fivePad;
+    Int_t       row;           // row of the current cluster candidate
+    Int_t       col;           // col of the current cluster candidate
+    Int_t       time;          // time -"-
+    Short_t     signals[3];    // signals of the maximum pad and it's twon neigbours
+    UChar_t     padStatus;     // padStatus of the current cluster candidate
+    Bool_t      fivePad;       // is this cluster candidate part of a 5 pad cluster (two overlaping clusters)?
   MaxStruct():row(-1),col(0),time(0),padStatus(0),fivePad(kFALSE)
       {memset(signals, 0, 3*sizeof(Short_t));}
     MaxStruct &operator=(const MaxStruct &a)
   MaxStruct():row(-1),col(0),time(0),padStatus(0),fivePad(kFALSE)
       {memset(signals, 0, 3*sizeof(Short_t));}
     MaxStruct &operator=(const MaxStruct &a)
@@ -69,7 +69,7 @@ class AliTRDclusterizer : public TNamed
   virtual         ~AliTRDclusterizer();
   AliTRDclusterizer &operator=(const AliTRDclusterizer &c);
 
   virtual         ~AliTRDclusterizer();
   AliTRDclusterizer &operator=(const AliTRDclusterizer &c);
 
-  void     Copy(TObject &c) const;
+  void     Copy(const TObject &c) const;
 
   Bool_t   Open(const Char_t *name, Int_t nEvent = 0);
   Bool_t   OpenInput(Int_t nEvent = 0);
 
   Bool_t   Open(const Char_t *name, Int_t nEvent = 0);
   Bool_t   OpenInput(Int_t nEvent = 0);