Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

PhotonSignal.h

Go to the documentation of this file.
00001 
00002 // $Id: PhotonSignal.h,v 1.3 2008/07/21 18:59:37 ishi Exp $
00003 //
00004 // Photon signal class
00005 //
00006 // jpaley@indiana.edu
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      //    void  Print();
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

Generated on Mon Dec 1 02:35:18 2008 for NOvA Offline by  doxygen 1.3.9.1