]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSMapA2.cxx
renamed CorrectionMatrix class
[u/mrichter/AliRoot.git] / ITS / AliITSMapA2.cxx
index 74f6e4ad513f697664be1ca471076cfde864bd76..83fbbfbe3f4c7d0692316dfd70b4f1ee21c0e770 100644 (file)
 
 #include <TH1.h>
 #include <TObjArray.h>
-#include <TMath.h>
 
 #include "AliITSMapA2.h"
 #include "AliITSsegmentation.h"
-#include "AliITSresponse.h"
 #include "AliITSdigit.h"
 
 ////////////////////////////////////////////////////////////////////////
@@ -158,7 +156,7 @@ void AliITSMapA2::FlagHit(Int_t iz, Int_t ix){
                 -1000.*TMath::Abs((Int_t)(fHitMapD[CheckedIndex(iz, ix)])+1.);
 }
 //______________________________________________________________________
-TObject* AliITSMapA2::GetHit(Int_t i, Int_t dummy){
+TObject* AliITSMapA2::GetHit(Int_t i, Int_t dummy) const {
   //return a pointer to the 1D histogram
 
     dummy = 0; // added to remove unused variable warning.
@@ -167,7 +165,7 @@ TObject* AliITSMapA2::GetHit(Int_t i, Int_t dummy){
     } else return NULL;
 }
 //______________________________________________________________________
-Double_t AliITSMapA2::GetSignal(Int_t index){
+Double_t AliITSMapA2::GetSignal(Int_t index) const {
     //get signal in a cell 
 
     if (index<fMaxIndex) return (index <0) ? 0. : fHitMapD[index];