// Author: Andrew M. Rogers <mailto, NSCL 08/01/2008
//* Copyright (C) 2006-2008 Andrew M. Rogers

#ifndef  __TAME_H
#define  __TAME_H

#include "TNucleus.h"

#include <TObjArray.h>
#include <TObject.h>


using namespace std;

class TAme : public TNamed {
 private:
  Int_t      fAmeYear;                  // Ame publication year.
  TObjArray  fAmeNuclei[119];      // Ame nuclei ordered by Z and N respectively.

 private:
  Int_t       LoadAmeFiles(Int_t AmeYear);          // Load the Ame files for a given year.

 public:
  TAme():fAmeYear(2003) {LoadAmeFiles(fAmeYear);}                // Default ctor.
  TAme(const char *name, const char *title, Int_t AmeYear=2003); //
  ~TAme() {}                                                     // dtor.

  Int_t      GetYear(){return fAmeYear;}                    // Get publication year of this Ame.
  void       SetYear(Int_t AmeYear) {fAmeYear = AmeYear; LoadAmeFiles(fAmeYear);}

  TNucleus  *GetNucleus(Int_t Z, Int_t A);                  // Get a TNucleus object using the Ame.



  void       Print(Option_t *option="");


  ClassDef(TAme,1)     // The Atomic Mass Evalution dataset.
};


#endif





Last change: Sun Dec 21 13:32:48 2008
Last generated: 2008-12-21 13:32

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.