Changeset 19697 for trunk/Mars
- Timestamp:
- 09/27/19 21:54:32 (5 years ago)
- Location:
- trunk/Mars/melectronics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/melectronics/MAnalogSignal.cc
r19693 r19697 148 148 return rc; 149 149 } 150 151 void MAnalogSignal::ShiftSignal(Double_t shift) 152 { 153 Float_t *arr = GetArray(); 154 for (UInt_t i=0; i<fN; i++) 155 arr[i] += shift; 156 } 157 150 158 151 159 // ------------------------------------------------------------------------ -
trunk/Mars/melectronics/MAnalogSignal.h
r19693 r19697 23 23 void AddSignal(const MAnalogSignal &s, Int_t delay=0,Float_t dampingFact=1.0); 24 24 void CopySignal(const MAnalogSignal &s); 25 void ShiftSignal(Double_t s); 25 26 26 27 // Deprecated. Use MSimRandomPhotons instead
Note:
See TracChangeset
for help on using the changeset viewer.