Belle II Software development
generators modules

Classes

class  AafhInputModule
 AAFH Generator to generate 2-fermion events like e+e- -> e+e-e+e-. More...
 
class  BabayagaNLOInputModule
 The Babayaga.NLO Generator module. More...
 
class  BBBremInputModule
 The BBBrem Generator module. More...
 
class  BHWideInputModule
 The BHWide Generator module.vectorToPair. More...
 
class  CRYInputModule
 The CRY Generator module. More...
 
class  EvtGenDecayModule
 This module decays unstable particles using EvtGen. More...
 
class  EvtGenInputModule
 The EvtGenInput module. More...
 
class  FragmentationRndm
 Minimal class for external random generator to be used in PYTHIA. More...
 
class  FragmentationModule
 The Fragmentation module. More...
 
class  HepMCInputModule
 The HepMCInput module. More...
 
class  HepMCOutputModule
 The HepMCOutput module. More...
 
class  BeamParametersModule
 Setting of beam parameters. More...
 
class  BoostMCParticlesModule
 Module for boosting the MCParticles from CM to LAB frame. More...
 
class  CosmicsModule
 The Cosmics module Generates tracks with the cosmics generator and store them into the MCParticle class. More...
 
class  EventT0GeneratorModule
 Module generates discrete event t0 in ~4ns steps (bunch spacing) according to (double) gaussian distribution and adds it to the production and decay times of MCParticles. More...
 
class  EventT0ShifterModule
 Module that shifts the time of all MCParticles so that the collision is at t=0. More...
 
class  GeneratedVertexDisplacerModule
 "Takes a list of PDG values and lifetime paramters to displaces the vertex of MCParticles with matching PDG value and their subsequent daughters corresponding to the given lifetime parameter(s). Can be used between the generator and the detector simulation. Lifetime options are "flat", "fixed" and "exponential" where the lifetime(s) should be passed as c*tau in units of [cm]. Furthermore, a "fixedLength" option can be used where the lifetime parameter takes the desired fixed decaylength in units of [cm]. More...
 
class  GeneratorBaseModule
 The base module for generator modules, which sets the generator information as EventExtraInfo. More...
 
class  GeneratorPreselectionLeptonicModule
 generator filtering More...
 
class  GeneratorPreselectionModule
 generator preselection More...
 
class  HepevtInputModule
 The HepevtInput module. More...
 
class  HepevtOutputModule
 The HepevtOutput module. More...
 
class  InclusiveParticleCheckerModule
 Check for the existence of an inclusive particle in the list of generated particles. More...
 
class  LHEInputModule
 The LHEInput module. More...
 
class  OverrideGenerationFlagsModule
 Ovverride generation flags. More...
 
class  ParticleGunModule
 The ParticleGun module. More...
 
class  PrintTauTauMCParticlesModule
 The PrintTauTauMCParticles module. More...
 
class  RemoveMCParticlesModule
 The RemoveMCParticles module. More...
 
class  SADInputModule
 The SAD Input module. More...
 
class  SmearPrimaryVertexModule
 This module smears the primary vertex (the interaction point) according to the values stored in BeamParameters. More...
 
class  TouschekTURTLEInputModule
 The TouschekTURTLE Input module. More...
 
class  KKGenInputModule
 The KKGenInput module. More...
 
class  KoralWInputModule
 The KoralW Generator module. More...
 
class  PairGenModule
 The PairGen module. More...
 
class  PhokharaInputModule
 The Phokhara Generator module.vectorToPair. More...
 
class  TeeggInputModule
 The TEEGG Generator module.vectorToPair. More...
 
class  TrepsInputModule
 Input from TREPS generator for ee->eeff. More...
 

Functions

template<typename T >
std::vector< T > make_vector (T const &t1, T const &t2)
 make_vector.
 
template<typename T >
std::pair< T, T > vectorToPair (std::vector< T > &vec, const std::string &name="")
 
template<typename T >
std::vector< T > make_vector (T const &t1, T const &t2)
 make_vector.
 
template<typename T >
std::pair< T, T > vectorToPair (std::vector< T > &vec, const std::string &name="")
 
template<typename T >
std::vector< T > make_vector (T const &t1, T const &t2)
 make_vector.
 
template<typename T >
std::pair< T, T > vectorToPair (std::vector< T > &vec, const std::string &name="")
 
template<typename T >
std::vector< T > make_vector (T const &t1, T const &t2)
 make_vector.
 
template<typename T >
std::pair< T, T > vectorToPair (std::vector< T > &vec, const std::string &name="")
 

Detailed Description

Function Documentation

◆ make_vector() [1/4]

std::vector< T > make_vector ( T const &  t1,
T const &  t2 
)
inlineprotected

make_vector.

< make_vector

Definition at line 122 of file BabayagaNLOInputModule.h.

123 {
124 std::vector<T> v;
125 v.push_back(t1);
126 v.push_back(t2);
127 return v;
128 }

◆ make_vector() [2/4]

std::vector< T > make_vector ( T const &  t1,
T const &  t2 
)
inlineprotected

make_vector.

< make_vector

Definition at line 94 of file BHWideInputModule.h.

95 {
96 std::vector<T> v;
97 v.push_back(t1);
98 v.push_back(t2);
99 return v;
100 }

◆ make_vector() [3/4]

std::vector< T > make_vector ( T const &  t1,
T const &  t2 
)
inlineprotected

make_vector.

< make_vector

Definition at line 113 of file PhokharaInputModule.h.

114 {
115 std::vector<T> v;
116 v.push_back(t1);
117 v.push_back(t2);
118 return v;
119 }

◆ make_vector() [4/4]

std::vector< T > make_vector ( T const &  t1,
T const &  t2 
)
inlineprotected

make_vector.

< make_vector

Definition at line 103 of file TeeggInputModule.h.

104 {
105 std::vector<T> v;
106 v.push_back(t1);
107 v.push_back(t2);
108 return v;
109 }

◆ vectorToPair() [1/4]

std::pair< T, T > vectorToPair ( std::vector< T > &  vec,
const std::string &  name = "" 
)
inlineprotected

< vectorToPair.

Definition at line 131 of file BabayagaNLOInputModule.h.

132 {
133 std::pair<T, T> p;
134 if (vec.size() != 2) {
135 B2ERROR("The parameter " + name + " has to have exactly 2 elements !");
136 } else {
137 p.first = vec[0];
138 p.second = vec[1];
139 }
140 return p;
141 }

◆ vectorToPair() [2/4]

std::pair< T, T > vectorToPair ( std::vector< T > &  vec,
const std::string &  name = "" 
)
inlineprotected

< vectorToPair.

Definition at line 103 of file BHWideInputModule.h.

104 {
105 std::pair<T, T> p;
106 if (vec.size() != 2) {
107 B2ERROR("The parameter " + name + " has to have exactly 2 elements !");
108 } else {
109 p.first = vec[0];
110 p.second = vec[1];
111 }
112 return p;
113 }

◆ vectorToPair() [3/4]

std::pair< T, T > vectorToPair ( std::vector< T > &  vec,
const std::string &  name = "" 
)
inlineprotected

< vectorToPair.

Definition at line 122 of file PhokharaInputModule.h.

123 {
124 std::pair<T, T> p;
125 if (vec.size() != 2) {
126 B2ERROR("The parameter " + name + " has to have exactly 2 elements !");
127 } else {
128 p.first = vec[0];
129 p.second = vec[1];
130 }
131 return p;
132 }

◆ vectorToPair() [4/4]

std::pair< T, T > vectorToPair ( std::vector< T > &  vec,
const std::string &  name = "" 
)
inlineprotected

< vectorToPair.

Definition at line 112 of file TeeggInputModule.h.

113 {
114 std::pair<T, T> p;
115 if (vec.size() != 2) {
116 B2ERROR("The parameter " + name + " has to have exactly 2 elements!");
117 } else {
118 p.first = vec[0];
119 p.second = vec[1];
120 }
121 return p;
122 }