X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PHOS%2FAliPHOSGeoUtils.h;h=7f6e74e01062d236434c67c9989f55cfe6580c56;hb=d3a1a0171084e0de40627dab75cafe3be23760c5;hp=b273af9c50713b879b8f3f05f804cdf5e1cb615c;hpb=bcc9e89e35f31fd9837ecf6393a38f28c61b1c78;p=u%2Fmrichter%2FAliRoot.git diff --git a/PHOS/AliPHOSGeoUtils.h b/PHOS/AliPHOSGeoUtils.h index b273af9c507..7f6e74e0106 100644 --- a/PHOS/AliPHOSGeoUtils.h +++ b/PHOS/AliPHOSGeoUtils.h @@ -17,6 +17,7 @@ // --- AliRoot header files --- +class TGeoHMatrix ; class TVector3; class TParticle ; class AliPHOSEMCAGeometry; @@ -72,6 +73,15 @@ public: Bool_t IsInEMC(Int_t id) const { if (id > fNModules * fNCristalsInModule ) return kFALSE; return kTRUE; } + //Method to set shift-rotational matrixes from ESDHeader + void SetMisalMatrix(const TGeoHMatrix * m, Int_t mod) ; + +protected: + //Returns shift-rotational matrixes for different volumes + const TGeoHMatrix * GetMatrixForModule(Int_t mod)const ; + const TGeoHMatrix * GetMatrixForStrip(Int_t mod, Int_t strip)const ; + const TGeoHMatrix * GetMatrixForCPV(Int_t mod)const ; + const TGeoHMatrix * GetMatrixForPHOS(Int_t mod)const ; protected: @@ -93,11 +103,19 @@ protected: Float_t fCrystalShift ; //Distance between center of module and crystal surface Float_t fXtlArrSize[3] ; //Total size of cristals array Float_t fCryCellShift ; + Float_t fCryStripShift ; Float_t fCellStep ; Float_t fPadSizePhi ; //Size of CPV pad in Phi direction Float_t fPadSizeZ ; //Size of CPV pad in Z direction Float_t fCPVBoxSizeY ; + TGeoHMatrix* fEMCMatrix[5] ; //Orientations of crystalls array in modules + TGeoHMatrix* fStripMatrix[5][224]; //Orientations of strip units + TGeoHMatrix* fCPVMatrix[5] ; //Orientations of CPV + const TGeoHMatrix* fPHOSMatrix[5] ; //Orientations of PHOS modules + + TClonesArray * fMisalArray ; + ClassDef(AliPHOSGeoUtils,2) // PHOS geometry class } ;