Add classes for TOF Calibration (C.Zampolli)
[u/mrichter/AliRoot.git] / TOF / AliTOFChSim.h
CommitLineData
6dc9348d 1#ifndef ALITOFCHSIM_H
2#define ALITOFCHSIM_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 AliTOFChSim: public TObject {
14
15public:
16 AliTOFChSim();
17 AliTOFChSim(const AliTOFChSim &chan);
18 AliTOFChSim& operator= (const AliTOFChSim &chan);
19 virtual ~AliTOFChSim(){};
20 //
21 Bool_t IsSlewed() const {return fSlewedStatus;}
22 void SetSlewedStatus(Bool_t status) { fSlewedStatus = status;}
23 void SetSpectrum(Int_t ispectrum) {fSpectrum = ispectrum;}
24 Int_t GetSpectrum() const {return fSpectrum;}
25
26private:
27 Bool_t fSlewedStatus; // flag for decalibration status
28 Int_t fSpectrum; // index of the spectrum used during decalibration
29
30 ClassDef(AliTOFChSim,1) // TOF Sensor Calibration object
31};
32
33#endif