Changeset 4064 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
05/13/04 16:24:27 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r4058 r4064  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21 2004/05/12: Markus Gaug
     22
     23   * msignal/MExtractTime.[h,cc]
     24     - introduced intrinsic delay of low-gain, as measured by Florian.
     25
    2026
    2127 2004/05/12: Thomas Bretz
  • trunk/MagicSoft/Mars/msignal/MExtractTime.cc

    r3951 r4064  
    6969
    7070using namespace std;
    71 
     71const Float_t MExtractTime::fgOffsetLoGain = 1.51;   // 5 ns
    7272// --------------------------------------------------------------------------
    7373//
     
    8989    fTitle = title ? title : "Base class for signal extractors";
    9090
     91    SetOffsetLoGain();
    9192}
    9293
     
    200201      Byte_t satlo=0;
    201202
    202       if (pixel.HasLoGain())
    203         FindTimeLoGain(pixel.GetLoGainSamples()+fLoGainFirst, timelo, deltatimelo, satlo, ped);
    204      
    205       pix.SetArrivalTime(timehi, deltatimehi, timelo, deltatimelo);
     203      if (sathi)
     204          FindTimeLoGain(pixel.GetLoGainSamples()+fLoGainFirst, timelo, deltatimelo, satlo, ped);
     205
     206      pix.SetArrivalTime(timehi, deltatimehi, timelo-fOffsetLoGain, deltatimelo);
    206207      pix.SetGainSaturation(sathi, sathi, satlo);
    207208 
  • trunk/MagicSoft/Mars/msignal/MExtractTime.h

    r3943 r4064  
    1111{
    1212 
     13  static const Float_t fgOffsetLoGain;  // Default for fOffsetLoGain (now set to 1.51 (= 5ns)
     14  Float_t fOffsetLoGain;                // Offset of the low-gain signal w.r.t. the High-Gain slices
     15
    1316  MArrivalTimeCam *fArrTime;   // Container with the photons arrival times
    1417 
     
    2528
    2629  MExtractTime(const char *name=NULL, const char *title=NULL);
     30
     31  void SetOffsetLoGain( const Float_t f=fgOffsetLoGain) { fOffsetLoGain = f; }
    2732 
    2833  ClassDef(MExtractTime, 0)   // Arrival Time Extractor Base Class
Note: See TracChangeset for help on using the changeset viewer.