Ignore:
Timestamp:
02/09/05 10:04:53 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mjobs/MJPedestal.h

    r6281 r6302  
    22#define MARS_MJPedestal
    33
     4#ifndef MARS_MJob
     5#include "MJob.h"
     6#endif
    47#ifndef MARS_MJCalib
    58#include "MJCalib.h"
     
    710#ifndef MARS_MPedestalCam
    811#include "MPedestalCam.h"
     12#endif
     13#ifndef MARS_MHPedestalCam
     14#include "MHPedestalCam.h"
    915#endif
    1016#ifndef MARS_MBadPixelsCam
     
    2026class MEvtLoop;
    2127
    22 class MJPedestal : public MJCalib
     28class MJPedestal : public MJob, public MJCalib
    2329{
    2430private:
    2531
    2632    static const TString  fgReferenceFile;   //! default for fReferenceFile ("pedestalref.rc")
     33    static const TString  fgBadPixelsFile;   //! default for fBadPixelsFile ("badpixels_0_559.rc")
    2734
    2835    Axis_t fPedestalMin;                     //! Minimum Axis value for pedestal datacheck display
     
    4350    Float_t fRefPedRmsGalacticOuter;         //! Ref. line ped. RMS for galactic source - outer pixels
    4451
    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   
    4755    MExtractor *fExtractor;                  // Signal extractor, used to find the nr. of used FADC slices
    4856
     
    5058    MPedestalCam  fPedestalCamOut;           // Created pedestal results
    5159    MBadPixelsCam fBadPixels;                // Bad Pixels
    52 
     60    MHPedestalCam fPedestalHist;             // Histogramming pedestal Camera
     61   
    5362    enum Display_t { kDisplayNone, kDisplayNormal, kDisplayDataCheck }; // Possible Display types
    5463    Display_t fDisplayType;                  // Chosen Display type
     
    7685
    7786    Bool_t CheckEnvLocal();
    78     void ReadReferenceFile();
    7987
    8088    const char*  GetOutputFileName() const;
     
    8997    const char*  GetOutputFile() const;
    9098
     99    MHPedestalCam &GetPedestalHist()   { return fPedestalHist;  }
     100   
    91101    const Bool_t IsUseData() const { return fExtractType == kUseData; }
    92102
     
    108118    void SetExtractionWithExtractor()     { fExtractionType=kWithExtractor;     /*fPedestalCamOut.SetName("MPedestalExtractor");*/     }
    109119
    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; }
    111122
    112123    MExtractor *GetExtractor() const { return fExtractor; }
Note: See TracChangeset for help on using the changeset viewer.