1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
16 //_________________________________________________________________________
17 // PHOSRecPoint base class deriving from AliRecPoint
18 //*-- Author : Gines MARTINEZ SUBATECH
19 //////////////////////////////////////////////////////////////////////////////
21 // --- ROOT system ---
23 // --- Standard library ---
25 // --- AliRoot header files ---
27 #include "AliPHOSGeometry.h"
28 #include "AliPHOSDigit.h"
29 #include "AliPHOSRecPoint.h"
31 ClassImp(AliPHOSRecPoint)
34 //____________________________________________________________________________
35 AliPHOSRecPoint::AliPHOSRecPoint()
38 fGeom = AliPHOSGeometry::GetInstance() ;
42 //____________________________________________________________________________
43 AliPHOSRecPoint::~AliPHOSRecPoint()
48 //____________________________________________________________________________
49 Int_t AliPHOSRecPoint::GetPHOSMod()
51 if(fPHOSMod > 0) return fPHOSMod ;
54 AliPHOSDigit * digit ;
55 digit = (AliPHOSDigit *) fDigitsList[0] ;
56 AliPHOSGeometry * PHOSGeom = (AliPHOSGeometry *) fGeom ;
58 PHOSGeom->AbsToRelNumbering(digit->GetId(), relid) ;