Changeset 4908 for trunk/MagicSoft/Mars/mcalib/MCalibrationRelTimeCalc.h
- Timestamp:
- 09/09/04 17:56:49 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationRelTimeCalc.h
r4882 r4908 19 19 #endif 20 20 21 class MCalibrationIntensityRelTimeCam; 21 22 class MCalibrationRelTimeCam; 22 23 class MGeomCam; … … 30 31 31 32 // Variables 32 Float_t fRelTimeResolutionLimit; // Limit acceptance rel. time resolution (in FADC slices) 33 Byte_t fFlags; // Bit-field for the flags 34 35 TString fOutputPath; // Path to the output file 36 TString fOutputFile; // Name of the output file 33 Float_t fRelTimeResolutionLimit; // Limit acceptance rel. time resolution (in FADC slices) 34 TString fOutputPath; // Path to the output file 35 TString fOutputFile; // Name of the output file 37 36 38 37 // Pointers 39 MBadPixelsCam *fBadPixels; // Bad Pixels 40 MCalibrationRelTimeCam *fCam; // Calibrated RelTimes of all pixels 41 MGeomCam *fGeom; //! Camera geometry 38 MBadPixelsCam *fBadPixels; // Bad Pixels 39 MCalibrationIntensityRelTimeCam *fIntensCam; // Calibrated RelTimes for different intensities 40 MCalibrationRelTimeCam *fCam; // Calibrated RelTimes of all pixels 41 MGeomCam *fGeom; //! Camera geometry 42 42 43 // enums 44 enum { kHiLoGainCalibration }; 43 enum { kDebug }; // Possible flags 45 44 45 Byte_t fFlags; // Bit-field for the general flags 46 46 47 // functions 47 const char* GetOutputFile ();48 const char* GetOutputFile (); 48 49 void FinalizeAverageResolution(); 49 void FinalizeRelTimes ();50 void FinalizeBadPixels ();51 void FinalizeUnsuitablePixels ();50 void FinalizeRelTimes (); 51 void FinalizeBadPixels (); 52 void FinalizeUnsuitablePixels (); 52 53 53 54 void PrintUncalibrated( MBadPixelsPix::UncalibratedType_t typ, const char *text) const; … … 64 65 void Clear(const Option_t *o=""); 65 66 66 void SetOutputPath ( TString path="." ); 67 void SetOutputFile ( TString file="TimeCalibStat.txt" ) { fOutputFile = file; } 68 void SetRelTimeResolutionLimit ( const Float_t f=fgRelTimeResolutionLimit ) { fRelTimeResolutionLimit = f; } 67 Bool_t IsDebug() const { return TESTBIT(fFlags,kDebug); } 69 68 70 void SkipHiLoGainCalibration ( const Bool_t b=kTRUE ) 71 { b ? CLRBIT(fFlags, kHiLoGainCalibration) : SETBIT(fFlags, kHiLoGainCalibration); } 69 void SetDebug ( const Bool_t b=kTRUE ) { b ? SETBIT(fFlags,kDebug) : CLRBIT(fFlags,kDebug); } 70 void SetOutputPath ( TString path="." ); 71 void SetOutputFile ( TString file="TimeCalibStat.txt" ) { fOutputFile = file; } 72 void SetRelTimeResolutionLimit( const Float_t f=fgRelTimeResolutionLimit ) { fRelTimeResolutionLimit = f; } 72 73 73 74 ClassDef(MCalibrationRelTimeCalc, 1) // Task finalizing the relative time Calibration
Note:
See TracChangeset
for help on using the changeset viewer.