Add classes for TOF Calibration (C.Zampolli)
[u/mrichter/AliRoot.git] / TOF / AliTOFChannel.h
CommitLineData
6dc9348d 1#ifndef ALITOFChannel_H
2#define ALITOFChannel_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// class for TOF calibration //
9////////////////////////////////////////////////
10
11#include "TNamed.h"
12
13class AliTOFChannel: public TObject {
14
15public:
16 AliTOFChannel();
17 AliTOFChannel(Bool_t status, Float_t delay, Float_t* slewingPar);
18 AliTOFChannel(const AliTOFChannel &chan);
19 AliTOFChannel& operator= (const AliTOFChannel &chan);
20 virtual ~AliTOFChannel(){};
21 Bool_t GetStatus() const {return fStatus;}
22 Float_t GetDelay() const {return fDelay;}
23 Float_t GetSlewPar(Int_t index) const {return fSlewPar[index];}
24 Float_t* GetSlewPar() const {return (float*)fSlewPar;}
25 void SetStatus(Bool_t status) {fStatus=status;}
26 void SetDelay(Float_t val) {fDelay=val;}
27 void SetSlewPar(Int_t index, Float_t val) {fSlewPar[index]=val;}
28 void SetSlewPar(Float_t* SlewPar);
29
30private:
31 Bool_t fStatus; // Status of the channel (0:on 1:off)
32 Float_t fDelay; // Delay
33 Float_t fSlewPar[6]; // Time slewing parameters
34 //
35 ClassDef(AliTOFChannel,1) // TOF Sensor Calibration object
36};
37
38#endif