Belle II Software  release-06-01-15
generators modules
Collaboration diagram for 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  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. More...
 
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. More...
 
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. More...
 
template<typename T >
std::pair< T, T > vectorToPair (std::vector< T > &vec, const std::string &name="")
 
 EventT0GeneratorModule ()
 Constructor.
 
virtual void initialize () override
 Initialize the Module. More...
 
virtual void event () override
 Event processor.
 
template<typename T >
std::vector< T > make_vector (T const &t1, T const &t2)
 make_vector. More...
 
template<typename T >
std::pair< T, T > vectorToPair (std::vector< T > &vec, const std::string &name="")
 

Detailed Description

Function Documentation

◆ initialize()

void initialize ( void  )
overridevirtual

Initialize the Module.

This method is called at the beginning of data processing.

Reimplemented from Module.

Definition at line 71 of file EventT0GeneratorModule.cc.

72  {
74  m_initialParticles.registerInDataStore();
75  m_simClockState.registerInDataStore();
76 
77  if (not std::isnan(m_maximumT0) and not std::isnan(m_fixedT0)) {
78  B2ERROR("You can not set both the maximum T0 and the fixed T0 option.");
79  }
80  }
double m_maximumT0
if set, randomize between -maximum and maximum
double m_fixedT0
if set, a fixed t0 value is used instead of a gaussian distribution
StoreArray< MCParticle > m_mcParticles
MC particles.
StoreObjPtr< SimClockState > m_simClockState
generated hardware clock state
StoreObjPtr< MCInitialParticles > m_initialParticles
beam particles
bool isRequired(const std::string &name="")
Ensure this array/object has been registered previously.

◆ make_vector() [1/4]

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

make_vector.

< make_vector

Definition at line 126 of file BabayagaNLOInputModule.h.

127  {
128  std::vector<T> v;
129  v.push_back(t1);
130  v.push_back(t2);
131  return v;
132  }

◆ make_vector() [2/4]

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

make_vector.

< make_vector

Definition at line 95 of file BHWideInputModule.h.

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

◆ make_vector() [3/4]

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

make_vector.

< make_vector

Definition at line 117 of file PhokharaInputModule.h.

118  {
119  std::vector<T> v;
120  v.push_back(t1);
121  v.push_back(t2);
122  return v;
123  }

◆ make_vector() [4/4]

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

make_vector.

< make_vector

Definition at line 107 of file TeeggInputModule.h.

108  {
109  std::vector<T> v;
110  v.push_back(t1);
111  v.push_back(t2);
112  return v;
113  }

◆ vectorToPair() [1/4]

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

< vectorToPair.

Definition at line 135 of file BabayagaNLOInputModule.h.

◆ vectorToPair() [2/4]

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

< vectorToPair.

Definition at line 104 of file BHWideInputModule.h.

◆ vectorToPair() [3/4]

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

< vectorToPair.

Definition at line 126 of file PhokharaInputModule.h.

◆ vectorToPair() [4/4]

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

< vectorToPair.

Definition at line 116 of file TeeggInputModule.h.