{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;}
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;
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);
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
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();
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:
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();
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);