X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TRD%2FAliTRDrecPoint.cxx;h=f9d367999aec4ba8f422c4cd6c195140ef1ec7e5;hb=03ecfe88df6e8f6f5d6d55ca60bc94ee3971b636;hp=5d153363da6470e19e5c012805ae6a7ac8bfd4a5;hpb=5443e65ea0e4ba7bbf3dd08d9893a31c9dd8a539;p=u%2Fmrichter%2FAliRoot.git diff --git a/TRD/AliTRDrecPoint.cxx b/TRD/AliTRDrecPoint.cxx index 5d153363da6..f9d367999ae 100644 --- a/TRD/AliTRDrecPoint.cxx +++ b/TRD/AliTRDrecPoint.cxx @@ -13,39 +13,7 @@ * 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$ */ /////////////////////////////////////////////////////////////////////////////// // // @@ -57,7 +25,6 @@ Add new TRD classes #include "AliTRDgeometry.h" #include "AliTRDrecPoint.h" -#include "AliTRD.h" ClassImp(AliTRDrecPoint) @@ -70,14 +37,7 @@ AliTRDrecPoint::AliTRDrecPoint():AliRecPoint() fDetector = 0; - AliTRD *trd; - if ((gAlice) && - (trd = ((AliTRD*) gAlice->GetDetector("TRD")))) { - fGeom = trd->GetGeometry(); - } - else { - fGeom = NULL; - } + fGeom = AliTRDgeometry::GetGeometry(); } @@ -90,14 +50,7 @@ AliTRDrecPoint::AliTRDrecPoint(const char * opt):AliRecPoint(opt) fDetector = 0; - AliTRD *trd; - if ((gAlice) && - (trd = ((AliTRD*) gAlice->GetDetector("TRD")))) { - fGeom = trd->GetGeometry(); - } - else { - fGeom = NULL; - } + fGeom = AliTRDgeometry::GetGeometry(); } @@ -128,7 +81,7 @@ void AliTRDrecPoint::AddDigit(Int_t digit) // Increase the size of the list if necessary if (fMulDigit >= fMaxDigit) { fMaxDigit *= 2; - int *tempo = new (int[fMaxDigit]); + Int_t *tempo = new Int_t[fMaxDigit]; Int_t index; for (index = 0; index < fMulDigit; index++) tempo[index] = fDigitsList[index]; @@ -141,7 +94,7 @@ void AliTRDrecPoint::AddDigit(Int_t digit) } //_____________________________________________________________________________ -void AliTRDrecPoint::SetLocalPosition(TVector3 &pos) +void AliTRDrecPoint::SetLocalPosition(TVector3 & /*pos*/) { // // Sets the position of the point in the local coordinate system @@ -175,7 +128,7 @@ void AliTRDrecPoint::SetLocalPosition(TVector3 &pos) } //_____________________________________________________________________________ -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