Changeset 5803 for trunk/MagicSoft/Mars/mfilter
- Timestamp:
- 01/11/05 16:46:58 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mfilter
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfilter/MFCosmics.cc
r3822 r5803 61 61 62 62 using namespace std; 63 64 const TString MFCosmics::fgNamePedestalCam = "MPedestalCam"; 65 63 66 // -------------------------------------------------------------------------- 64 67 // … … 66 69 // 67 70 MFCosmics::MFCosmics(const char *name, const char *title) 68 : fPedestals(NULL), fSignals(NULL), 69 fRawEvt(NULL), fMaxEmptyPixels(0.2)71 : fPedestals(NULL), fSignals(NULL), fRawEvt(NULL), 72 fNamePedestalCam(fgNamePedestalCam), fMaxEmptyPixels(0.2) 70 73 { 71 74 fName = name ? name : "MFCosmics"; … … 89 92 } 90 93 91 fPedestals = (MPedestalCam*)pList->FindObject( "MPedestalCam");94 fPedestals = (MPedestalCam*)pList->FindObject(fNamePedestalCam, "MPedestalCam"); 92 95 if (!fPedestals) 93 96 { 94 *fLog << err << "MPedestalCamnot found... aborting." << endl;97 *fLog << err << fNamePedestalCam << " [MPedestalCam] not found... aborting." << endl; 95 98 return kFALSE; 96 99 } -
trunk/MagicSoft/Mars/mfilter/MFCosmics.h
r3262 r5803 14 14 { 15 15 private: 16 static const TString fgNamePedestalCam; 17 16 18 MPedestalCam *fPedestals; // Pedestals of all pixels in the camera 17 19 MExtractedSignalCam *fSignals; // Calibration events of all pixels in the camera 18 20 19 21 MRawEvtData *fRawEvt; // raw event data (time slices) 22 23 TString fNamePedestalCam; 20 24 21 25 Int_t fCut[2]; … … 40 44 Float_t GetMaxEmptyPixels() const { return fMaxEmptyPixels; } 41 45 46 void SetNamePedestalCam(const char *name) { fNamePedestalCam = name; } 47 42 48 ClassDef(MFCosmics, 0) // Filter to perform a cosmics rejection 43 49 };
Note:
See TracChangeset
for help on using the changeset viewer.