Ignore:
Timestamp:
04/23/14 13:53:35 (11 years ago)
Author:
ftemme
Message:
Added the clipping of the trigger signal
Location:
trunk/Mars/melectronics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/melectronics/MAnalogSignal.cc

    r9274 r17682  
    153153// Add a second analog signal. Just by addining it bin by bin.
    154154//
    155 void MAnalogSignal::AddSignal(const MAnalogSignal &s)
    156 {
    157     Add(s.GetArray(), s.fN);
    158 }
     155void MAnalogSignal::AddSignal(const MAnalogSignal &s, Int_t delay,
     156                              Float_t dampingFactor )
     157{
     158    Add(s.GetArray(), s.fN, delay, dampingFactor);
     159}
     160
    159161
    160162// Deprecated. Use MSimRandomPhotons instead
  • trunk/Mars/melectronics/MAnalogSignal.h

    r9274 r17682  
    2121    Bool_t AddPulse(const MSpline3 &spline, Float_t t, Float_t f=1);
    2222    Bool_t AddPulse(const TF1 &f1, Float_t t, Float_t f=1);
    23     void   AddSignal(const MAnalogSignal &s);
     23    void   AddSignal(const MAnalogSignal &s, Int_t delay=0,Float_t dampingFact=1.0);
    2424
    2525    // Deprecated. Use MSimRandomPhotons instead
Note: See TracChangeset for help on using the changeset viewer.