Changeset 4335 for trunk/MagicSoft/Mars
- Timestamp:
- 06/23/04 01:10:43 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationCam.h
r4271 r4335 90 90 void SetPulserColor ( const PulserColor_t col=kCT1 ) { fPulserColor = col; } 91 91 92 ClassDef(MCalibrationCam, 2) // Base class Container for Calibration Results Camera92 ClassDef(MCalibrationCam, 3) // Base class Container for Calibration Results Camera 93 93 }; 94 94 -
trunk/MagicSoft/Mars/mcalib/MHCalibrationCam.cc
r4331 r4335 90 90 // 91 91 MHCalibrationCam::MHCalibrationCam(const char *name, const char *title) 92 : fBadPixels(NULL), fCam(NULL), fGeom(NULL), fRunHeader(NULL) 92 : fBadPixels(NULL), fCam(NULL), fGeom(NULL), fRunHeader(NULL), fDebug(kFALSE) 93 93 { 94 94 … … 789 789 { 790 790 791 791 792 if (hist.IsEmpty()) 792 793 return; 793 794 794 795 // 795 796 // 2) Fit the Hi Gain histograms with a Gaussian … … 826 827 pix.SetHiGainNumPickup ( hist.GetPickup() ); 827 828 829 if (IsDebug()) 830 { 831 *fLog << dbginf << GetDescriptor() << ": ID " << hist.GetPixId() 832 << " HiGainSaturation: " << pix.IsHiGainSaturation() 833 << " HiGainMean: " << hist.GetMean() 834 << " HiGainMeanErr: " << hist.GetMeanErr() 835 << " HiGainMeanSigma: " << hist.GetSigma() 836 << " HiGainMeanSigmaErr: " << hist.GetSigmaErr() 837 << " HiGainMeanProb: " << hist.GetProb() 838 << " HiGainNumBlackout: " << hist.GetBlackout() 839 << " HiGainNumPickup : " << hist.GetPickup () 840 << endl; 841 } 842 828 843 } 829 844 … … 890 905 pix.SetLoGainNumPickup ( hist.GetPickup() ); 891 906 907 if (IsDebug()) 908 { 909 *fLog << dbginf << GetDescriptor() << "ID: " << hist.GetPixId() 910 << " HiGainSaturation: " << pix.IsHiGainSaturation() 911 << " LoGainMean: " << hist.GetMean() 912 << " LoGainMeanErr: " << hist.GetMeanErr() 913 << " LoGainMeanSigma: " << hist.GetSigma() 914 << " LoGainMeanSigmaErr: " << hist.GetSigmaErr() 915 << " LoGainMeanProb: " << hist.GetProb() 916 << " LoGainNumBlackout: " << hist.GetBlackout() 917 << " LoGainNumPickup : " << hist.GetPickup () 918 << endl; 919 } 920 892 921 } 893 922 -
trunk/MagicSoft/Mars/mcalib/MHCalibrationCam.h
r4315 r4335 71 71 72 72 Int_t fPulserFrequency; // Light pulser frequency 73 73 Bool_t fDebug; 74 74 75 virtual Bool_t SetupHists(const MParList *pList); 75 76 virtual Bool_t ReInitHists(MParList *pList); … … 139 140 const TArrayI &GetRunNumbers () const; 140 141 const Int_t GetSize () const { return fHiGainArray->GetSize(); } 142 143 const Bool_t IsDebug () const { return fDebug; } 141 144 142 145 MHGausEvents &operator[] (UInt_t i); … … 145 148 const MHGausEvents &operator() (UInt_t i) const; 146 149 150 void SetDebug (const Bool_t b=kTRUE) { fDebug = b; } 147 151 void SetAverageNbins ( const Int_t bins=fgAverageNbins ) { fAverageNbins = bins; } 148 152 void SetNumLoGainSaturationLimit( const Float_t lim) { fNumLoGainSaturationLimit = lim; } -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r4334 r4335 987 987 } 988 988 989 MHCalibrationChargeCam chargecam; 990 989 991 plist.AddToList(&pedcam); 992 plist.AddToList(&chargecam); 990 993 plist.AddToList(&fBadPixels); 991 994 plist.AddToList(&fQECam); … … 1004 1007 calcalc.SetOutputPath(fOutputPath); 1005 1008 calcalc.SetOutputFile(Form("%s-ChargeCalibStat.txt",(const char*)fRuns->GetRunsAsFileName())); 1009 1006 1010 if (fDebug) 1007 calcalc.SetDebug(); 1011 { 1012 chargecam.SetDebug(); 1013 calcalc.SetDebug(); 1014 } 1008 1015 1009 1016 MCalibrationRelTimeCalc timecalc;
Note:
See TracChangeset
for help on using the changeset viewer.