forked from alisw/AliRoot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAliTOFChSim.h
33 lines (25 loc) · 1011 Bytes
/
AliTOFChSim.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef ALITOFCHSIM_H
#define ALITOFCHSIM_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
////////////////////////////////////////////////
// class for TOF calibration //
////////////////////////////////////////////////
#include "TObject.h"
class AliTOFChSim: public TObject {
public:
AliTOFChSim();
AliTOFChSim(const AliTOFChSim &chan);
AliTOFChSim& operator= (const AliTOFChSim &chan);
virtual ~AliTOFChSim(){};
//
Bool_t IsSlewed() const {return fSlewedStatus;}
void SetSlewedStatus(Bool_t status) { fSlewedStatus = status;}
void SetSpectrum(Int_t ispectrum) {fSpectrum = ispectrum;}
Int_t GetSpectrum() const {return fSpectrum;}
private:
Bool_t fSlewedStatus; // flag for decalibration status
Int_t fSpectrum; // index of the spectrum used during decalibration
ClassDef(AliTOFChSim,1) // TOF Sensor Calibration object
};
#endif