Changeset 8258 for trunk/MagicSoft/Mars/msignal
- Timestamp:
- 01/16/07 14:12:57 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/msignal
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MExtractedSignalPix.h
r8154 r8258 18 18 Byte_t fNumLoGainSaturated; // Number of how many lo-gain slices saturated 19 19 20 Byte_t GetNumHiGainSaturated() const { return fNumHiGainSaturated; }21 Byte_t GetNumLoGainSaturated() const { return fNumLoGainSaturated; }22 23 20 public: 24 21 MExtractedSignalPix(const char* name=NULL, const char* title=NULL); … … 39 36 Float_t GetExtractedSignalLoGainError() const { return fExtractedSignalLoGainError; } 40 37 38 Byte_t GetNumHiGainSaturated() const { return fNumHiGainSaturated; } 39 Byte_t GetNumLoGainSaturated() const { return fNumLoGainSaturated; } 40 41 41 Bool_t IsHiGainSaturated() const { return fNumHiGainSaturated>0; } 42 42 Bool_t IsLoGainSaturated() const { return fNumLoGainSaturated>0; } -
trunk/MagicSoft/Mars/msignal/MExtractor.cc
r8154 r8258 64 64 //End_Html 65 65 // 66 // 66 67 // Class Version 6: 67 // +Float_t fResolutionPerPheHiGain; // Extractor-dependent charge resolution per phe for high-gain (see TDAS-0502). 68 // +Float_t fResolutionPerPheLoGain; // Extractor-dependent charge resolution per phe for low-gain (see TDAS-0502). 68 // ---------------- 69 // + Float_t fResolutionPerPheHiGain; // Extractor-dependent charge resolution per phe for high-gain (see TDAS-0502). 70 // + Float_t fResolutionPerPheLoGain; // Extractor-dependent charge resolution per phe for low-gain (see TDAS-0502). 71 // 72 // Class Version 7: 73 // ---------------- 74 // - Byte_t fHiLoLast; // Number of slices in fLoGainSamples counted for the High-Gain signal 69 75 // 70 76 // … … 119 125 // - fNoiseCalculation to kFALSE 120 126 // 121 // Call:122 // - AddToBranchList("MRawEvtData.*")123 //124 127 MExtractor::MExtractor(const char *name, const char *title) 125 128 : fResolutionPerPheHiGain(0), fResolutionPerPheLoGain(0), … … 131 134 fTitle = title ? title : "Base class for signal extractors"; 132 135 133 AddToBranchList("MRawEvtData.*");134 135 136 SetNamePedestalCam(); 136 137 SetNameSignalCam(); … … 142 143 void MExtractor::SetRange(Byte_t hifirst, Byte_t hilast, Byte_t lofirst, Byte_t lolast) 143 144 { 144 145 Clear(); 146 147 fHiGainFirst = hifirst; 148 fHiGainLast = hilast; 149 150 fLoGainFirst = lofirst; 151 fLoGainLast = lolast; 145 fHiGainFirst = hifirst; 146 fHiGainLast = hilast; 147 148 fLoGainFirst = lofirst; 149 fLoGainLast = lolast; 152 150 } 153 151 … … 324 322 Int_t MExtractor::Process() 325 323 { 326 324 return kERROR; 325 /* 327 326 MRawEvtPixelIter pixel(fRawEvt); 328 327 … … 353 352 pix.SetGainSaturation(sathi, satlo); 354 353 355 } /* while (pixel.Next()) */354 } 356 355 357 356 fSignals->SetReadyToSave(); 358 357 359 358 return kTRUE; 359 */ 360 360 } 361 361 -
trunk/MagicSoft/Mars/msignal/MExtractor.h
r8154 r8258 121 121 void Print(Option_t *o="") const; //*MENU* 122 122 123 ClassDef(MExtractor, 6) // Signal Extractor Base Class123 ClassDef(MExtractor, 7) // Signal Extractor Base Class 124 124 }; 125 125
Note:
See TracChangeset
for help on using the changeset viewer.