Ignore:
Timestamp:
02/15/09 15:52:47 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msim/MPhotonEvent.h

    r9308 r9342  
    8080    Int_t GetNumExternal() const;
    8181
     82    Float_t  GetTimeFirst() const;
     83    Float_t  GetTimeLast() const;
     84    Double_t GetTimeMedianDev() const;
     85
    8286    TClonesArray &GetArray() { return fData; }
    8387    const TClonesArray &GetArray() const { return fData; }
     
    131135{
    132136private:
    133     Float_t fTimeFirst;
    134     Float_t fTimeLast;
     137    Float_t fTimeFirst;  //! Start of (simulated) sampling window
     138    Float_t fTimeLast;   //! Start of (simulated) sampling window
     139
     140    Float_t fLength;     // Time between first and last photon
     141    Float_t fTimeMedDev; // Median deviation
    135142
    136143//    Float_t fOffset;
    137144//    Float_t fWindow;
    138145
    139     Int_t fMaxIndex;
     146    Int_t fMaxIndex;     //!
    140147
    141148public:
     
    147154
    148155    void SetTime(Float_t first, Float_t last) { fTimeFirst=first; fTimeLast=last; }
     156    void SetLength(Float_t len) { fLength=len; }
    149157    void SetMaxIndex(UInt_t idx) { fMaxIndex=idx; }
     158    void SetTimeMedDev(Float_t dev) { fTimeMedDev=dev; }
    150159
    151160//    Float_t GetRawTimeFirst() const { return fTimeFirst; }
     
    154163    Float_t GetTimeFirst() const { return fTimeFirst; }
    155164    Float_t GetTimeLast() const { return fTimeLast; }
     165
     166    Float_t GetLength() const { return fLength; }
     167    Float_t GetTimeMedDev() const { return fTimeMedDev; }
    156168
    157169    Int_t GetMaxIndex() const { return fMaxIndex; }
Note: See TracChangeset for help on using the changeset viewer.