]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Coding conventions
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 15 Jun 2004 15:26:42 +0000 (15:26 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 15 Jun 2004 15:26:42 +0000 (15:26 +0000)
HLT/hough/AliL3HoughBaseTransformer.h
HLT/hough/AliL3HoughClusterTransformer.cxx
HLT/hough/AliL3HoughClusterTransformer.h
HLT/hough/AliL3HoughTransformer.cxx
HLT/hough/AliL3HoughTransformer.h
HLT/hough/AliL3HoughTransformerRow.cxx
HLT/hough/AliL3HoughTransformerRow.h

index 8646c8aeb7219182b4794b13940c2aebac9fe34d..d9146ce841cd2ed8ab1b6c3e7b3d96216769d3ca 100644 (file)
@@ -62,14 +62,14 @@ class AliL3HoughBaseTransformer {
       {STDCERR<<"TransformLineC is not defined for this Transformer!"<<STDENDL;}
 
   //Getters
-  Int_t GetSlice() {return fSlice;}
-  Int_t GetPatch() {return fPatch;}
-  Int_t GetNEtaSegments() {return fNEtaSegments;}
-  Int_t GetLowerThreshold() {return fLowerThreshold;}
-  Int_t GetUpperThreshold() {return fUpperThreshold;}
-  Double_t GetEtaMin() {return fEtaMin;}
-  Double_t GetEtaMax() {return fEtaMax;}
-  Float_t GetZVertex() {return fZVertex;}
+  Int_t GetSlice() const {return fSlice;}
+  Int_t GetPatch() const {return fPatch;}
+  Int_t GetNEtaSegments() const {return fNEtaSegments;}
+  Int_t GetLowerThreshold() const {return fLowerThreshold;}
+  Int_t GetUpperThreshold() const {return fUpperThreshold;}
+  Double_t GetEtaMin() const {return fEtaMin;}
+  Double_t GetEtaMax() const {return fEtaMax;}
+  Float_t GetZVertex() const {return fZVertex;}
 
   AliL3DigitRowData *GetDataPointer() {return fDigitRowData;}
  
@@ -77,7 +77,7 @@ class AliL3HoughBaseTransformer {
   virtual void GetEtaIndexes(Double_t /*eta*/,Int_t */*indexes*/)
     {STDCERR<<"GetEtaIndexes not implemented for this Transformer class"<<STDENDL;}
   virtual AliL3Histogram *GetHistogram(Int_t eta_index) = 0;
-  virtual Double_t GetEta(Int_t eta_index,Int_t slice) = 0;
+  virtual Double_t GetEta(Int_t eta_index,Int_t slice) const = 0;
 
   virtual Int_t GetTrackID(Int_t /*eta_index*/,Double_t /*kappa*/,Double_t /*psi*/){
     STDCERR<<"GetTrackID not implemented for this Transformer class"<<STDENDL; 
index ec5b30ae214e111e35dc70adf12401449451c611..2784bda3dd30d9ee858fbb60106f31f37ff22b44 100644 (file)
@@ -168,7 +168,7 @@ inline AliL3Histogram *AliL3HoughClusterTransformer::GetHistogram(Int_t eta_inde
   return fParamSpace[eta_index];
 }
 
-Double_t AliL3HoughClusterTransformer::GetEta(Int_t eta_index,Int_t slice)
+Double_t AliL3HoughClusterTransformer::GetEta(Int_t eta_index,Int_t slice) const
 {
   Double_t eta_slice = (GetEtaMax()-GetEtaMin())/GetNEtaSegments();
   Double_t eta=(Double_t)((eta_index+0.5)*eta_slice);
index d102dadba06b1e4c7ddc79e19f84974ce5e57a1c..cee1a770a91b0c5918b02b7ca5eaae6404b8b9db 100644 (file)
@@ -40,7 +40,7 @@ class AliL3HoughClusterTransformer : public AliL3HoughBaseTransformer {
   
   Int_t GetEtaIndex(Double_t eta);
   AliL3Histogram *GetHistogram(Int_t eta_index);
-  Double_t GetEta(Int_t eta_index,Int_t slice);
+  Double_t GetEta(Int_t eta_index,Int_t slice) const;
   Int_t GetTrackID(Int_t eta_index,Double_t kappa,Double_t psi);
 
   ClassDef(AliL3HoughClusterTransformer,1) //Normal Hough transformation class
index 883b05e68bed0e57bf24c0b54f0f82f2f7d74948..5aad5fc6fbabf9d06fcada8cc7a7956568de3522 100644 (file)
@@ -220,7 +220,7 @@ inline AliL3Histogram *AliL3HoughTransformer::GetHistogram(Int_t etaindex)
   return fParamSpace[etaindex];
 }
 
-Double_t AliL3HoughTransformer::GetEta(Int_t etaindex,Int_t /*slice*/)
+Double_t AliL3HoughTransformer::GetEta(Int_t etaindex,Int_t /*slice*/) const
 {
   // Return eta calculated in the middle of the eta slice
   Double_t etaslice = (GetEtaMax()-GetEtaMin())/GetNEtaSegments();
index 0c9ca856668264accdf24ee8437d7e07cb8e95cd..5c6cde2a155298dcc595609411ca1cd18f9dba2a 100644 (file)
@@ -28,7 +28,7 @@ class AliL3HoughTransformer : public AliL3HoughBaseTransformer {
   Int_t GetEtaIndex(Double_t eta);
   void GetEtaIndexes(Double_t eta,Int_t *indexes);
   AliL3Histogram *GetHistogram(Int_t etaindex);
-  Double_t GetEta(Int_t etaindex,Int_t slice);
+  Double_t GetEta(Int_t etaindex,Int_t slice) const;
   Int_t GetTrackID(Int_t etaindex,Double_t kappa,Double_t psi);
   
  private:
index 3fc92943e49bb7bd820b64cd02e4979e8dbc665f..9f51475a671b0da80aa9b7ecbdf46418d8a9d80e 100644 (file)
@@ -383,7 +383,7 @@ inline AliL3Histogram *AliL3HoughTransformerRow::GetHistogram(Int_t etaindex)
   return fParamSpace[etaindex];
 }
 
-Double_t AliL3HoughTransformerRow::GetEta(Int_t etaindex,Int_t /*slice*/)
+Double_t AliL3HoughTransformerRow::GetEta(Int_t etaindex,Int_t /*slice*/) const
 {
   // Return eta calculated in the middle of the eta slice
   Double_t etaslice = (GetEtaMax()-GetEtaMin())/GetNEtaSegments();
index 192d7d55aeda3a4546692633128f420ddc2d858d..04fb1aa5471b2c0f1e225b9a8537d148d1be5762 100644 (file)
@@ -29,7 +29,7 @@ class AliL3HoughTransformerRow : public AliL3HoughBaseTransformer {
 
   Int_t GetEtaIndex(Double_t eta);
   AliL3Histogram *GetHistogram(Int_t etaindex);
-  Double_t GetEta(Int_t etaindex,Int_t slice);
+  Double_t GetEta(Int_t etaindex,Int_t slice) const;
   Int_t GetTrackID(Int_t etaindex,Double_t kappa,Double_t psi);
   UChar_t *GetRowCount(Int_t etaindex);
   UChar_t *GetGapCount(Int_t etaindex);