#ifndef MClass_TAtomModel #define MClass_TAtomModel #ifndef ROOT_Named #include "TNamed.h" #endif #ifndef ROOT_TList #include "TList.h" #endif #ifndef MClass_TModelFunction #include "TModelFunction.h" #endif #ifndef ROOT_TMath #include "TMath.h" #endif #ifndef ROOT_TString #include "TString.h" #endif #ifndef My_MoocFunc #include "MoocFunc.h" #endif #ifndef My_MoocXRay #include "MoocXRay.h" #endif #ifndef MClass_TXRayAbsorber #include "TXRayAbsorber.h" #endif class TModelFunction; class TAtomModel : public TNamed { protected: Int_t fNpeaks; Int_t fSiEsc; Double_t fEscEn; Double_t *fEnergies; //[fNpeaks] Double_t *fIntRat; //! Double_t *fInten; //[fNpeaks] Double_t *fIntenAbs; //[fNpeaks] Double_t *fLorentzW; //[fNpeaks] TString *fLineNames; //[fNpeaks] TXRayAbsorber *fAbsorber; TModelFunction *fTFoonc; void MakeFoonc(); void BuildMe(); public: TAtomModel(); TAtomModel(const char* name, Double_t *energ = 0, Double_t *inten = 0, Double_t *lorwi = 0); ~TAtomModel(); TModelFunction *GetFoonc(); void SetAbsorber(TXRayAbsorber *absorber); void SetSiEscape(Int_t Siesc = 1); ClassDef(TAtomModel, 1) }; #endif