]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Coding convention violations (RC17): suppression
authordecaro <decaro@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 19 Jan 2010 14:39:18 +0000 (14:39 +0000)
committerdecaro <decaro@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 19 Jan 2010 14:39:18 +0000 (14:39 +0000)
16 files changed:
TOF/AliTOFClusterFinder.cxx
TOF/AliTOFClusterFinder.h
TOF/AliTOFDigitMap.cxx
TOF/AliTOFDigitMap.h
TOF/AliTOFHitMap.cxx
TOF/AliTOFHitMap.h
TOF/AliTOFRawMap.cxx
TOF/AliTOFRawMap.h
TOF/AliTOFSDigit.cxx
TOF/AliTOFSDigit.h
TOF/AliTOFcluster.cxx
TOF/AliTOFcluster.h
TOF/AliTOFdigit.cxx
TOF/AliTOFdigit.h
TOF/AliTOFhit.cxx
TOF/AliTOFhit.h

index df224a948017063b904b45356b2c2224fe77f293..3e640205fbae0c96df85729e3d931349e1292f5e 100644 (file)
@@ -1146,7 +1146,7 @@ void AliTOFClusterFinder::UnLoadClusters()
 
 }
 //-------------------------------------------------------------------------
-UShort_t AliTOFClusterFinder::GetClusterVolIndex(Int_t *ind) const {
+UShort_t AliTOFClusterFinder::GetClusterVolIndex(const Int_t * const ind) const {
 
   //First of all get the volume ID to retrieve the l2t transformation...
   //
index e46c1beca7d9888ec4c30e426efe26510d7c37d0..f0fbfb3ad0cc312e68fec8c3da8eee65462fe7a9 100644 (file)
@@ -50,7 +50,7 @@ class AliTOFClusterFinder : public TObject
   void SetVerbose(Int_t Verbose){fVerbose=Verbose;} // To set the verbose level
   void SetDecoderVersion(Int_t version){fDecoderVersion=version;} // To set the decoder version
   Bool_t GetDecoderVersion() const {return fDecoderVersion;} // To get the decoder version
-  UShort_t  GetClusterVolIndex(Int_t *ind) const; //Volume Id getter
+  UShort_t  GetClusterVolIndex(const Int_t * const ind) const; //Volume Id getter
   void GetClusterPars(Int_t *ind, Double_t *pos, Double_t *cov) const; //cluster par getter
 
  protected:
index 0d07fd1e076745dcde78f5c88ff5a7650f4b139d..d7047d6d69e1c84eea073684bfc92e7548de7da0 100644 (file)
@@ -130,7 +130,7 @@ void AliTOFDigitMap::Clear(const Option_t*)
 }
 
 ////////////////////////////////////////////////////////////////////////
-Int_t AliTOFDigitMap::CheckedIndex(Int_t *vol) const
+Int_t AliTOFDigitMap::CheckedIndex(Int_t * const vol) const
 {
   //
   // Return checked index for vol
index 23e437e8c11c8a13ad5ce07f4ee862f4795b7345..1efd709d336d736db1b77ccba973d4a3a69de8fb 100644 (file)
@@ -59,7 +59,7 @@ class AliTOFDigitMap : public TObject
 
  private:
     // Check index
-    Int_t CheckedIndex(Int_t *vol) const;
+    Int_t CheckedIndex(Int_t * const vol) const;
 
     Int_t fNSector;                       // Number of sectors
     Int_t fNplate;                        // Number of plates
index a52af1dc7c86e871c4dd6058fe3811e04e4c71a4..e1494ec02dc1594337d6bfd3be44c8392aa5316c 100644 (file)
@@ -124,7 +124,7 @@ void AliTOFHitMap::Clear(const char *)
 }
 
 ////////////////////////////////////////////////////////////////////////
-Int_t AliTOFHitMap::CheckedIndex(Int_t *vol) const
+Int_t AliTOFHitMap::CheckedIndex(Int_t * const vol) const
 {
 //
 // Return checked indices for vol
index a917378bc0b0bd116714379d40e4a1825bb29a5f..4b8d504dec756c671d62c5b60f5883140d84de83 100644 (file)
@@ -46,7 +46,7 @@ class AliTOFHitMap : public TObject
     
  private:
     // Check index
-    Int_t CheckedIndex(Int_t *vol) const;
+    Int_t CheckedIndex(Int_t * const vol) const;
  private:
     Int_t fNSector;                       // Number of sectors
     Int_t fNplate;                        // Number of plates
index 03dd8db872d598d49147435c1e55e4b56398532d..6847156a34d0d1909230809f2e67518655bdac81 100644 (file)
@@ -125,7 +125,7 @@ void AliTOFRawMap::Clear(const char *)
 }
 
 ////////////////////////////////////////////////////////////////////////
-Int_t AliTOFRawMap::CheckedIndex(Int_t *slot) const
+Int_t AliTOFRawMap::CheckedIndex(const Int_t * const slot) const
 {
 //
 // Return checked indices for vol
index 8eb17f27c514177e61452cc69c649f6429dfd46d..1265e38a76caeea4dfdc1ca8964dfa4971435584 100644 (file)
@@ -45,7 +45,7 @@ class AliTOFRawMap : public TObject
     
  private:
     // Check index
-    Int_t CheckedIndex(Int_t *slot) const;
+    Int_t CheckedIndex(const Int_t * const slot) const;
  private:
     Int_t fNtrm;            // Number of TRM
     Int_t fNtrmChain;       // Number of TRM chains per TRM
index 88f1faad9339d44f878d70e5848ef51da7d00f28..fb77e1a8aa0c87603ad8705dd59ef726f44fae7d 100644 (file)
@@ -54,7 +54,7 @@ AliTOFSDigit::AliTOFSDigit():
 }
 
 ////////////////////////////////////////////////////////////////////////
-AliTOFSDigit::AliTOFSDigit(Int_t tracknum, Int_t *vol,Int_t *digit):
+AliTOFSDigit::AliTOFSDigit(Int_t tracknum, Int_t * const vol,Int_t * const digit):
   TObject(),
   fSector(-1),
   fPlate(-1),
@@ -234,7 +234,7 @@ void AliTOFSDigit::Update(Float_t tdcbin, Int_t tdc, Int_t adc, Int_t track)
 }
 
 ////////////////////////////////////////////////////////////////////////
-void AliTOFSDigit::Update(AliTOFSDigit* sdig)
+void AliTOFSDigit::Update(AliTOFSDigit * const sdig)
 {
 
   //
index b18e8e9655e4b59eb161f9de7a89715544aac583..bdfa314e154f04d2b88943c520290a91fca6aab2 100644 (file)
@@ -23,7 +23,7 @@ class AliTOFSDigit : public TObject {
 
  public:
   AliTOFSDigit();
-  AliTOFSDigit(Int_t tracknum, Int_t* vol, Int_t* digit);
+  AliTOFSDigit(Int_t tracknum, Int_t * const vol, Int_t * const digit);
 // new ctor for sdigits
   AliTOFSDigit(Int_t sector, Int_t plate, Int_t strip, Int_t padx, Int_t padz, Int_t tdc, Int_t adc);
 // copy ctor
@@ -34,7 +34,7 @@ class AliTOFSDigit : public TObject {
   Int_t           GetTotPad() const;
 
   void Update(Float_t tdcbin, Int_t tdc, Int_t adc, Int_t track);
-  void Update(AliTOFSDigit* sdig);
+  void Update(AliTOFSDigit * const sdig);
 
 // getters for AliTOFSDigit object 
   Int_t   GetNDigits() const    {return fNDigits;}
index f2ff14182451c748105cb3c3011067c6d0b0404e..e371a95e2efe0a492dd45762264d13d482f803cb 100644 (file)
@@ -63,7 +63,9 @@ AliTOFcluster::AliTOFcluster(UShort_t volId,
    Float_t x,   Float_t y,   Float_t z,
    Float_t sx2, Float_t sxy, Float_t sxz,
                 Float_t sy2, Float_t syz,
-                             Float_t sz2, Int_t *lab, Int_t *ind, Int_t *par, Bool_t status, Int_t idx):
+                             Float_t sz2,
+                            Int_t *lab, Int_t * const ind,
+                            Int_t *par, Bool_t status, Int_t idx):
   AliCluster3D(volId,x,y,z,sx2,sxy,sxz,sy2,syz,sz2,lab),
   fIdx(idx),
   fQuality(-100), 
index 4fd99f3cbce08d5fc5774ef277dcd7adca0f77c8..921063662214f0a4496c30fdf1a3e22f611884f4 100644 (file)
@@ -23,7 +23,7 @@ class AliTOFcluster : public AliCluster3D {
      Float_t sx2, Float_t sxy, Float_t sxz,
                   Float_t sy2, Float_t syz,
                                Float_t sz2,
-               Int_t *lab, Int_t *ind, Int_t *par, 
+               Int_t *lab, Int_t * const ind, Int_t *par, 
                Bool_t status, Int_t idx); // ctor
   AliTOFcluster(const AliTOFcluster & cluster); // copy ctor
   virtual ~AliTOFcluster(); // dtor
index 5caab7d415e2800d58af134d6e9c728c6d44ae8a..c11a1b9dc6104ab8e5169d3a7b62da72cab8e98c 100644 (file)
@@ -220,7 +220,7 @@ if  (fSector==digit.fSector &&
 }
 
 //______________________________________________________________________________
-ostream& operator << (ostream& out, const AliTOFdigit &digit)
+ostream& operator << (ostream & out, const AliTOFdigit &digit)
 {
   //
   // Output streamer: output of the digit data
index 04d92996db103d24dc21d1786944719e05f01538..a9b3a7fa27771f96bb6df95ed876846b51ebc0fa 100644 (file)
@@ -19,7 +19,7 @@
 class AliTOFdigit : public AliDigit {
   
   //overloading of the streamer << operator
-  friend ostream& operator << ( ostream& , const AliTOFdigit&) ;
+  friend ostream& operator << (ostream &, const AliTOFdigit&) ;
 
  public:
  AliTOFdigit();
index 28a8f9a41529d79f98b9288325fcbb319ac0935b..7966929cfe6baf852a138a254965fc0523689864 100644 (file)
@@ -1,3 +1,18 @@
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ *                                                                        *
+ * Author: The ALICE Off-line Project.                                    *
+ * Contributors are mentioned in the code where appropriate.              *
+ *                                                                        *    
+ * Permission to use, copy, modify and distribute this software and its   *
+ * documentation strictly for non-commercial purposes is hereby granted   *
+ * without fee, provided that the above copyright notice appears in all   *
+ * copies and that both the copyright notice and this permission notice   *
+ * appear in the supporting documentation. The authors make no claims     *
+ * about the suitability of this software for any purpose. It is          *
+ * provided "as is" without express or implied warranty.                  * 
+ **************************************************************************/
+
 //_________________________________________________________________________
 //  TOF hit  : member variables
 //  fTrack   :
 
 
 
-/**************************************************************************
- * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
- *                                                                        *
- * Author: The ALICE Off-line Project.                                    *
- * Contributors are mentioned in the code where appropriate.              *
- *                                                                        *    
- * Permission to use, copy, modify and distribute this software and its   *
- * documentation strictly for non-commercial purposes is hereby granted   *
- * without fee, provided that the above copyright notice appears in all   *
- * copies and that both the copyright notice and this permission notice   *
- * appear in the supporting documentation. The authors make no claims     *
- * about the suitability of this software for any purpose. It is          *
- * provided "as is" without express or implied warranty.                  * 
- **************************************************************************/
-
 #include "AliTOFhit.h"
 
 ClassImp(AliTOFhit)
@@ -104,8 +104,8 @@ AliTOFhit::AliTOFhit(const AliTOFhit & hit)
 }
  
 //______________________________________________________________________________
-AliTOFhit::AliTOFhit(Int_t shunt, Int_t track, Int_t *vol,
-                     Float_t *hits)
+AliTOFhit::AliTOFhit(Int_t shunt, Int_t track, Int_t * const vol,
+                     Float_t * const hits)
   :AliHit(shunt, track),
   fSector(-1),
   fPlate(-1),
index 5f9f10ae08a436dbcd5960e019a490292237dc76..5ea7dcf9e51d9b618fbe4a329a3559996118fd91 100644 (file)
@@ -21,8 +21,8 @@ class AliTOFhit : public AliHit {
   
 public:
   AliTOFhit();
-  AliTOFhit(Int_t shunt, Int_t track, Int_t* vol, 
-            Float_t *hits);
+  AliTOFhit(Int_t shunt, Int_t track, Int_t * const vol, 
+            Float_t * const hits);
   AliTOFhit(const AliTOFhit & hit) ;
   virtual ~AliTOFhit() {}
        // getters for AliTOFhit object