00001
00002
00003
00004
00005
00006
00007
00009
00010 #ifndef PHOTONSIGNAL_H
00011 #define PHOTONSIGNAL_H
00012
00013 #include "TObject.h"
00014
00015 namespace photrans {
00016
00017 class PhotonSignal : public TObject {
00018 public:
00019 PhotonSignal();
00020 PhotonSignal(float time, float timerms, int npe);
00021 ~PhotonSignal();
00022
00023 void SetTimeMean(float t) { fTimeMean = t; }
00024 void SetTimeRMS(float t) { fTimeRMS = t; }
00025 void SetNPhoton(int npe) { fNPhoton = npe; }
00026 void SetPlaneCell(int plane, int cell) { fCell = cell; fPlane = plane;}
00027 void SetTrackId(unsigned short t) { fTrackId = t; }
00028
00029
00030 float TimeMean() const { return fTimeMean; }
00031 float TimeRMS() const { return fTimeRMS; }
00032 int NPhoton() const { return fNPhoton; }
00033 int Cell() const { return fCell; }
00034 int Plane() const { return fPlane; }
00035 unsigned short TrackId() const { return fTrackId; }
00036
00037 private:
00038 float fTimeMean;
00039 float fTimeRMS;
00040 int fNPhoton;
00041 int fCell;
00042 int fPlane;
00043 unsigned short fTrackId;
00044
00045 ClassDef(PhotonSignal, 1)
00046 };
00047
00048 }
00049
00050 #endif // PHOTONSIGNAL_H