Changeset 4586 for trunk/MagicSoft/Mars/msignal
- Timestamp:
- 08/12/04 08:16:56 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/msignal
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MExtractTime.cc
r4064 r4586 83 83 // 84 84 MExtractTime::MExtractTime(const char *name, const char *title) 85 : fArrTime(NULL)85 : fArrTime(NULL), fNamePedContainer("MPedestalCam") 86 86 { 87 87 … … 129 129 130 130 131 fPedestals = (MPedestalCam*)pList->FindObject( AddSerialNumber("MPedestalCam"));131 fPedestals = (MPedestalCam*)pList->FindObject(fNamePedContainer, AddSerialNumber("MPedestalCam")); 132 132 if (!fPedestals) 133 133 { -
trunk/MagicSoft/Mars/msignal/MExtractTime.h
r4273 r4586 18 18 19 19 MArrivalTimeCam *fArrTime; // Container with the photons arrival times 20 TString fNamePedContainer; // name of the 'MPedestalCam' container 20 21 22 21 23 virtual Int_t PreProcess(MParList *pList); 22 24 virtual Bool_t ReInit(MParList *pList); … … 33 35 34 36 void SetOffsetLoGain( const Float_t f=fgOffsetLoGain) { fOffsetLoGain = f; } 37 void SetNamePedContainer(const char *name) { fNamePedContainer = name; } 38 35 39 36 40 ClassDef(MExtractTime, 0) // Arrival Time Extractor Base Class -
trunk/MagicSoft/Mars/msignal/MExtractor.cc
r4538 r4586 91 91 : fPedestals(NULL), fSignals(NULL), fRawEvt(NULL), fRunHeader(NULL), 92 92 fHiLoLast(0), fNumHiGainSamples(0.), fNumLoGainSamples(0.), 93 fSaturationLimit(fgSaturationLimit) 93 fSaturationLimit(fgSaturationLimit), fNamePedContainer("MPedestalCam") 94 94 { 95 95 fName = name ? name : "MExtractor"; … … 143 143 return kFALSE; 144 144 145 fPedestals = (MPedestalCam*)pList->FindObject( AddSerialNumber("MPedestalCam"));145 fPedestals = (MPedestalCam*)pList->FindObject(fNamePedContainer, AddSerialNumber("MPedestalCam")); 146 146 if (!fPedestals) 147 147 { -
trunk/MagicSoft/Mars/msignal/MExtractor.h
r4368 r4586 46 46 47 47 Byte_t fSaturationLimit; 48 TString fNamePedContainer; // name of the 'MPedestalCam' container 48 49 49 50 virtual void FindSignalHiGain(Byte_t *firstused, Byte_t *lowgain, Float_t &sum, Byte_t &sat) const { } … … 68 69 virtual void SetRange (Byte_t hifirst=0, Byte_t hilast=0, Byte_t lofirst=0, Byte_t lolast=0); 69 70 void SetSaturationLimit(Byte_t lim=fgSaturationLimit) { fSaturationLimit = lim; } 71 void SetNamePedContainer(const char *name) { fNamePedContainer = name; } 70 72 71 73 ClassDef(MExtractor, 0) // Signal Extractor Base Class
Note:
See TracChangeset
for help on using the changeset viewer.