Changeset 5146
- Timestamp:
- 09/29/04 23:16:47 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r5145 r5146 19 19 20 20 -*-*- END OF LINE -*-*- 21 22 2004/09/29: Hendrik Bartko, Diego Tescaro, Markus Gaug 23 24 * msignal/MExtractTimeAndChargeDigitalFilter.[h,cc] 25 - Hendriks digital filter finally implemented 26 27 * msignal/Makefile 28 * msignal/SignalLinkDef.h 29 - added MExtractTimeAndChargeDigitalFilter and MExtractTimeAndCharge 30 31 * msignal/MExtractTime.h 32 - made PreProcess, ReInit and Process protected 33 34 21 35 2004/09/29: Thomas Bretz 22 36 -
trunk/MagicSoft/Mars/msignal/MExtractTime.h
r4723 r5146 12 12 { 13 13 private: 14 14 15 static const Float_t fgOffsetLoGain; // Default for fOffsetLoGain (now set to 1.51 (= 5ns) 15 16 16 Int_t PreProcess(MParList *pList);17 Bool_t ReInit(MParList *pList);18 Int_t Process();19 20 17 protected: 18 21 19 Float_t fOffsetLoGain; // Offset of the low-gain signal w.r.t. the High-Gain slices 22 20 … … 27 25 virtual void FindTimeLoGain(Byte_t *firstused, Float_t &time, Float_t &dtime, 28 26 Byte_t &sat, const MPedestalPix &ped) const; 27 28 Int_t PreProcess( MParList *pList ); 29 Bool_t ReInit ( MParList *pList ); 30 Int_t Process (); 29 31 30 32 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print); -
trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.cc
r4261 r5146 126 126 void MExtractTimeAndCharge::FindTimeAndChargeHiGain(Byte_t *firstused, Byte_t *logain, Float_t &sum, Float_t &dsum, 127 127 Float_t &time, Float_t &dtime, 128 Byte_t &sat, const MPedestalPix &ped )128 Byte_t &sat, const MPedestalPix &ped, const Bool_t abflag) 129 129 { 130 130 return; … … 133 133 void MExtractTimeAndCharge::FindTimeAndChargeLoGain(Byte_t *firstused, Float_t &sum, Float_t &dsum, 134 134 Float_t &time, Float_t &dtime, 135 Byte_t &sat, const MPedestalPix &ped )135 Byte_t &sat, const MPedestalPix &ped, const Bool_t abflag) 136 136 { 137 137 return; … … 170 170 sumhi, deltasumhi, 171 171 timehi, deltatimehi, 172 sathi, ped );172 sathi, ped, pixel.HasABFlag()); 173 173 174 174 Float_t sumlo =0., deltasumlo =0.; … … 179 179 sumlo, deltasumlo, 180 180 timelo, deltatimelo, 181 satlo, ped );181 satlo, ped, pixel.HasABFlag()); 182 182 183 183 MExtractedSignalPix &pix = (*fSignals)[pixid]; … … 186 186 pix.SetExtractedSignal(sumhi, deltasumhi,sumlo, deltasumlo); 187 187 pix.SetGainSaturation(sathi, sathi, satlo); 188 189 pix.SetNumHiGainSlices(fNumHiGainSamples);190 pix.SetNumLoGainSlices(fNumLoGainSamples);191 188 192 189 tix.SetArrivalTime(timehi, deltatimehi, timelo-fOffsetLoGain, deltatimelo); -
trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.h
r4723 r5146 10 10 { 11 11 private: 12 12 13 Int_t PreProcess(MParList *pList); 13 14 Bool_t ReInit(MParList *pList); … … 15 16 16 17 protected: 18 17 19 virtual void FindTimeAndChargeHiGain(Byte_t *firstused, Byte_t *logain, Float_t &sum, Float_t &dsum, 18 20 Float_t &time, Float_t &dtime, 19 Byte_t &sat, const MPedestalPix &ped );21 Byte_t &sat, const MPedestalPix &ped, const Bool_t abflag); 20 22 virtual void FindTimeAndChargeLoGain(Byte_t *firstused, Float_t &sum, Float_t &dsum, 21 23 Float_t &time, Float_t &dtime, 22 Byte_t &sat, const MPedestalPix &ped );24 Byte_t &sat, const MPedestalPix &ped, const Bool_t abflag); 23 25 24 26 public: -
trunk/MagicSoft/Mars/msignal/Makefile
r4404 r5146 48 48 MExtractTimeFastSpline.cc \ 49 49 MExtractTimeHighestIntegral.cc \ 50 MExtractTimeAndCharge.cc \ 51 MExtractTimeAndChargeDigitalFilter.cc \ 50 52 MArrivalTime.cc \ 51 53 MArrivalTimeCalc.cc \ -
trunk/MagicSoft/Mars/msignal/SignalLinkDef.h
r4995 r5146 29 29 #pragma link C++ class MExtractTimeHighestIntegral+; 30 30 31 #pragma link C++ class MExtractTimeAndCharge+; 32 #pragma link C++ class MExtractTimeAndChargeDigitalFilter+; 33 34 31 35 #pragma link C++ class MArrivalTimeCam+; 32 36 #pragma link C++ class MArrivalTimePix+;
Note:
See TracChangeset
for help on using the changeset viewer.