Changeset 8154 for trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.h
- Timestamp:
- 10/24/06 09:26:10 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.h
r7091 r8154 14 14 static const Byte_t fgLoGainSwitch; //! Default for fLoGainSwitch (now set to: 100) 15 15 16 pr otected:16 private: 17 17 18 Byte_t fLoGainFirstSave; //! Temporary variable to store the original position of low-gain start slice18 // Byte_t fLoGainFirstSave; //! Temporary variable to store the original position of low-gain start slice 19 19 Float_t fLoGainStartShift; // Shift to start searching the low-gain signal obtained from the high-gain times. 20 20 21 21 Byte_t fLoGainSwitch; // Limit for max. bin content before the low-gain gets extracted 22 22 23 protected: 24 23 25 Int_t fWindowSizeHiGain; // Window Size High-Gain 24 26 Int_t fWindowSizeLoGain; // Window Size Low-Gain 25 27 26 Byte_t fMaxBinContent; // Maximum bin content27 28 28 Int_t PreProcess(MParList *pList); 29 29 Int_t Process(); 30 Bool_t ReInit(MParList *pList);31 32 30 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print); 33 31 … … 47 45 virtual void SetWindowSize(Int_t windowh, Int_t windowl) { fWindowSizeHiGain = windowh; 48 46 fWindowSizeLoGain = windowl; } 47 48 Bool_t ReInit(MParList *pList); 49 49 50 50 virtual Bool_t InitArrays() { return kTRUE; } 51 51 /* 52 52 virtual void FindTimeAndChargeHiGain(Byte_t *firstused, Byte_t *logain, Float_t &sum, Float_t &dsum, 53 53 Float_t &time, Float_t &dtime, … … 57 57 Float_t &time, Float_t &dtime, 58 58 Byte_t &sat, const MPedestalPix &ped, const Bool_t abflag) { } 59 */ 60 virtual void FindTimeAndChargeHiGain2(const Float_t *firstused, Int_t num, Float_t &sum, Float_t &dsum, 61 Float_t &time, Float_t &dtime, 62 Byte_t sat, Int_t maxpos) { } 63 64 virtual void FindTimeAndChargeLoGain2(const Float_t *firstused, Int_t num, Float_t &sum, Float_t &dsum, 65 Float_t &time, Float_t &dtime, 66 Byte_t sat, Int_t maxpos) { } 67 68 // For MExtractPedestal 59 69 60 70 ClassDef(MExtractTimeAndCharge, 2) // Time And Charge Extractor Base Class
Note:
See TracChangeset
for help on using the changeset viewer.