]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliEMCALAlignData.h
Removed loading non-existing library
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALAlignData.h
1 #ifndef ALIEMCALALIGNDATA_H
2 #define ALIEMCALALIGNDATA_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 /* $Id$ */
8
9 ////////////////////////////////////////////////
10 //  class for EMCAL alignment parameters       //
11 ////////////////////////////////////////////////
12
13 #include "TNamed.h"
14 #include "AliEMCAL.h"
15
16 class AliEMCALAlignData: public TNamed {
17
18  public:
19   AliEMCALAlignData();
20   AliEMCALAlignData(const char* name);
21   AliEMCALAlignData(const AliEMCALAlignData &alignda);
22   AliEMCALAlignData& operator= (const AliEMCALAlignData &alignda);
23   virtual ~AliEMCALAlignData();
24   void Reset();
25   virtual void Print(Option_t *option = "") const; 
26
27   // Getters
28   Int_t   GetNSuperModules() const {return fNSuperModules;}
29   Float_t GetSuperModuleCenter(Int_t module, Int_t axis) const {
30     return fSuperModuleCenter[module][axis];}
31   Float_t GetSuperModuleAngle(Int_t module, Int_t axis, Int_t angle) const {
32     return fSuperModuleAngle[module][axis][angle];}
33
34   // Setters
35   void SetNSuperModules(Int_t nSuperModules) {fNSuperModules = nSuperModules;}
36   void SetSuperModuleCenter(Int_t module, Int_t axis, Float_t coord) {
37     fSuperModuleCenter[module][axis] = coord;}
38   void SetSuperModuleAngle(Int_t module, Int_t axis, Int_t angle, Float_t value) {
39     fSuperModuleAngle[module][axis][angle] = value;}
40
41  protected:
42   Int_t   fNSuperModules;             // number of EMCAL supermodules (max=12)
43   Float_t fSuperModuleCenter[12][3];  // xyz-position of the supermodule center
44   Float_t fSuperModuleAngle[12][3][2];// polar and azymuth angles for 3 axes 
45                                       // of supermodules
46
47   ClassDef(AliEMCALAlignData,1)    // EMCAL Alignment data
48 };
49
50 #endif