HerwigGenerator
class description - source file - inheritance tree
public:
HerwigGenerator(const Char_t* name = "HerwigGenerator", const Char_t* title = "Herwig Event Generator", Option_t* opt)
HerwigGenerator(const HerwigGenerator&)
virtual ~HerwigGenerator()
virtual Bool_t BeginRun(Int_t nrun)
static TClass* Class()
virtual Bool_t EndRun()
Int_t GetBeamStrahlung()
const JSFBeamGenerationCain* GetBS() const
const TString& GetBSName() const
virtual void GetChargeCtau(Int_t pdgcode, Float_t& charge, Float_t& ctau)
Double_t GetEcm()
Double_t GetEMinus()
Double_t GetEPlus()
Float_t GetEventWeight()
THerwig* GetHerwig()
Int_t GetIPROC()
virtual Int_t HepevtToGeneratorParticles(COMMON_HEPEVT_t* hepevt)
virtual Bool_t Initialize()
virtual TClass* IsA() const
virtual Bool_t Process(Int_t ev = 1)
void SetBeamStrahlung(Int_t ibs)
void SetEcm(Double_t ecm)
void SetEventWeight(Float_t weight)
void SetIPROC(Int_t i)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
virtual Bool_t Terminate()
private:
static THerwig* fHerwig !
Double_t fEcm Center of mass energy (GeV)
Int_t fIPROC Process number
Int_t fIBRN[2]
TFile* fBSFile ! Beamstrahlung file
JSFBeamGenerationCain* fBS Beamstrahlung spectrum
Double_t fEcmMax ! Abolutely max ECM energy
TString fBSname Name of BS spectrum
Double_t fBSwidth half-width of BS spectrum
Int_t fPrintStat ! call PYSTAT at the end run if not equal 0.
Float_t fEventWeight ! Weight of current event.
Int_t fBeamStrahlung > 0 to include beam strahlung.
Double_t fEMinus !
Double_t fEPlus !
Int_t fNBSGen
Int_t fNBSGood
Double_t fBSThreshold
Herwig Generator class
$Id: HerwigGenerator.cxx,v 1.3 2002/11/28 12:18:51 miyamoto Exp $
HerwigGenerator(const Char_t *name,
const Char_t *title, const Char_t *opt)
: JSFGenerator(name,title, opt)
~HerwigGenerator()
Bool_t Initialize()
Initializer of Pythia generator
Bool_t BeginRun(Int_t nrun)
Bool_t EndRun()
Bool_t Process(Int_t ev)
Generate one pythia event, and results are saved in the
GeneratorParticle class for JSF simulators
void GetChargeCtau(Int_t i, Float_t &charge, Float_t &xctau)
Returns charge of i-th particle in HEPEVT buffer
Int_t HepevtToGeneratorParticles(COMMON_HEPEVT_t *hepevt)
Converts particles information of TParticle format (HEPEVT) to
JSFGeneratorParticles format
Bool_t Terminate()
Inline Functions
Double_t GetEMinus()
Double_t GetEPlus()
const JSFBeamGenerationCain* GetBS() const
const TString& GetBSName() const
void SetIPROC(Int_t i)
Int_t GetIPROC()
void SetEcm(Double_t ecm)
Double_t GetEcm()
THerwig* GetHerwig()
Int_t GetBeamStrahlung()
void SetBeamStrahlung(Int_t ibs)
void SetEventWeight(Float_t weight)
Float_t GetEventWeight()
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
HerwigGenerator HerwigGenerator(const HerwigGenerator&)
Last update: Tue Jan 20 15:56:19 2004
ROOT page - Home page - Class index - Top of the page
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.