3 /**************************************************************************
4 * This file is property of and copyright by the Experimental Nuclear *
5 * Physics Group, Dep. of Physics *
6 * University of Oslo, Norway, 2007 *
8 * Author: Per Thomas Hille <perthi@fys.uio.no> for the ALICE HLT Project.*
9 * Contributors are mentioned in the code where appropriate. *
10 * Please report bugs to perthi@fys.uio.no *
12 * Permission to use, copy, modify and distribute this software and its *
13 * documentation strictly for non-commercial purposes is hereby granted *
14 * without fee, provided that the above copyright notice appears in all *
15 * copies and that both the copyright notice and this permission notice *
16 * appear in the supporting documentation. The authors make no claims *
17 * about the suitability of this software for any purpose. It is *
18 * provided "as is" without express or implied warranty. *
19 **************************************************************************/
20 #include "AliHLTPHOSModuleZCoordinate.h"
21 #include "AliHLTPHOSConstants.h"
25 // const unsigned int N_ZROWS_MOD = 56; /**<Number of rows per module*/
26 // const unsigned int N_XCOLUMNS_MOD = 64;
28 using namespace PhosHLTConst;
32 AliHLTPHOSModuleZCoordinate::AliHLTPHOSModuleZCoordinate(int z) : fZ(0)
38 AliHLTPHOSModuleZCoordinate::AliHLTPHOSModuleZCoordinate() : fZ(0)
43 AliHLTPHOSModuleZCoordinate::~AliHLTPHOSModuleZCoordinate()
49 AliHLTPHOSModuleZCoordinate::SetZ(int z)
51 if( (z >= 0) && (z < N_ZROWS_MOD) )
57 cout << "ERROR, x value out of range" << endl;
58 cout << "Attemt to set z to " << z <<endl;
59 cout << "Allowd arne is " << 0 << " to " << N_ZROWS_MOD <<endl;
65 AliHLTPHOSModuleZCoordinate::GetZ()