LUTs mapping symnames and original global matrices removed from AliGeomManager, which...
[u/mrichter/AliRoot.git] / VZERO / AliVZEROSurveyData.h
CommitLineData
e9e0e998 1#ifndef ALIVZEROSurveyDATA_H
2#define ALIVZEROSurveyDATA_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7////////////////////////////////////////////////
8// //
9// class for VZERO survey points management //
10// //
11////////////////////////////////////////////////
12
13#include "TNamed.h"
14#include "AliVZERO.h"
15
16class AliVZEROSurveyData: public TNamed {
17
18 public:
19 AliVZEROSurveyData();
20 AliVZEROSurveyData(const char* name);
21 AliVZEROSurveyData(const AliVZEROSurveyData &calibda);
22 AliVZEROSurveyData& operator= (const AliVZEROSurveyData &calibda);
23 virtual ~AliVZEROSurveyData();
24 void Reset();
25
26 Float_t GetPointA(Int_t ngA) const {return fngA[ngA];}
27 Float_t* GetPointA() const {return (float*)fngA;}
28 Float_t GetPointB(Int_t ngB) const {return fngB[ngB];}
29 Float_t* GetPointB() const {return (float*)fngB;}
30 Float_t GetPointC(Int_t ngC) const {return fngC[ngC];}
31 Float_t* GetPointC() const {return (float*)fngC;}
32 Float_t GetPointD(Int_t ngD) const {return fngD[ngD];}
33 Float_t* GetPointD() const {return (float*)fngD;}
34
35 void SetPointA(Float_t val, Int_t channel) {fngA[channel]=val;}
36 void SetPointA(Float_t* ngA);
37 void SetPointB(Float_t val, Int_t channel) {fngB[channel]=val;}
38 void SetPointB(Float_t* ngB);
39 void SetPointC(Float_t val, Int_t channel) {fngC[channel]=val;}
40 void SetPointC(Float_t* ngC);
41 void SetPointD(Float_t val, Int_t channel) {fngD[channel]=val;}
42 void SetPointD(Float_t* ngD);
43
44 protected:
45 Float_t fngA[3]; // Fiducial point A
46 Float_t fngB[3]; // Fiducial point B
47 Float_t fngC[3]; // Fiducial point C
48 Float_t fngD[3]; // Fiducial point D
49
50 ClassDef(AliVZEROSurveyData,1) // VZERO Survey data
51};
52
53#endif