Changeset 4064 for trunk/MagicSoft/Mars/msignal
- Timestamp:
- 05/13/04 16:24:27 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/msignal
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MExtractTime.cc
r3951 r4064 69 69 70 70 using namespace std; 71 71 const Float_t MExtractTime::fgOffsetLoGain = 1.51; // 5 ns 72 72 // -------------------------------------------------------------------------- 73 73 // … … 89 89 fTitle = title ? title : "Base class for signal extractors"; 90 90 91 SetOffsetLoGain(); 91 92 } 92 93 … … 200 201 Byte_t satlo=0; 201 202 202 if ( pixel.HasLoGain())203 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); 206 207 pix.SetGainSaturation(sathi, sathi, satlo); 207 208 -
trunk/MagicSoft/Mars/msignal/MExtractTime.h
r3943 r4064 11 11 { 12 12 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 13 16 MArrivalTimeCam *fArrTime; // Container with the photons arrival times 14 17 … … 25 28 26 29 MExtractTime(const char *name=NULL, const char *title=NULL); 30 31 void SetOffsetLoGain( const Float_t f=fgOffsetLoGain) { fOffsetLoGain = f; } 27 32 28 33 ClassDef(MExtractTime, 0) // Arrival Time Extractor Base Class
Note:
See TracChangeset
for help on using the changeset viewer.