#ifndef ALIITSALIGNMILLE2MODULE_H #define ALIITSALIGNMILLE2MODULE_H /* Copyright(c) 2007-2009 , ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ /// \ingroup rec /// \class AliITSAlignMille2Module /// \brief Class for alignment of ITS // // Authors: Marcello Lunardon // // RS Converted static arrays fSensVolVolumeID and fSensVolIndex // to TArrays in user transparent way. // /* $Id$ */ //#include //#include #include #include #include class AliITSAlignMille2; class AliAlignObjParams; class TGeoHMatrix; class AliITSAlignMille2Module : public TNamed { public: AliITSAlignMille2Module(); AliITSAlignMille2Module(UShort_t volid); AliITSAlignMille2Module(Int_t index, UShort_t volid, char* symname, TGeoHMatrix *m, Int_t nsv=0, UShort_t *volidsv=NULL); AliITSAlignMille2Module(const AliITSAlignMille2Module& rhs); // copy constructor AliITSAlignMille2Module& operator=(const AliITSAlignMille2Module& rhs); // virtual ~AliITSAlignMille2Module(); // // geometry methods Int_t GetIndex() const {return fIndex;} UShort_t GetVolumeID() const {return fVolumeID;} Int_t GetNSensitiveVolumes() const {return fNSensVol;} Int_t GetSensVolIndex(Int_t at) const {return fSensVolIndex[at];} Short_t GetSensVolVolumeID(Int_t at) const {return fSensVolVolumeID[at];} TGeoHMatrix *GetMatrix() const {return fMatrix;} void GetLocalMatrix(TGeoHMatrix& mat) const; UShort_t *GetSensitiveVolumeVolumeID() const {return (UShort_t*)fSensVolVolumeID.GetArray();} Float_t GetSigmaFactor(Int_t i) const {return fSigmaFactor[i];} Float_t GetSigmaXFactor() const {return fSigmaFactor[0];} Float_t GetSigmaYFactor() const {return fSigmaFactor[1];} Float_t GetSigmaZFactor() const {return fSigmaFactor[2];} Int_t GetNProcessedPoints() const {return fNProcPoints;} Bool_t IsFreeDOF(Int_t dof) const {return TestBit(1<