Changeset 4609 for trunk/MagicSoft/Mars/mcalib
- Timestamp:
- 08/13/04 14:59:17 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mcalib
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.cc
r4603 r4609 1524 1524 } 1525 1525 1526 *fLog << inf << GetDescriptor() << ": Mean overall F-Factor (photons to FADC counts) " 1527 << "with area index: " << i << ": " 1528 << Form("%4.2f+-%4.2f",mean,sigma) << endl; 1526 *fLog << inf << endl; 1527 *fLog << inf << GetDescriptor() << ": Mean F-Factor " 1528 << "with area index #" << i << ": " 1529 << Form("%4.2f+-%4.2f",mean,sigma) << "fadc/ph" << endl; 1529 1530 1530 1531 lowlim [i] = 1.1; … … 1550 1551 if ( ffactor < lowlim[aidx] || ffactor > upplim[aidx] ) 1551 1552 { 1552 *fLog << warn << GetDescriptor() << ": Overall F-Factor: " 1553 << Form("%5.2f out of %3.1f sigma limit: ",ffactor,fFFactorErrLimit) 1554 << Form("[%5.2f,%5.2f] pixel %4i",lowlim[aidx],upplim[aidx],i) << endl; 1553 *fLog << warn << GetDescriptor() << ": Overall F-Factor " 1554 << Form("%5.2f",ffactor) << " out of range [" 1555 << Form("%5.2f,%5.2f",lowlim[aidx],upplim[aidx]) << "] pixel " << i << endl; 1556 1555 1557 bad.SetUncalibrated( MBadPixelsPix::kDeviatingFFactor ); 1556 1558 bad.SetUnsuitable ( MBadPixelsPix::kUnsuitableRun ); … … 1857 1859 return Form("%s/%s", (const char*)fOutputPath, (const char*)fOutputFile); 1858 1860 } 1861 1862 Int_t MCalibrationChargeCalc::ReadEnv(const TEnv &env, TString prefix, Bool_t print) 1863 { 1864 Bool_t rc = kFALSE; 1865 if (IsEnvDefined(env, prefix, "ChargeLimit", print)) 1866 { 1867 SetChargeLimit(GetEnvValue(env, prefix, "ChargeLimit", fChargeLimit)); 1868 rc = kTRUE; 1869 } 1870 1871 if (IsEnvDefined(env, prefix, "ChargeErrLimit", print)) 1872 { 1873 SetChargeErrLimit(GetEnvValue(env, prefix, "ChargeErrLimit", fChargeErrLimit)); 1874 rc = kTRUE; 1875 } 1876 1877 if (IsEnvDefined(env, prefix, "ChargeRelErrLimit", print)) 1878 { 1879 SetChargeRelErrLimit(GetEnvValue(env, prefix, "ChargeRelErrLimit", fChargeRelErrLimit)); 1880 rc = kTRUE; 1881 } 1882 if (IsEnvDefined(env, prefix, "Debug", print)) 1883 { 1884 SetDebug(GetEnvValue(env, prefix, "Debug", IsDebug())); 1885 rc = kTRUE; 1886 } 1887 if (IsEnvDefined(env, prefix, "FFactorErrLimit", print)) 1888 { 1889 SetFFactorErrLimit(GetEnvValue(env, prefix, "FFactorErrLimit", fFFactorErrLimit)); 1890 rc = kTRUE; 1891 } 1892 if (IsEnvDefined(env, prefix, "LambdaErrLimit", print)) 1893 { 1894 SetLambdaErrLimit(GetEnvValue(env, prefix, "LambdaErrLimit", fLambdaErrLimit)); 1895 rc = kTRUE; 1896 } 1897 if (IsEnvDefined(env, prefix, "LambdaCheckLimit", print)) 1898 { 1899 SetLambdaCheckLimit(GetEnvValue(env, prefix, "LambdaCheckLimit", fLambdaCheckLimit)); 1900 rc = kTRUE; 1901 } 1902 if (IsEnvDefined(env, prefix, "PheErrLimit", print)) 1903 { 1904 SetPheErrLimit(GetEnvValue(env, prefix, "PheErrLimit", fPheErrLimit)); 1905 rc = kTRUE; 1906 } 1907 // void SetPulserColor(const MCalibrationCam::PulserColor_t col) { fPulserColor = col; } 1908 1909 return rc; 1910 } -
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.h
r4603 r4609 127 127 Int_t Process (); 128 128 Int_t PostProcess(); 129 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print); 129 130 130 131 public: -
trunk/MagicSoft/Mars/mcalib/MHCalibrationCam.cc
r4603 r4609 1023 1023 } 1024 1024 1025 Int_t MHCalibrationCam::ReadEnv(const TEnv &env, TString prefix, Bool_t print) 1026 { 1027 Bool_t rc = kFALSE; 1028 if (IsEnvDefined(env, prefix, "Debug", print)) 1029 { 1030 SetDebug(GetEnvValue(env, prefix, "Debug", IsDebug())); 1031 rc = kTRUE; 1032 } 1033 1034 return rc; 1035 } -
trunk/MagicSoft/Mars/mcalib/MHCalibrationCam.h
r4602 r4609 109 109 void InitHists(MHGausEvents &hist, MBadPixelsPix &bad, const Int_t i); 110 110 111 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print); 112 111 113 public: 112 114
Note:
See TracChangeset
for help on using the changeset viewer.