#ifndef ROOT_THaPhotoReaction
#define ROOT_THaPhotoReaction
#include "THaPhysicsModule.h"
#include "TLorentzVector.h"
#include "TString.h"
class THaTrackingModule;
class THaBeamModule;
class THaPhotoReaction : public THaPhysicsModule {
public:
THaPhotoReaction( const char* name, const char* description,
const char* spectro = "");
THaPhotoReaction( const char* name, const char* description,
const char* spectro, const char* beam );
virtual ~THaPhotoReaction();
virtual void Clear( Option_t* opt="" );
virtual EStatus Init( const TDatime& run_time );
virtual Int_t Process( const THaEvData& );
void SetSpectrometer( const char* name );
void SetBeam( const char* name );
protected:
TLorentzVector fP1;
Double_t fEGamma;
Double_t fScatAngle;
Double_t fScatAngleCM;
Double_t fMA;
virtual Int_t DefineVariables( EMode mode = kDefine );
TString fSpectroName;
TString fBeamName;
THaTrackingModule* fSpectro;
THaBeamModule* fBeam;
ClassDef(THaPhotoReaction,0)
};
#endif
Last change: Sat Nov 7 21:26:49 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.