]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSAlignMilleData.h
Fixing a little memory leak
[u/mrichter/AliRoot.git] / ITS / AliITSAlignMilleData.h
CommitLineData
75d480f6 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
19class AliITSAlignMilleData : public TObject
20{
21 public:
22 AliITSAlignMilleData();
23 virtual ~AliITSAlignMilleData();
24 Double_t GetMeasX() const {return fMeasX;}
25 Double_t GetSigmaX() const {return fSigmaX;}
26 void SetMeasX(Double_t meas) {fMeasX=meas;}
27 void SetSigmaX(Double_t meas) {fSigmaX=meas;}
28
29 Double_t GetMeasZ() const {return fMeasZ;}
30 Double_t GetSigmaZ() const {return fSigmaZ;}
31 void SetMeasZ(Double_t meas) {fMeasZ=meas;}
32 void SetSigmaZ(Double_t meas) {fSigmaZ=meas;}
33
b80c197e 34 Int_t *GetIdxlocX() const {return (Int_t*)fIdxlocX;}
35 Int_t *GetIdxgloX() const {return (Int_t*)fIdxgloX;}
36 Double_t *GetDerlocX() const {return (Double_t*)fDerlocX;}
37 Double_t *GetDergloX() const {return (Double_t*)fDergloX;}
75d480f6 38
b80c197e 39 Int_t *GetIdxlocZ() const {return (Int_t*)fIdxlocZ;}
40 Int_t *GetIdxgloZ() const {return (Int_t*)fIdxgloZ;}
41 Double_t *GetDerlocZ() const {return (Double_t*)fDerlocZ;}
42 Double_t *GetDergloZ() const {return (Double_t*)fDergloZ;}
75d480f6 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 ClassDef(AliITSAlignMilleData, 0)
64
65};
66
67#endif