]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Removing warnings (alpha)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 3 Feb 2004 09:43:15 +0000 (09:43 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 3 Feb 2004 09:43:15 +0000 (09:43 +0000)
ITS/AliITSclusterTable.cxx
ITS/AliITSclusterTable.h
ITS/AliITSgeom.h
ITS/AliITSgeomMatrix.cxx
ITS/AliITSgeomMatrix.h
ITS/AliITSpackageSSD.cxx
ITS/AliITSpackageSSD.h

index 0e52ed36346b8dc742f2f2edbb91b908fbb7d010..b19dc197e0e36fbf52dd2240c4d78086aa93dabe 100644 (file)
@@ -153,7 +153,7 @@ void AliITSclusterTable::FillArray(TTree* clusterTree,Int_t evnumber){
 }
 
 //_________________________________________________________________
-void AliITSclusterTable::FillArrayLabel(const Int_t numberofparticles,TTree* clusterTree,Int_t evnumber){
+void AliITSclusterTable::FillArrayLabel(Int_t numberofparticles,TTree* clusterTree,Int_t evnumber){
   //
 
 
index 0028f746ccfb8014f31d3bff72db6caa423ff230..ad3d7bce48ddb7f0cb70a2bdb51ebbeb9eb26e7f 100644 (file)
@@ -31,7 +31,7 @@ class AliITSclusterTable : public TObject {
   AliITSclusterTable();
   AliITSclusterTable(AliITSgeom* geom, AliITStrackerSA* tracker);
   void FillArray(TTree* clusterTree,Int_t evnumber=0);
-  void FillArrayLabel(const Int_t numberofparticles,TTree* clusterTree,
+  void FillArrayLabel(Int_t numberofparticles,TTree* clusterTree,
                      Int_t evnumber=0);
   virtual ~AliITSclusterTable();
 
index 02e89f02719be1b0d7fc1d9b6e51ddb95afbfa8f..dac7af04162b27a9068bdbb92cb54ef287ceea82 100644 (file)
@@ -226,7 +226,7 @@ class AliITSgeom : public TObject {
     // detector type based on AliITSDetector value. This will return a pointer
     // to one of the classes AliITSgeomSPD, AliITSgeomSDD, or AliITSgeomSSD,
     // for example.
-    virtual TObject *GetShape(const AliITSDetector idet)
+    virtual TObject *GetShape(AliITSDetector idet)
        {return fShape->At((Int_t)idet);};
     //     This function returns a pointer to the class describing the
     // detector for a particular module index. This will return a pointer
@@ -250,14 +250,14 @@ class AliITSgeom : public TObject {
     //     Sets the rotation angles and matrix for a give module index
     // via the 3 floating precision variables rx, ry, and rz [radians].
     void SetByAngles(Int_t index,
-                    const Float_t rx,const Float_t ry,const Float_t rz) {
+                    Float_t rx, Float_t ry, Float_t rz) {
                      Double_t a[3];a[0] = rx;a[1] = ry;a[2] = rz;
                      GetGeomMatrix(index)->SetAngles(a);}
     //     Sets the rotation angles and matrix for a give layer, ladder,
     // and detector numbers via the 3 floating precision variables rx,
     // ry, and rz [radians].
     void SetByAngles(Int_t lay,Int_t lad,Int_t det,
-                     const Float_t rx,const Float_t ry,const Float_t rz) {
+                     Float_t rx, Float_t ry, Float_t rz) {
                      SetByAngles(GetModuleIndex(lay,lad,det),rx,ry,rz);}
 //
     //     Sets the rotation angles and matrix for a give module index
index c3d932b5c3956a1108c7964a33d9cef0f0016a0f..40436bbf7f70d3a55ed3a1d15f0325660dc51bbd 100644 (file)
@@ -100,7 +100,7 @@ void AliITSgeomMatrix::operator=(const AliITSgeomMatrix &sourse){
        }// end for i
 }
 //----------------------------------------------------------------------
-AliITSgeomMatrix::AliITSgeomMatrix(const Int_t idt,const Int_t id[3],
+AliITSgeomMatrix::AliITSgeomMatrix(Int_t idt,const Int_t id[3],
                   const Double_t rot[3],const Double_t tran[3]){
 ////////////////////////////////////////////////////////////////////////
 // This is a constructor for the AliITSgeomMatrix class. The matrix is
@@ -132,7 +132,7 @@ AliITSgeomMatrix::AliITSgeomMatrix(const Int_t idt,const Int_t id[3],
     this->MatrixFromAngle();
 }
 //----------------------------------------------------------------------
-AliITSgeomMatrix::AliITSgeomMatrix(const Int_t idt, const Int_t id[3],
+AliITSgeomMatrix::AliITSgeomMatrix(Int_t idt, const Int_t id[3],
                                    Double_t matrix[3][3],
                                    const Double_t tran[3]){
 ////////////////////////////////////////////////////////////////////////
@@ -243,7 +243,7 @@ void AliITSgeomMatrix::MatrixFromSixAngles(const Double_t *ang){
 }
 //----------------------------------------------------------------------
 AliITSgeomMatrix::AliITSgeomMatrix(const Double_t rotd[6]/*degrees*/,
-                                   const Int_t idt,const Int_t id[3],
+                                   Int_t idt,const Int_t id[3],
                                   const Double_t tran[3]){
 ////////////////////////////////////////////////////////////////////////
 // This is a constructor for the AliITSgeomMatrix class. The matrix is
index a5ca9e8785b45a0d1288ccc976e4e061bdc4635f..6b783759b73ce47146f203cf9757f5d45ec935bd 100644 (file)
@@ -17,14 +17,14 @@ class AliITSgeomMatrix : public TObject {
  public:
        AliITSgeomMatrix(); // Default constructor
        // Standard constructor #1
-       AliITSgeomMatrix(const Int_t idt,const Int_t id[3],
+       AliITSgeomMatrix(Int_t idt,const Int_t id[3],
                         const Double_t rot[3],const Double_t tran[3]);
        // Standard constructor #2
-        AliITSgeomMatrix(const Int_t idt,const Int_t id[3],
+        AliITSgeomMatrix(Int_t idt,const Int_t id[3],
                         Double_t matrix[3][3],const Double_t tran[3]);
        // Standard constructor #3
         AliITSgeomMatrix(const Double_t rotd[6]/*degrees GEANT angles*/,
-                         const Int_t idt,const Int_t id[3],
+                         Int_t idt,const Int_t id[3],
                          const Double_t tran[3]);
        // Copy operator
        AliITSgeomMatrix(const AliITSgeomMatrix &source);
@@ -56,7 +56,7 @@ class AliITSgeomMatrix : public TObject {
        void SetMatrix(Double_t matrix[3][3]){ for(Int_t i=0;i<3;i++)
         for(Int_t j=0;j<3;j++) fm[i][j]=matrix[i][j];this->AngleFromMatrix();}
        // Sets the detector index value
-       void SetDetectorIndex(const Int_t idt) {fDetectorIndex = idt;}
+       void SetDetectorIndex(Int_t idt) {fDetectorIndex = idt;}
        // Sets the detector layer, ladder, detector (id) values.
        void SetIndex(const Int_t id[3]){
                           for(Int_t i=0;i<3;i++) fid[i] = id[i];}
index 58c52e09dcef6eaf2d9b1febd5e3e19260a41f32..0b3c1444a3d24d7c9de345f5b2c678e5a81c7eb5 100644 (file)
@@ -148,7 +148,7 @@ AliITSpackageSSD::operator=( const AliITSpackageSSD & package)
 
 /*******************************************************/
 
-Int_t AliITSpackageSSD::GetNSideClusterIdx(const Int_t index) const
+Int_t AliITSpackageSSD::GetNSideClusterIdx(Int_t index) const
 {
   // get N-side cluster
   // 
@@ -163,7 +163,7 @@ Int_t AliITSpackageSSD::GetNSideClusterIdx(const Int_t index) const
 /*******************************************************/
 
 
-Int_t AliITSpackageSSD::GetPSideClusterIdx(const Int_t index) const
+Int_t AliITSpackageSSD::GetPSideClusterIdx(Int_t index) const
 {
   // get P-side cluster
   //
@@ -177,7 +177,7 @@ Int_t AliITSpackageSSD::GetPSideClusterIdx(const Int_t index) const
 }
 /*******************************************************/
 AliITSclusterSSD*  
-AliITSpackageSSD::GetPSideCluster(const Int_t index)
+AliITSpackageSSD::GetPSideCluster(Int_t index)
 {
   // get Pside cluster from the TClonesArray of SSD clusters
   //
@@ -187,7 +187,7 @@ AliITSpackageSSD::GetPSideCluster(const Int_t index)
 /*******************************************************/
 
 AliITSclusterSSD*  
-AliITSpackageSSD::GetNSideCluster(const Int_t index)
+AliITSpackageSSD::GetNSideCluster(Int_t index)
 {
   // get Nside cluster from the TClonesArray of SSD clusters
   //
@@ -501,7 +501,7 @@ void  AliITSpackageSSD::MakeCombin
 }
 
 /**********************************************/
-Bool_t  AliITSpackageSSD::IsFree(const Int_t idx, const Int_t nn, const Int_t *lis) const
+Bool_t  AliITSpackageSSD::IsFree(Int_t idx, Int_t nn, const Int_t *lis) const
 {
   // 
   for (Int_t i=0;i<nn;i++)
index fe17fad93d6469d7b4b40e4de2f147368b600a86..5060e11024ad7ddf8a4a2b3ac13a63cfa495c14a 100644 (file)
@@ -37,13 +37,13 @@ class AliITSpackageSSD : public TObject
                    clindex:(*fClusterPIndexes)[fNclustersP++]=clindex;}
        
 //Returns index of one side cluster in TClonesArray, NOT AliITSclusterSSD
-  Int_t    GetNSideClusterIdx(const Int_t index) const; //input index is number of cluster in this package 
-  Int_t    GetPSideClusterIdx(const Int_t index) const; //returns index in TClonesArray
+  Int_t    GetNSideClusterIdx(Int_t index) const; //input index is number of cluster in this package 
+  Int_t    GetPSideClusterIdx(Int_t index) const; //returns index in TClonesArray
   Int_t    GetClusterIdx(Int_t index,Bool_t side) const 
                {return (side)?GetPSideClusterIdx(index):GetNSideClusterIdx(index);}
  
-  AliITSclusterSSD*    GetNSideCluster(const Int_t index);
-  AliITSclusterSSD*    GetPSideCluster(const Int_t index); //index is 
+  AliITSclusterSSD*    GetNSideCluster(Int_t index);
+  AliITSclusterSSD*    GetPSideCluster(Int_t index); //index is 
   AliITSclusterSSD*    GetCluster(Int_t index, Bool_t side)
                {return (side)?GetPSideCluster(index):GetNSideCluster(index);}
                        
@@ -55,7 +55,7 @@ class AliITSpackageSSD : public TObject
   Int_t    GetNumOfClustersN() const {return fNclustersN;}  
   Int_t    GetNumOfClustersP() const {return fNclustersP;}   
   Int_t    GetNumOfClusters() const {return fNclustersP+fNclustersN;}  
-  Int_t    GetNumOfClusters(const Bool_t side) const {return (side)?fNclustersP:fNclustersN;}
+  Int_t    GetNumOfClusters(Bool_t side) const {return (side)?fNclustersP:fNclustersN;}
   
   //returns number of clusters belonging to package,
   //that crosses with only one cluster on the other side 
@@ -96,7 +96,7 @@ protected:
 
   
   void    MakeCombin(Int_t**arr, Int_t& nu, Int_t np, Int_t *occup,Int_t size);
-  Bool_t  IsFree(const Int_t idx, const Int_t nn, const Int_t *lis) const;
+  Bool_t  IsFree(Int_t idx, Int_t nn, const Int_t *lis) const;