]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliEMCALAlignData.h
remove old alignment data object, to be replaced with new version
[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 - go to standard tools      //
11 //  Apply allignment to super modules only                           //
12 ///////////////////////////////////////////////////////////////////////
13
14 #include "TNamed.h"
15
16 class AliAlignObjMatrix;
17
18 class AliEMCALAlignData: public TNamed {
19
20  public:
21   AliEMCALAlignData();
22   AliEMCALAlignData(const char* name);
23   AliEMCALAlignData(const AliEMCALAlignData &alignda);
24   AliEMCALAlignData& operator= (const AliEMCALAlignData &alignda);
25   virtual ~AliEMCALAlignData();
26
27   void Reset();
28   virtual void Print(Option_t *option = "") const; // *MENU*
29
30   // Getters
31   Int_t   GetNSuperModules() const {return fNSuperModules;}
32   AliAlignObjMatrix *GetSuperModuleMatrix(Int_t module) const
33   {
34     if(module>=0&&module<fNSuperModules) return fSuperModuleMatrix[module];
35     else                                 return 0;
36   }
37
38   // Setters
39   void SetNSuperModules(Int_t nSuperModules) {fNSuperModules = nSuperModules;}
40   void SetSuperModuleMatrix(Int_t module, AliAlignObjMatrix *matrix) 
41   {
42     if(module>=0&&module<fNSuperModules) fSuperModuleMatrix[module] = matrix;
43   }
44
45  protected:
46   Int_t   fNSuperModules;                    // number of EMCAL supermodules (max=12)
47   AliAlignObjMatrix *fSuperModuleMatrix[12]; //matrix info for supermodules
48
49   ClassDef(AliEMCALAlignData,1)    // EMCAL Alignment data
50 };
51
52 #endif