00001
00002
00003
00004
00005
00006
00007
00008
00010
00011 #ifndef CALDETTOFID_H
00012 #define CALDETTOFID_H
00013
00014 #include "TObject.h"
00015 #include "RawData/RawTOFDigit.h"
00016
00017 class RawTOFDigit;
00018
00019 class CalDetTOFId : public TObject{
00020
00021 public:
00022
00023 CalDetTOFId();
00024 CalDetTOFId(Double_t paddleSeparation, Double_t tdcGain1, Double_t tdcGain2,
00025 Int_t tdcPedestal1, Int_t tdcPedestal2, Int_t firstPaddle,
00026 Int_t secondPaddle, RawTOFDigit rtofd);
00027 virtual ~CalDetTOFId();
00028
00029 Double_t GetParticleMassSquared(Double_t momentum) const;
00030 Double_t GetTOF() const;
00031 Double_t GetBeta() const;
00032
00033 private:
00034
00035
00036
00037 Double_t fBeta;
00038 RawTOFDigit fTOFDigit;
00039 Double_t fTOF;
00040
00041 ClassDef(CalDetTOFId,0)
00042
00043 };
00044
00045 #endif // CALDETTOFID_H