]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Removing meaningless const (icc)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 7 Apr 2006 16:42:40 +0000 (16:42 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 7 Apr 2006 16:42:40 +0000 (16:42 +0000)
TRD/AliTRDmcm.h
TRD/AliTRDtrigParam.h

index cea636186fdaa91885b08b2cb5f4c50db4d0bd58..a93e880580b00ea800e7f25ffefd12e6959d418e 100644 (file)
@@ -22,7 +22,7 @@ class AliTRDmcm : public TObject {
   enum { kMaxTrackletsPerMCM = 4, kMcmCol = 21, kMcmTBmax = 60, kSelClus = 6, kMaxClus = 4 };
 
   AliTRDmcm();
-  AliTRDmcm(AliTRDtrigParam *trigp, const Int_t id);
+  AliTRDmcm(AliTRDtrigParam *trigp, Int_t id);
   virtual ~AliTRDmcm();
   AliTRDmcm &operator=(const AliTRDmcm &m);
   virtual void Copy(TObject &m) const;
@@ -31,28 +31,28 @@ class AliTRDmcm : public TObject {
   Int_t  *GetTrkIndex()                                   { return &fTrkIndex[0]; };
   Int_t   GetRobId()                                const { return fRobId; };
   Int_t   GetChaId()                                const { return fChaId; };
-  void    SetRobId(const Int_t id)                        { fRobId = id; };
-  void    SetChaId(const Int_t id)                        { fChaId = id; };
-  void    SetRow(const Int_t row)                         { fRow = row; };
+  void    SetRobId(Int_t id)                        { fRobId = id; };
+  void    SetChaId(Int_t id)                        { fChaId = id; };
+  void    SetRow(Int_t row)                         { fRow = row; };
   Int_t   GetRow()                                  const { return fRow; };
-  void    SetColRange(const Int_t colf, const Int_t coll) { fColFirst = colf; fColLast = coll; };
+  void    SetColRange(Int_t colf, Int_t coll) { fColFirst = colf; fColLast = coll; };
   void    GetColRange(Int_t &colf, Int_t &coll)     const { colf = fColFirst; coll = fColLast; };
-  void    AddTrk(const Int_t id);
-  void    SetADC(const Int_t icol, const Int_t itb, const Float_t adc) 
+  void    AddTrk(Int_t id);
+  void    SetADC(Int_t icol, Int_t itb, Float_t adc) 
     { fADC[icol][itb] = adc; };
-  Float_t GetADC(const Int_t icol, const Int_t itb) const { return fADC[icol][itb]; };
+  Float_t GetADC(Int_t icol, Int_t itb) const { return fADC[icol][itb]; };
   void    Reset();
   Bool_t  Run();
-  void    SetCluster(const Int_t icol, const Int_t itb)      { fIsClus[icol][itb] = kTRUE; };
-  void    UnSetCluster(const Int_t icol, const Int_t itb)    { fIsClus[icol][itb] = kFALSE; };
+  void    SetCluster(Int_t icol, Int_t itb)      { fIsClus[icol][itb] = kTRUE; };
+  void    UnSetCluster(Int_t icol, Int_t itb)    { fIsClus[icol][itb] = kFALSE; };
   Bool_t  IsCluster(Float_t amp[3]) const;
-  void    AddTimeBin(const Int_t itime);
+  void    AddTimeBin(Int_t itime);
   Int_t   CreateSeeds();
-  void    Sort(const Int_t nel, Int_t *x1, Int_t *x2, Int_t dir);
+  void    Sort(Int_t nel, Int_t *x1, Int_t *x2, Int_t dir);
   Int_t   GetNtrkSeeds()                     const { return fNtrkSeeds; };
   Int_t  *GetSeedCol()                             { return &fSeedCol[0]; };
   Int_t  *GetPadHits()                             { return &fPadHits[0]; };
-  Bool_t  IsCluster(const Int_t icol, const Int_t itim) const { return fIsClus[icol][itim]; };
+  Bool_t  IsCluster(Int_t icol, Int_t itim) const { return fIsClus[icol][itim]; };
 
   void Filter(Int_t nexp, Int_t ftype = 0);
   void DeConvExpA(Double_t *source, Double_t *target, Int_t n, Int_t nexp);
index eb1d1512faf47549969b54bac608f948b64b5ed9..7825a6d8134d60ab0c5fa1ce33fdb6456bb38159 100644 (file)
@@ -24,15 +24,15 @@ class AliTRDtrigParam : public TNamed {
 
   void    Init();
 
-  void    SetTimeRange(const Int_t time1, const Int_t time2) { fTime1 = time1; fTime2 = time2; };
+  void    SetTimeRange(Int_t time1, Int_t time2) { fTime1 = time1; fTime2 = time2; };
   Int_t   GetTime1()                                   const { return fTime1; };
   Int_t   GetTime2()                                   const { return fTime2; };
-  void    SetClusThr(const Float_t clth)                     { fClusThr = clth; };
-  void    SetPadThr(const Float_t path)                      { fPadThr = path;  };
+  void    SetClusThr(Float_t clth)                     { fClusThr = clth; };
+  void    SetPadThr(Float_t path)                      { fPadThr = path;  };
   Float_t GetClusThr()                                 const { return fClusThr; };
   Float_t GetPadThr()                                  const { return fPadThr;  };
-  void    SetSum10(const Int_t sum)                          { fSum10 = sum; };
-  void    SetSum12(const Int_t sum)                          { fSum12 = sum; };
+  void    SetSum10(Int_t sum)                          { fSum10 = sum; };
+  void    SetSum12(Int_t sum)                          { fSum12 = sum; };
   Int_t   GetSum10()                                   const { return fSum10; };
   Int_t   GetSum12()                                   const { return fSum12; };
 
@@ -47,10 +47,10 @@ class AliTRDtrigParam : public TNamed {
   Int_t   GetFilterType()                            const { return fFilterType; };
   void    GetFilterParam(Float_t &r1, Float_t &r2, Float_t &c1, Float_t &c2, Float_t &ped) const { r1 = fR1; r2 = fR2; c1 = fC1; c2 = fC2; ped = fPedestal; };
 
-  void    SetADCnoise(const Float_t adcn)                  { fADCnoise = adcn; };
+  void    SetADCnoise(Float_t adcn)                  { fADCnoise = adcn; };
   Float_t GetADCnoise()                              const { return fADCnoise; };
 
-  void    SetDebugLevel(const Int_t deb) { fDebug = deb;  };
+  void    SetDebugLevel(Int_t deb) { fDebug = deb;  };
   Int_t   GetDebugLevel()          const { return fDebug; };
 
   void    SetDeltaY(Float_t dy) { fDeltaY = dy; };