Ignore:
Timestamp:
08/20/07 11:04:58 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhflux/MMcSpectrumWeight.h

    r7688 r8680  
    7777
    7878    // 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); }
    8285
    8386    TString GetFormulaSpecOldX() const { return ReplaceX(GetFormulaSpecOld()); }
     
    8588    TString GetFormulaWeightsX() const { return ReplaceX(GetFormulaWeights()); }
    8689
    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); }
    8995
    9096    Double_t CalcSpecNew(Double_t e) const;
     
    9399    Double_t GetEnergyMin() const { return fEnergyMin; }
    94100    Double_t GetEnergyMax() const { return fEnergyMax; }
     101
     102    // Functions
     103    void CompleteEnergySpectrum(TH1 &h, Double_t emin) const;
    95104
    96105    // TObject
Note: See TracChangeset for help on using the changeset viewer.