]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TOF/AliTOFChSim.h
added printout of equipment-ID in case of decode errors
[u/mrichter/AliRoot.git] / TOF / AliTOFChSim.h
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 "TObject.h"
12
13 class AliTOFChSim: public TObject {
14
15 public:
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
26 private:
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