 |
Belle II Software
release-05-02-19
|
12 #ifndef GENERATORS_AAFH_INTERFACE_H
13 #define GENERATORS_AAFH_INTERFACE_H
16 #include <mdst/dataobjects/MCParticleGraph.h>
65 void setMaxWeights(
double subgeneratorWeight,
double finalWeight);
120 #endif // GENERATORS_AAFH_INTERFACE_H
double getTotalCrossSectionError() const
Return error on the total cross section.
double m_minMass
minimum invariant mass
@ c_ElectonMuon
E+E- -> E+E-Mu+Mu-.
Class to build, validate and sort a particle decay chain.
std::string getParticle() const
Get the particle type for modes c_MuonParticle and c_ElectronParticle.
std::vector< double > getSuppressionLimits() const
Get suppression limits.
void updateParticle(MCParticleGraph::GraphParticle &p, double *q, int pdg, bool isInitial=false)
update particle with generated values
void setSupressionLimits(std::vector< double > limits)
Set the suppression limits when calculation the matrix elements.
std::string m_particle
name of the particle for modes c_MuonParticle and c_ElectronParticle
void setMaxTries(int tries)
Set the maximum number of tries to generate an event.
void finish()
calculate total cross section
Class to inferface AAFH/DIAG36 Generator written in Fortran.
double getTotalCrossSection() const
Return total cross section.
void setParticle(const std::string &particle)
Set the particle type for modes c_MuonParticle and c_ElectronParticle.
@ c_ElectonElectron
E+E- -> E+E-E+E-.
std::vector< double > getGeneratorWeights() const
Get the relative weights for the sub generators.
@ c_MuonMuon
E+E- -> Mu+Mu-Mu+Mu-.
@ c_MuonParticle
E+E- -> Mu+Mu-L+L- where L can be anything, defaults to tau.
double getMinimumMass() const
Get the minimum invariant mass for the generated event.
void setGeneratorWeights(const std::vector< double > &weights)
Set the relative weights for the sub generators.
Abstract base class for different kinds of events.
@ c_Once
Apply rejection only once for the final event.
void initialize(double beamEnergy, EMode mode, ERejection rejection)
initialize the generator
int m_particlePDG
pdg of the particle for modes c_MuonParticle and c_ElectronParticle, gets set in initialize()
ERejection
Rejection mode.
double getMaxFinalWeight() const
Get the maximum expected subgenerator weight for the rejection method.
int getMaxTries() const
Get the maximum number of tries to generate an event.
@ c_ElectronParticle
E+E- -> E+E-L+L- where L can be anything, defaults to tau.
AAFHInterface()=default
Default Constructor.
void generateEvent(MCParticleGraph &mpg)
generate one event and add it to the graph in CMS
void setMinimumMass(double minMass)
Set the minimum invariant mass for the generated event.
double getMaxSubGeneratorWeight() const
Get the maximum expected final weight for the rejection method.
void setMaxWeights(double subgeneratorWeight, double finalWeight)
Set the maximum expected weights for the rejection method.
@ c_Twice
Apply rejection first for each sub generator and then for the final event.
Class to represent Particle data in graph.