Changeset 7169 for trunk/MagicSoft/Mars/mhflux
- Timestamp:
- 06/17/05 13:33:56 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mhflux
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhflux/MAlphaFitter.cc
r7152 r7169 624 624 rc = kTRUE; 625 625 } 626 626 if (IsEnvDefined(env, prefix, "Scale", print)) 627 { 628 fScaleUser = GetEnvValue(env, prefix, "Scale", fScaleUser); 629 rc = kTRUE; 630 } 627 631 if (IsEnvDefined(env, prefix, "ScaleMode", print)) 628 632 { … … 644 648 if (txt==(TString)"userscale") 645 649 fScaleMode = kUserScale; 646 rc = kTRUE; 647 } 648 if (IsEnvDefined(env, prefix, "Signalfunction", print)) 650 if (txt==(TString)"fixed") 651 { 652 fScaleMode = kUserScale; 653 fScaleUser = fScaleFactor; 654 cout << "---------> " << fScaleFactor << " <----------" << endl; 655 } 656 rc = kTRUE; 657 } 658 if (IsEnvDefined(env, prefix, "SignalFunction", print)) 649 659 { 650 660 TString txt = GetEnvValue(env, prefix, "SignalFunction", ""); … … 657 667 rc = kTRUE; 658 668 } 659 if (IsEnvDefined(env, prefix, "Scale", print)) 660 { 661 fScaleUser = GetEnvValue(env, prefix, "Scale", fScaleUser); 662 rc = kTRUE; 663 } 664 665 return rc; 666 } 669 670 return rc; 671 } -
trunk/MagicSoft/Mars/mhflux/MAlphaFitter.h
r7151 r7169 51 51 Int_t fPolynomOrder; // order of polyom to be fitted to the background 52 52 Bool_t fFitBackground; // Backround fit: yes/no 53 SignalFunc_t fSignalFunc; // Type of signal function53 SignalFunc_t fSignalFunc; // Type of signal function 54 54 // Result 55 55 Double_t fSignificance; // significance of signal … … 61 61 Double_t fChiSqBg; // Reduced (chi^2/NDF) chisq of bg fit 62 62 Double_t fIntegralMax; // Calculated bin border to which it was integrated 63 Double_t fScaleFactor; // Scale factor for off-data63 Double_t fScaleFactor; // Scale factor determined for off-data 64 64 65 65 TArrayD fCoefficients; // Fit result
Note:
See TracChangeset
for help on using the changeset viewer.