1 #ifndef ALIEMCALALIGNDATA_H
2 #define ALIEMCALALIGNDATA_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
9 ///////////////////////////////////////////////////////////////////////
10 // Class for EMCAL alignment parameters - go to standard tools //
11 // Apply allignment to super modules only //
12 ///////////////////////////////////////////////////////////////////////
16 class AliAlignObjMatrix;
18 class AliEMCALAlignData: public TNamed {
22 AliEMCALAlignData(const char* name);
23 AliEMCALAlignData(const AliEMCALAlignData &alignda);
24 AliEMCALAlignData& operator= (const AliEMCALAlignData &alignda);
25 virtual ~AliEMCALAlignData();
28 virtual void Print(Option_t *option = "") const; // *MENU*
31 Int_t GetNSuperModules() const {return fNSuperModules;}
32 AliAlignObjMatrix *GetSuperModuleMatrix(Int_t module) const
34 if(module>=0&&module<fNSuperModules) return fSuperModuleMatrix[module];
39 void SetNSuperModules(Int_t nSuperModules) {fNSuperModules = nSuperModules;}
40 void SetSuperModuleMatrix(Int_t module, AliAlignObjMatrix *matrix)
42 if(module>=0&&module<fNSuperModules) fSuperModuleMatrix[module] = matrix;
46 Int_t fNSuperModules; // number of EMCAL supermodules (max=12)
47 AliAlignObjMatrix *fSuperModuleMatrix[12]; //matrix info for supermodules
49 ClassDef(AliEMCALAlignData,1) // EMCAL Alignment data