 |
Belle II Software
release-05-01-25
|
14 #include <mdst/dataobjects/MCParticleGraph.h>
93 double findMax(
const double* dim,
const int num);
99 void genCosmic(
const int level,
int& charge,
100 double& dr,
double& phi,
double& Pt,
double& dz,
double& tanl);
110 void mkdist_v1(
const int charge,
double*);
115 int mkDr_pos_v1(
const double dr,
const float rndm);
120 int mkDr_neg_v1(
const double dr,
const float rndm);
135 int mkPt_pos_v1(
const double pt,
const float rndm);
140 int mkPt_neg_v1(
const double pt,
const float rndm);
145 int mkDz_pos_v1(
const double dz,
const float rndm);
150 int mkDz_neg_v1(
const double dz,
const float rndm);
165 void mkdist_v2(
const int charge,
double*);
170 int mkDr_pos_v2(
const double dr,
const float rndm);
175 int mkDr_neg_v2(
const double dr,
const float rndm);
190 int mkPt_pos_v2(
const double pt,
const float rndm);
195 int mkPt_neg_v2(
const double pt,
const float rndm);
200 int mkDz_pos_v2(
const double dz,
const float rndm);
205 int mkDz_neg_v2(
const double dz,
const float rndm);
int mkPhi_pos_v2(const double phi, const float rndm)
Generates azimuthal angle phi distributions by accept-reject method for positively charged particles.
int mkPhi_pos_v1(const double phi, const float rndm)
Generates azimuthal angle phi distributions by accept-reject method for positively charged particles.
double ipdz
Vertex restriction in z direction.
int mkDr_pos_v1(const double dr, const float rndm)
Generates vertex distributions in the radial direction dr by accept-reject method for positively char...
int mkTanl_pos_v2(const double tanl, const float rndm)
Generates tangent of the polar angle tanl distributions by accept-reject method for positively charge...
Class to build, validate and sort a particle decay chain.
int mkPhi_neg_v1(const double phi, const float rndm)
Generates azimuthal angle phi distributions by accept-reject method for negatively charged particles.
~SGCosmic()
Default destructor.
int mkPt_neg_v2(const double pt, const float rndm)
Generates transverse momentum pt distributions by accept-reject method for negatively charged particl...
int mkDr_neg_v1(const double dr, const float rndm)
Generates vertex distributions in the radial direction dr by accept-reject method for negatively.
bool setParameters(const Parameters ¶meters)
Sets the parameters for generating the Particles.
int mkDz_pos_v2(const double dz, const float rndm)
Generates z vertex dz distributions by accept-reject method for positively charged particles.
int muChargeFlag(const double)
Generates the muon charge according to the positively/negatively charged muon ratio.
int mkPt_neg_v1(const double pt, const float rndm)
Generates transverse momentum pt distributions by accept-reject method for negatively charged particl...
void mkdist_v2(const int charge, double *)
Generates distributions in 5-parameter space for different particle charges.
int mkTanl_neg_v2(const double tanl, const float rndm)
Generates tangent of the polar angle tanl distributions by accept-reject method for negatively charge...
int mkDr_neg_v2(const double dr, const float rndm)
Generates vertex distributions in the radial direction dr by accept-reject method for negatively char...
Parameters m_params
All relevant parameters.
int mkDz_neg_v2(const double dz, const float rndm)
Generates z vertex dz distributions by accept-reject method for negatively charged particles.
int mkPhi_neg_v2(const double phi, const float rndm)
Generates azimuthal angle phi distributions by accept-reject method for negatively charged particles.
Abstract base class for different kinds of events.
void mkdist_v1(const int charge, double *)
Generates distributions in 5-parameter space for different particle charges.
int mkTanl_pos_v1(const double tanl, const float rndm)
Generates tangent of the polar angle tanl distributions by accept-reject method for positively charge...
void genCosmic(const int level, int &charge, double &dr, double &phi, double &Pt, double &dz, double &tanl)
Generates cosmic events according to tabulated distributions in 5-dimensional space: dr,...
bool generateEvent(MCParticleGraph &graph)
Generates the next event and store the result in the given MCParticle graph.
double ptmin
Minimum value of the transverse momentum.
int level
Generator version: level 1 (default) or 2.
int mkDz_neg_v1(const double dz, const float rndm)
Generates z vertex dz distributions by accept-reject method for negatively charged particles.
int mkPt_pos_v1(const double pt, const float rndm)
Generates transverse momentum pt distributions by accept-reject method for positively charged particl...
double ipdr
Vertex restriction in the radial direction.
double cylindricalR
Cylindrical radius of generation.
int mkPt_pos_v2(const double pt, const float rndm)
Generates transverse momentum pt distributions by accept-reject method for positively charged particl...
double findMax(const double *dim, const int num)
Finds maximum value in an array.
int mkTanl_neg_v1(const double tanl, const float rndm)
Generates tangent of the polar angle tanl distributions by accept-reject method for negatively charge...
int mkDr_pos_v2(const double dr, const float rndm)
Generates vertex distributions in the radial direction dr by accept-reject method for positively char...
int ipRequirement
Restrict the vertex to IP or not (default)
int mkDz_pos_v1(const double dz, const float rndm)
Generates z vertex dz distributions by accept-reject method for positively charged particles.
SGCosmic()
Default constructor.