Line data Source code
1 : #ifndef ALIITSALIGNMILLEDATA_H
2 : #define ALIITSALIGNMILLEDATA_H
3 : /* Copyright(c) 2007-2009 , ALICE Experiment at CERN, All rights reserved. *
4 : * See cxx source for full Copyright notice */
5 :
6 : /* $Id$ */
7 :
8 :
9 : /// \ingroup rec
10 : /// \class AliITSAlignMilleData
11 : /// \brief Class for alignment of ITS
12 : //
13 : // Authors: Marcello Lunardon
14 : #include <TObject.h>
15 :
16 : #define ITSMILLENPARCH 6
17 : #define ITSMILLENLOCAL 5
18 :
19 0 : class AliITSAlignMilleData : public TObject
20 : {
21 : public:
22 : AliITSAlignMilleData();
23 : virtual ~AliITSAlignMilleData();
24 0 : Double_t GetMeasX() const {return fMeasX;}
25 0 : Double_t GetSigmaX() const {return fSigmaX;}
26 0 : void SetMeasX(Double_t meas) {fMeasX=meas;}
27 0 : void SetSigmaX(Double_t meas) {fSigmaX=meas;}
28 :
29 0 : Double_t GetMeasZ() const {return fMeasZ;}
30 0 : Double_t GetSigmaZ() const {return fSigmaZ;}
31 0 : void SetMeasZ(Double_t meas) {fMeasZ=meas;}
32 0 : void SetSigmaZ(Double_t meas) {fSigmaZ=meas;}
33 :
34 0 : Int_t *GetIdxlocX() const {return (Int_t*)fIdxlocX;}
35 0 : Int_t *GetIdxgloX() const {return (Int_t*)fIdxgloX;}
36 0 : Double_t *GetDerlocX() const {return (Double_t*)fDerlocX;}
37 0 : Double_t *GetDergloX() const {return (Double_t*)fDergloX;}
38 :
39 0 : Int_t *GetIdxlocZ() const {return (Int_t*)fIdxlocZ;}
40 0 : Int_t *GetIdxgloZ() const {return (Int_t*)fIdxgloZ;}
41 0 : Double_t *GetDerlocZ() const {return (Double_t*)fDerlocZ;}
42 0 : Double_t *GetDergloZ() const {return (Double_t*)fDergloZ;}
43 :
44 : private:
45 : /// structure to store data for 2 LocalEquations (X and Z)
46 : Double_t fMeasX; ///
47 : Double_t fSigmaX; ///
48 : Int_t fIdxlocX[ITSMILLENLOCAL]; ///
49 : Double_t fDerlocX[ITSMILLENLOCAL]; ///
50 : Int_t fIdxgloX[ITSMILLENPARCH]; ///
51 : Double_t fDergloX[ITSMILLENPARCH]; ///
52 :
53 : Double_t fMeasZ; ///
54 : Double_t fSigmaZ; ///
55 : Int_t fIdxlocZ[ITSMILLENLOCAL]; ///
56 : Double_t fDerlocZ[ITSMILLENLOCAL]; ///
57 : Int_t fIdxgloZ[ITSMILLENPARCH]; ///
58 : Double_t fDergloZ[ITSMILLENPARCH]; ///
59 :
60 : //AliITSAlignMilleData(const AliITSAlignMilleData& rhs);
61 : //AliITSAlignMilleData& operator=(const AliITSAlignMilleData& rhs);
62 :
63 116 : ClassDef(AliITSAlignMilleData, 0)
64 :
65 : };
66 :
67 : #endif
|