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

#ifndef  __TTARGET_H
#define  __TTARGET_H

#ifndef  __ROOTDEFINE_H
#define  __ROOTDEFINE_H
#include "rootDefine.h"
#endif

#include "TGeoElement.h"
#include "TGeoManager.h"
#include "TObject.h"

using namespace std;

class TTarget : public TGeoElementRN{
 private:
  TGeoElementTable *fTableTar;                               //!
  TGeoElementRN    *fTarNuclei;                              //! 

 protected:
  Int_t          fLadder;                                 //! Ladder number.
  Int_t          fLadderPos;                              //! Ladder position.
  Double_t       fThickness;                              //! Target thickness in mg/cm^-2.
  
 public:
  TGeoManager      *fGeomTar;                                //!

  TTarget();
  TTarget(const char *name, const char *title, TGeoManager *fGManager,
	  Int_t ladder, Int_t ladderPos, Double_t tickness,
	  Int_t Z, Int_t A);
  TTarget(const TTarget &);                // The copy constructor.
  ~TTarget() {}

  Int_t     GetLadder()   {return fLadder;   }     //
  Int_t     GetLadderPos(){return fLadderPos;}     //
  Double_t  GetThickness(){return fThickness;}     //

  void      Print();


  ClassDef(TTarget,1)     // A fixed target.
};


#endif





Last change: Tue Dec 16 22:01:06 2008
Last generated: 2008-12-16 22:01

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.