Changeset 6302 for trunk/MagicSoft/Mars/mjobs/MJPedestal.h
- Timestamp:
- 02/09/05 10:04:53 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJPedestal.h
r6281 r6302 2 2 #define MARS_MJPedestal 3 3 4 #ifndef MARS_MJob 5 #include "MJob.h" 6 #endif 4 7 #ifndef MARS_MJCalib 5 8 #include "MJCalib.h" … … 7 10 #ifndef MARS_MPedestalCam 8 11 #include "MPedestalCam.h" 12 #endif 13 #ifndef MARS_MHPedestalCam 14 #include "MHPedestalCam.h" 9 15 #endif 10 16 #ifndef MARS_MBadPixelsCam … … 20 26 class MEvtLoop; 21 27 22 class MJPedestal : public MJ Calib28 class MJPedestal : public MJob, public MJCalib 23 29 { 24 30 private: 25 31 26 32 static const TString fgReferenceFile; //! default for fReferenceFile ("pedestalref.rc") 33 static const TString fgBadPixelsFile; //! default for fBadPixelsFile ("badpixels_0_559.rc") 27 34 28 35 Axis_t fPedestalMin; //! Minimum Axis value for pedestal datacheck display … … 43 50 Float_t fRefPedRmsGalacticOuter; //! Ref. line ped. RMS for galactic source - outer pixels 44 51 45 TString fReferenceFile; // File name containing the reference values 46 52 TString fReferenceFile; // File name containing the reference values 53 TString fBadPixelsFile; // File name containing the bad pixels excluded beforehand 54 47 55 MExtractor *fExtractor; // Signal extractor, used to find the nr. of used FADC slices 48 56 … … 50 58 MPedestalCam fPedestalCamOut; // Created pedestal results 51 59 MBadPixelsCam fBadPixels; // Bad Pixels 52 60 MHPedestalCam fPedestalHist; // Histogramming pedestal Camera 61 53 62 enum Display_t { kDisplayNone, kDisplayNormal, kDisplayDataCheck }; // Possible Display types 54 63 Display_t fDisplayType; // Chosen Display type … … 76 85 77 86 Bool_t CheckEnvLocal(); 78 void ReadReferenceFile();79 87 80 88 const char* GetOutputFileName() const; … … 89 97 const char* GetOutputFile() const; 90 98 99 MHPedestalCam &GetPedestalHist() { return fPedestalHist; } 100 91 101 const Bool_t IsUseData() const { return fExtractType == kUseData; } 92 102 … … 108 118 void SetExtractionWithExtractor() { fExtractionType=kWithExtractor; /*fPedestalCamOut.SetName("MPedestalExtractor");*/ } 109 119 110 void SetReferenceFile( const TString ref=fgReferenceFile) { fReferenceFile = ref; } // Only usefull to overwrite CheckEnvLocal-default 120 void SetReferenceFile( const TString ref=fgReferenceFile ) { fReferenceFile = ref; } 121 void SetBadPixelsFile( const TString ref=fgBadPixelsFile ) { fBadPixelsFile = ref; } 111 122 112 123 MExtractor *GetExtractor() const { return fExtractor; }
Note:
See TracChangeset
for help on using the changeset viewer.