]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TOF/AliTOFDCSmaps.h
coding conventions
[u/mrichter/AliRoot.git] / TOF / AliTOFDCSmaps.h
CommitLineData
ea932f75 1#ifndef ALITOFDCSMAPS_H
2#define ALITOFDCSMAPS_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7/* $Id: $ */
8
9///////////////////////////////
10// //
11// AliTOFDCSmaps class //
12// container for HV&&LV maps //
13// as found during a run //
14// //
15///////////////////////////////
16
17#include "TObject.h"
18
19class AliTOFDCSmaps : public TObject {
20
21 public:
22 AliTOFDCSmaps();
23 AliTOFDCSmaps(Int_t time, Short_t array[]);
24 AliTOFDCSmaps(const AliTOFDCSmaps & digit);
25 AliTOFDCSmaps& operator=(const AliTOFDCSmaps & digit) ;
26 virtual ~AliTOFDCSmaps();
27
28 Int_t GetTime() const { return fTime; };
29 void SetTime(Int_t time) { fTime=time; };
30 Short_t GetCellValue(Int_t index) const { return fArray[index]; };
31 void SetCellValue(Int_t index, Short_t val) { fArray[index]=val; };
32 void Update(AliTOFDCSmaps *object);
33 private:
34 Int_t fTime; // time stamp
35 Short_t fArray[91*96*18]; // array
36
37 ClassDef(AliTOFDCSmaps, 1);
38
39};
40
41#endif