Changeset 8680 for trunk/MagicSoft/Mars/mhflux/MMcSpectrumWeight.h
- Timestamp:
- 08/20/07 11:04:58 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhflux/MMcSpectrumWeight.h
r7688 r8680 77 77 78 78 // Getter 79 TString GetFormulaSpecOld() const; 80 TString GetFormulaSpecNew() const; 81 TString GetFormulaWeights() const; 79 TString GetFormulaSpecOld(const char *name) const; 80 TString GetFormulaSpecNew(const char *name) const; 81 TString GetFormulaWeights(const char *name) const; 82 TString GetFormulaSpecOld() const { return GetFormulaSpecOld(fNameMcEvt); } 83 TString GetFormulaSpecNew() const { return GetFormulaSpecNew(fNameMcEvt); } 84 TString GetFormulaWeights() const { return GetFormulaWeights(fNameMcEvt); } 82 85 83 86 TString GetFormulaSpecOldX() const { return ReplaceX(GetFormulaSpecOld()); } … … 85 88 TString GetFormulaWeightsX() const { return ReplaceX(GetFormulaWeights()); } 86 89 87 Double_t GetSpecNewIntegral() const; 88 Double_t GetSpecOldIntegral() const; 90 Double_t GetSpecNewIntegral(Double_t emin, Double_t emax) const; 91 Double_t GetSpecOldIntegral(Double_t emin, Double_t emax) const; 92 93 Double_t GetSpecNewIntegral() const { return GetSpecNewIntegral(fEnergyMin, fEnergyMax); } 94 Double_t GetSpecOldIntegral() const { return GetSpecOldIntegral(fEnergyMin, fEnergyMax); } 89 95 90 96 Double_t CalcSpecNew(Double_t e) const; … … 93 99 Double_t GetEnergyMin() const { return fEnergyMin; } 94 100 Double_t GetEnergyMax() const { return fEnergyMax; } 101 102 // Functions 103 void CompleteEnergySpectrum(TH1 &h, Double_t emin) const; 95 104 96 105 // TObject
Note:
See TracChangeset
for help on using the changeset viewer.