]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/PHOS/ana/IMT/AliHLTPHOSModuleXCoordinate.cxx
removing obsolete classes from build system
[u/mrichter/AliRoot.git] / HLT / PHOS / ana / IMT / AliHLTPHOSModuleXCoordinate.cxx
CommitLineData
1b41ab20 1// $Id$
2
11c4db52 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 *
7 * *
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 *
11 * *
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 "AliHLTPHOSModuleXCoordinate.h"
21#include "AliHLTPHOSConstants.h"
22#include "Rtypes.h"
23#include <iostream>
24
25using namespace PhosHLTConst;
26using namespace std;
27
28AliHLTPHOSModuleXCoordinate::AliHLTPHOSModuleXCoordinate(int x) : fX(x)
29{
30 // SetX(x);
31}
32
33
34AliHLTPHOSModuleXCoordinate::AliHLTPHOSModuleXCoordinate() : fX(0)
35{
36 //never to be called
37}
38
39
40
41AliHLTPHOSModuleXCoordinate::~AliHLTPHOSModuleXCoordinate()
42{
43
44}
45
46
47void
48AliHLTPHOSModuleXCoordinate::SetX(int x)
49{
50 if( (x >= 0) && (x < N_XCOLUMNS_MOD) )
51 {
52 fX = x;
53 }
54 else
55 {
56 cout << "ERROR, x value out of range" << endl;
57 cout << "Attemt to set x to " << x <<endl;
58 cout << "Allowd arne is " << 0 << " to " << N_XCOLUMNS_MOD <<endl;
59 }
60
61}
62
63
64
65int
66AliHLTPHOSModuleXCoordinate::GetX()
67{
68 return fX;
69}