* provided "as is" without express or implied warranty. *
**************************************************************************/
-/*
-$Log$
-Revision 1.8 2002/03/28 14:59:07 cblume
-Coding conventions
-
-Revision 1.7 2001/12/05 15:04:34 hristov
-Changes related to the corrections of AliRecPoint
-
-Revision 1.6 2001/02/14 18:22:26 cblume
-Change in the geometry of the padplane
-
-Revision 1.5 2000/11/14 14:40:27 cblume
-Correction for the Sun compiler (kTRUE and kFALSE)
-
-Revision 1.4 2000/11/01 14:53:21 cblume
-Merge with TRD-develop
-
-Revision 1.1.4.2 2000/10/04 16:34:58 cblume
-Replace include files by forward declarations
-
-Revision 1.1.4.1 2000/09/22 14:50:39 cblume
-Adapted to tracking code
-
-Revision 1.3 2000/06/09 11:10:07 cblume
-Compiler warnings and coding conventions, next round
-
-Revision 1.2 2000/06/08 18:32:58 cblume
-Make code compliant to coding conventions
-
-Revision 1.1 2000/02/28 19:02:07 cblume
-Add new TRD classes
-
-*/
+/* $Id$ */
///////////////////////////////////////////////////////////////////////////////
// //
#include "AliTRDgeometry.h"
#include "AliTRDrecPoint.h"
-#include "AliTRD.h"
ClassImp(AliTRDrecPoint)
fDetector = 0;
- AliTRD *trd;
- if ((gAlice) &&
- (trd = ((AliTRD*) gAlice->GetDetector("TRD")))) {
- fGeom = trd->GetGeometry();
- }
- else {
- fGeom = NULL;
- }
+ fGeom = AliTRDgeometry::GetGeometry();
}
fDetector = 0;
- AliTRD *trd;
- if ((gAlice) &&
- (trd = ((AliTRD*) gAlice->GetDetector("TRD")))) {
- fGeom = trd->GetGeometry();
- }
- else {
- fGeom = NULL;
- }
+ fGeom = AliTRDgeometry::GetGeometry();
}
// Increase the size of the list if necessary
if (fMulDigit >= fMaxDigit) {
fMaxDigit *= 2;
- int *tempo = new (int[fMaxDigit]);
+ int *tempo = new int[fMaxDigit];
Int_t index;
for (index = 0; index < fMulDigit; index++)
tempo[index] = fDigitsList[index];
}
//_____________________________________________________________________________
-void AliTRDrecPoint::SetLocalPosition(TVector3 &pos)
+void AliTRDrecPoint::SetLocalPosition(TVector3 & /*pos*/)
{
//
// Sets the position of the point in the local coordinate system
}
//_____________________________________________________________________________
-void AliTRDrecPoint::SetTrackingYZ(Float_t sigmaY, Float_t sigmaZ)
+void AliTRDrecPoint::SetTrackingYZ(Float_t /*sigmaY*/, Float_t /*sigmaZ*/)
{
//
// Sets the position of the point in the local coordinate system