]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Removing meaningelss const (warnings on alpha, sun, and with icc)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 9 Nov 2004 09:15:05 +0000 (09:15 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 9 Nov 2004 09:15:05 +0000 (09:15 +0000)
13 files changed:
MUON/AliMUONSegmentIndex.cxx
MUON/AliMUONSegmentIndex.h
MUON/AliMUONSegmentManuIndex.cxx
MUON/AliMUONSegmentManuIndex.h
MUON/AliMUONSegmentPosition.cxx
MUON/AliMUONSegmentPosition.h
MUON/AliMUONTriggerTrack.h
MUON/mapping/AliMpSectorPadIterator.h
PHOS/AliPHOSClusterizerv1.h
PHOS/AliPHOSGeometry.cxx
PHOS/AliPHOSGeometry.h
PHOS/AliPHOSPIDv1.h
PHOS/AliPHOSTrackSegmentMakerv1.h

index 98ee5bb14dd7ba52ef33bd77f9e8e97ad8059c29..a8f7a71e26914506a28b18f1fbb853d16e469da3 100644 (file)
@@ -44,7 +44,7 @@ AliMUONSegmentIndex::AliMUONSegmentIndex() : TNamed()
   fCathode=0;  
 }
 //___________________________________________
-AliMUONSegmentIndex::AliMUONSegmentIndex(const Int_t channelId, const Int_t padX, const Int_t padY, const Int_t cathode) : TNamed()
+AliMUONSegmentIndex::AliMUONSegmentIndex(Int_t channelId, Int_t padX, Int_t padY, Int_t cathode) : TNamed()
 {
   // Constructor to be used
   fName  = Name(padX, padY, cathode).Data();
index cbb6383f949a1222eff9bcdb9e21db49f6861264..61860276ca6030cdd4564a4a7fb8c8c78a71f4ca 100644 (file)
@@ -21,7 +21,7 @@
 class AliMUONSegmentIndex : public TNamed {
  public:
   AliMUONSegmentIndex();
-  AliMUONSegmentIndex(const Int_t channelId, const Int_t padX, const Int_t padY, const Int_t cathode);
+  AliMUONSegmentIndex(Int_t channelId, Int_t padX, Int_t padY, Int_t cathode);
   virtual ~AliMUONSegmentIndex();
   
 
index 8e068f9a5dad59361202531b83bb734d2121046b..28e13fe2fefbbe686cbea9fde228ecc09f274cac 100644 (file)
@@ -44,7 +44,7 @@ AliMUONSegmentManuIndex::AliMUONSegmentManuIndex()
   fManuChannelId= 0;; 
 }
 //___________________________________________
-AliMUONSegmentManuIndex::AliMUONSegmentManuIndex(const Int_t channelId, const Int_t manuId, const Int_t busPatchId,  Int_t manuChannelId) : TNamed()
+AliMUONSegmentManuIndex::AliMUONSegmentManuIndex(Int_t channelId, Int_t manuId, Int_t busPatchId,  Int_t manuChannelId) : TNamed()
 {  
   // Constructor to be used
   fName = Name(manuId, manuChannelId).Data();
index 5a5633969d47fdc0bcc6a90a7e8c40c38252acaa..06e46d32bef805618cec3345614291b0df2d98af 100644 (file)
@@ -22,7 +22,7 @@ class TString;
 class AliMUONSegmentManuIndex : public TNamed {
  public:
   AliMUONSegmentManuIndex();
-  AliMUONSegmentManuIndex(const Int_t channelId, const Int_t manuId, const Int_t busPatchId, const Int_t manuChannelId);
+  AliMUONSegmentManuIndex(Int_t channelId, Int_t manuId, Int_t busPatchId, Int_t manuChannelId);
 
   virtual ~AliMUONSegmentManuIndex();
 
index c3b52e3b9481905537c484f2b55fd8ba1dd9f23b..32af27e0174b4a66772d53188c011f3d4d422e94 100644 (file)
@@ -45,7 +45,7 @@ AliMUONSegmentPosition::AliMUONSegmentPosition() : TNamed()
   fY = 0.;  
 }
 //___________________________________________
-AliMUONSegmentPosition::AliMUONSegmentPosition(const Int_t channelId, const Float_t x, const Float_t y, const Int_t cathode) : TNamed()
+AliMUONSegmentPosition::AliMUONSegmentPosition(Int_t channelId, Float_t x, Float_t y, Int_t cathode) : TNamed()
 {
   // Constructor to be used
   fName = Name(x,y,cathode);
index 7bdc6dc99aed0ea48927267af38c25ef3a527e9b..47b5b2a5e5d8d0e223683890143fd1594914a306 100644 (file)
@@ -23,7 +23,7 @@ class AliMUONSegmentPosition : public TNamed
 {
  public:
     AliMUONSegmentPosition();
-    AliMUONSegmentPosition(const Int_t channelId, const Float_t x, const  Float_t y, const Int_t cathode);
+    AliMUONSegmentPosition(Int_t channelId, Float_t x, Float_t y, Int_t cathode);
     virtual ~AliMUONSegmentPosition();
       
     Int_t   Compare(const TObject *obj) const;
index 8fa6986e9264f7ccc3ec9aa3a48d1abadce0fa74..594d4a4092db4a460d19d7a3a58ea5028191fd30 100644 (file)
@@ -29,7 +29,7 @@ class AliMUONTriggerTrack : public TObject
     Float_t GetThetax() const {return fthetax;}
     Float_t GetThetay() const {return fthetay;}    
 
-    void SetGTPattern(const Long_t pat) {fGTPattern = pat;}    
+    void SetGTPattern(Long_t pat) {fGTPattern = pat;}    
     Long_t GetGTPattern() const {return fGTPattern;}    
     
 protected:
index 16a4ed8edcceb8c2590800e58f74919f0fff2734..2018c75bf03b26287527e21eefe91214c4f92b01 100755 (executable)
@@ -21,7 +21,7 @@ class AliMpSectorPadIterator : public AliMpVPadIterator
 {
   public:
     AliMpSectorPadIterator();
-    AliMpSectorPadIterator(const AliMpSector* const sector);
+    AliMpSectorPadIterator(const AliMpSector* sector);
     AliMpSectorPadIterator(const AliMpSectorPadIterator& src);
     virtual ~AliMpSectorPadIterator();
 
index d6ecb18a79b344cbdbdf2f5d2cd302305562feb2..6f6bf73190c02b6bdff1c438d52bfc8c0bc924b9 100644 (file)
@@ -73,7 +73,7 @@ public:
   virtual void SetCpvLogWeight(Float_t w)                { fW0CPV = w ; }
   virtual void SetUnfolding(Bool_t toUnfold = kTRUE )    { fToUnfold = toUnfold ;}
   //Switch to "on flyght" mode, without writing to TreeR and file  
-  void SetWriting(const Bool_t toWrite = kFALSE){fWrite = toWrite;} 
+  void SetWriting(Bool_t toWrite = kFALSE){fWrite = toWrite;} 
   static Double_t ShowerShape(Double_t r) ; // Shape of EM shower used in unfolding; 
                                             //class member function (not object member function)
   static void UnfoldingChiSquare(Int_t & nPar, Double_t * Grad, Double_t & fret, Double_t * x, Int_t iflag)  ;
index 22cd18e0c5d178c60174868baf5eaca581b88402..3a31593478a952e22c5347e7fe06f82d7d862cd6 100644 (file)
@@ -462,7 +462,7 @@ void AliPHOSGeometry::RelPosInAlice(Int_t id, TVector3 & pos ) const
 } 
 
 //____________________________________________________________________________
-void AliPHOSGeometry::RelPosToAbsId(const Int_t module, const Double_t x, const Double_t z, Int_t & AbsId) const
+void AliPHOSGeometry::RelPosToAbsId(Int_t module, Double_t x, Double_t z, Int_t & AbsId) const
 {
   // converts local PHOS-module (x, z) coordinates to absId 
   Int_t relid[4] ;
index 015a9f755655288537ac700d83d708b7bbb70101..d69820feea8045850780a2d093b7bbe2a890a878 100644 (file)
@@ -77,7 +77,7 @@ public:
                                          // gets the position of element (pad or Xtal) relative to Alice
   Bool_t RelToAbsNumbering(const Int_t * RelId, Int_t & AbsId) const ;         
                                          // converts the absolute PHOS numbering to a relative 
-  void  RelPosToAbsId(const Int_t module, const Double_t x, const Double_t z, Int_t & AbsId) const; 
+  void  RelPosToAbsId(Int_t module, Double_t x, Double_t z, Int_t & AbsId) const; 
                                          // converts local PHOS-module (x, z) coordinates to absId 
 
   Bool_t IsInitialized(void)                  const { return fgInit ; }  
index eb2c5d1a7211d9f85392abafd80122c44cfd44e1..863b0a72e808fc1934da5c11b9af06969bb56c6c 100644 (file)
@@ -78,7 +78,7 @@ public:
   void SetParameterPi0Boundary   (Int_t i, Float_t param);
 
   //Switch to "on flyght" mode, without writing to TreeR and file  
-  void SetWriting(const Bool_t toWrite = kFALSE){fWrite = toWrite;} 
+  void SetWriting(Bool_t toWrite = kFALSE){fWrite = toWrite;} 
   void Print() const ; 
 
   virtual const char * Version() const { return "pid-v1" ; }  
index 85ed683f4141d42beb8097d0aaed700f461b0a45..c26232291741183af64f7d28cc0b944a8f03ca15 100644 (file)
@@ -47,7 +47,7 @@ public:
           void   MakePairs() ;           //Finds pairs(triplets) with smallest link
   virtual void   Print() const ;
   //Switch to "on flyght" mode, without writing to TreeR and file  
-  void SetWriting(const Bool_t toWrite = kFALSE){fWrite = toWrite;} 
+  void SetWriting(Bool_t toWrite = kFALSE){fWrite = toWrite;} 
   virtual void   SetMaxEmcCPVDistance(Float_t r){ fRcpv = r ;} //Maximal distance (in PHOS plane) 
                                                                //between EMCrp and CPVrp
   virtual void   SetMaxCPVTPCDistance(Float_t r){ fRtpc = r ;} //Maximal distance