}
//-------------------------------------------------------------------------
-UShort_t AliTOFClusterFinder::GetClusterVolIndex(Int_t *ind) const {
+UShort_t AliTOFClusterFinder::GetClusterVolIndex(const Int_t * const ind) const {
//First of all get the volume ID to retrieve the l2t transformation...
//
void SetVerbose(Int_t Verbose){fVerbose=Verbose;} // To set the verbose level
void SetDecoderVersion(Int_t version){fDecoderVersion=version;} // To set the decoder version
Bool_t GetDecoderVersion() const {return fDecoderVersion;} // To get the decoder version
- UShort_t GetClusterVolIndex(Int_t *ind) const; //Volume Id getter
+ UShort_t GetClusterVolIndex(const Int_t * const ind) const; //Volume Id getter
void GetClusterPars(Int_t *ind, Double_t *pos, Double_t *cov) const; //cluster par getter
protected:
}
////////////////////////////////////////////////////////////////////////
-Int_t AliTOFDigitMap::CheckedIndex(Int_t *vol) const
+Int_t AliTOFDigitMap::CheckedIndex(Int_t * const vol) const
{
//
// Return checked index for vol
private:
// Check index
- Int_t CheckedIndex(Int_t *vol) const;
+ Int_t CheckedIndex(Int_t * const vol) const;
Int_t fNSector; // Number of sectors
Int_t fNplate; // Number of plates
}
////////////////////////////////////////////////////////////////////////
-Int_t AliTOFHitMap::CheckedIndex(Int_t *vol) const
+Int_t AliTOFHitMap::CheckedIndex(Int_t * const vol) const
{
//
// Return checked indices for vol
private:
// Check index
- Int_t CheckedIndex(Int_t *vol) const;
+ Int_t CheckedIndex(Int_t * const vol) const;
private:
Int_t fNSector; // Number of sectors
Int_t fNplate; // Number of plates
}
////////////////////////////////////////////////////////////////////////
-Int_t AliTOFRawMap::CheckedIndex(Int_t *slot) const
+Int_t AliTOFRawMap::CheckedIndex(const Int_t * const slot) const
{
//
// Return checked indices for vol
private:
// Check index
- Int_t CheckedIndex(Int_t *slot) const;
+ Int_t CheckedIndex(const Int_t * const slot) const;
private:
Int_t fNtrm; // Number of TRM
Int_t fNtrmChain; // Number of TRM chains per TRM
}
////////////////////////////////////////////////////////////////////////
-AliTOFSDigit::AliTOFSDigit(Int_t tracknum, Int_t *vol,Int_t *digit):
+AliTOFSDigit::AliTOFSDigit(Int_t tracknum, Int_t * const vol,Int_t * const digit):
TObject(),
fSector(-1),
fPlate(-1),
}
////////////////////////////////////////////////////////////////////////
-void AliTOFSDigit::Update(AliTOFSDigit* sdig)
+void AliTOFSDigit::Update(AliTOFSDigit * const sdig)
{
//
public:
AliTOFSDigit();
- AliTOFSDigit(Int_t tracknum, Int_t* vol, Int_t* digit);
+ AliTOFSDigit(Int_t tracknum, Int_t * const vol, Int_t * const digit);
// new ctor for sdigits
AliTOFSDigit(Int_t sector, Int_t plate, Int_t strip, Int_t padx, Int_t padz, Int_t tdc, Int_t adc);
// copy ctor
Int_t GetTotPad() const;
void Update(Float_t tdcbin, Int_t tdc, Int_t adc, Int_t track);
- void Update(AliTOFSDigit* sdig);
+ void Update(AliTOFSDigit * const sdig);
// getters for AliTOFSDigit object
Int_t GetNDigits() const {return fNDigits;}
Float_t x, Float_t y, Float_t z,
Float_t sx2, Float_t sxy, Float_t sxz,
Float_t sy2, Float_t syz,
- Float_t sz2, Int_t *lab, Int_t *ind, Int_t *par, Bool_t status, Int_t idx):
+ Float_t sz2,
+ Int_t *lab, Int_t * const ind,
+ Int_t *par, Bool_t status, Int_t idx):
AliCluster3D(volId,x,y,z,sx2,sxy,sxz,sy2,syz,sz2,lab),
fIdx(idx),
fQuality(-100),
Float_t sx2, Float_t sxy, Float_t sxz,
Float_t sy2, Float_t syz,
Float_t sz2,
- Int_t *lab, Int_t *ind, Int_t *par,
+ Int_t *lab, Int_t * const ind, Int_t *par,
Bool_t status, Int_t idx); // ctor
AliTOFcluster(const AliTOFcluster & cluster); // copy ctor
virtual ~AliTOFcluster(); // dtor
}
//______________________________________________________________________________
-ostream& operator << (ostream& out, const AliTOFdigit &digit)
+ostream& operator << (ostream & out, const AliTOFdigit &digit)
{
//
// Output streamer: output of the digit data
class AliTOFdigit : public AliDigit {
//overloading of the streamer << operator
- friend ostream& operator << ( ostream& , const AliTOFdigit&) ;
+ friend ostream& operator << (ostream &, const AliTOFdigit&) ;
public:
AliTOFdigit();
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * *
+ * Author: The ALICE Off-line Project. *
+ * Contributors are mentioned in the code where appropriate. *
+ * *
+ * Permission to use, copy, modify and distribute this software and its *
+ * documentation strictly for non-commercial purposes is hereby granted *
+ * without fee, provided that the above copyright notice appears in all *
+ * copies and that both the copyright notice and this permission notice *
+ * appear in the supporting documentation. The authors make no claims *
+ * about the suitability of this software for any purpose. It is *
+ * provided "as is" without express or implied warranty. *
+ **************************************************************************/
+
//_________________________________________________________________________
// TOF hit : member variables
// fTrack :
-/**************************************************************************
- * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
- * *
- * Author: The ALICE Off-line Project. *
- * Contributors are mentioned in the code where appropriate. *
- * *
- * Permission to use, copy, modify and distribute this software and its *
- * documentation strictly for non-commercial purposes is hereby granted *
- * without fee, provided that the above copyright notice appears in all *
- * copies and that both the copyright notice and this permission notice *
- * appear in the supporting documentation. The authors make no claims *
- * about the suitability of this software for any purpose. It is *
- * provided "as is" without express or implied warranty. *
- **************************************************************************/
-
#include "AliTOFhit.h"
ClassImp(AliTOFhit)
}
//______________________________________________________________________________
-AliTOFhit::AliTOFhit(Int_t shunt, Int_t track, Int_t *vol,
- Float_t *hits)
+AliTOFhit::AliTOFhit(Int_t shunt, Int_t track, Int_t * const vol,
+ Float_t * const hits)
:AliHit(shunt, track),
fSector(-1),
fPlate(-1),
public:
AliTOFhit();
- AliTOFhit(Int_t shunt, Int_t track, Int_t* vol,
- Float_t *hits);
+ AliTOFhit(Int_t shunt, Int_t track, Int_t * const vol,
+ Float_t * const hits);
AliTOFhit(const AliTOFhit & hit) ;
virtual ~AliTOFhit() {}
// getters for AliTOFhit object