#ifndef ROOT_THaBeamEloss
#define ROOT_THaBeamEloss

// THaBeamEloss

#include "THaElossCorrection.h"
#include "THaBeamModule.h"

class THaBeamEloss : public THaElossCorrection, public THaBeamModule {
  THaBeamEloss( const char* name, const char* description,
		const char* input_beam = "" );
  virtual ~THaBeamEloss();
  virtual void      Clear( Option_t* opt="" );

  virtual EStatus   Init( const TDatime& run_time );
  virtual Int_t     Process( const THaEvData& );


  THaBeamModule*    fBeamModule; // Pointer to beam module

  // Function for updating fEloss based on input beamifo.
  virtual void      CalcEloss( THaBeamInfo* beamifo );

  // Setup functions
  virtual Int_t DefineVariables( EMode mode = kDefine );

  ClassDef(THaBeamEloss,0)   //Beam energy loss correction module


Last change: Sat Nov 7 21:26:43 2009
Last generated: 2009-11-07 21:26

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.