 |
Belle II Software
release-05-01-25
|
13 #include <mdst/dataobjects/MCParticleGraph.h>
15 #include <TLorentzRotation.h>
72 {
for (
int i = 0; i < 4; i++)
p1[i] =
p2[i] =
q1[i] =
q2[i] =
qk[i] = 0.0;}
86 void init(
double cmsEnergy,
double minPhotonEFrac,
bool unweighted =
true,
double maxWeight = 2000.0,
int densitymode = 1,
87 double densityparameter = 1.68e-17);
169 bool isVirtual =
false,
bool isInitial =
false);
173 static constexpr
double tomb = 3.8937966e5 / 1e6;
174 static constexpr
double twopi = 2.0 * M_PI;
double m_sumWeightDelivered
The sum of all weights returned by the BBBrem generation.
double getCrossSectionError()
Returns the error on the total cross section of the generated process in millibarn.
double getSumWeightDelivered()
Returns the sum of all weights returned by the BBBrem generation.
bool m_unweighted
True if BBBrem should produce unweighted events.
long m_weightCount
Internal weighted event counter.
double m_maxWeightDelivered
The maximum weight given by the BBBrem generation.
Class to build, validate and sort a particle decay chain.
double m_photonEFrac
Minimum photon energy fraction.
static constexpr double tomb
Conversion factor (hc)^2.
double m_densityCorrectionParameter
Density correction parameter tc.
long m_weightCountOver
Internal overweighted event counter.
void init(double cmsEnergy, double minPhotonEFrac, bool unweighted=true, double maxWeight=2000.0, int densitymode=1, double densityparameter=1.68e-17)
Initializes the generator.
double m_crossSectionOver
The overweight bias cross-section in millibarns.
double m_crossSectionErrorOver
The overweight bias error on the cross-section in millibarns.
int m_densityCorrectionMode
Mode for bunch density correction.
void calcOutgoingLeptonsAndWeight()
Calculate the outgoing leptons and the event weight for one single radiative Bhabha scattering.
void storeParticle(MCParticleGraph &mcGraph, const double *mom, int pdg, TVector3 vertex, TLorentzRotation boost, bool isVirtual=false, bool isInitial=false)
Store a single generated particle into the MonteCarlo graph.
double m_sumWeightDeliveredSqrOver
The square of the sum of all overweights.
double getCrossSection()
Returns the total cross section of the generated process in millibarn.
Abstract base class for different kinds of events.
double m_crossSectionError
The error on the cross-section in millibarns.
double getMaxWeightDelivered()
Returns the maximum weight given by the BBBrem generation.
double getCrossSectionErrorOver()
Returns the error on the total overweight bias cross section of the generated process in millibarn.
int m_eventCount
Internal event counter.
double m_crossSection
The cross-section in millibarns.
double m_maxWeight
The maximum weight.
double m_sumWeightDeliveredOver
The sum of all overweights.
double getCrossSectionOver()
Returns the total overweight bias cross section of the generated process in millibarn.
double generateEvent(MCParticleGraph &mcGraph, TVector3 vertex, TLorentzRotation boost)
Generates one single event.
void term()
Terminates the generator.
double m_sumWeightDeliveredSqr
The square of the sum of all weights returned by the BBBrem generation.
static constexpr double twopi
2*pi.
double m_cmsEnergy
Center of mass energy (sqrt(s)).