Belle II Software
development
PairGenModule.h
1
/**************************************************************************
2
* basf2 (Belle II Analysis Software Framework) *
3
* Author: The Belle II Collaboration *
4
* *
5
* See git log for contributors and copyright holders. *
6
* This file is licensed under LGPL-3.0, see LICENSE.md. *
7
**************************************************************************/
8
9
#pragma once
10
11
#include <framework/core/Module.h>
12
#include <mdst/dataobjects/MCParticleGraph.h>
13
#include <generators/utilities/InitialParticleGeneration.h>
14
15
namespace
Belle2
{
25
class
PairGenModule
:
public
Module
{
26
public
:
31
PairGenModule
();
32
34
virtual
~PairGenModule
() {}
35
37
void
initialize
()
override
;
38
40
void
event
()
override
;
41
42
protected
:
43
int
m_PDG
;
49
bool
m_saveBoth
;
50
//TODO other parameters to make the module more useful
51
52
InitialParticleGeneration
m_initialParticleGeneration
{
MCInitialParticles::c_smearALL
};
53
MCParticleGraph
m_particleGraph
;
54
};
55
57
}
// end namespace Belle2
Belle2::InitialParticleGeneration
Generate Collision.
Definition:
InitialParticleGeneration.h:35
Belle2::MCInitialParticles::c_smearALL
@ c_smearALL
smear all
Definition:
MCInitialParticles.h:47
Belle2::MCParticleGraph
Class to build, validate and sort a particle decay chain.
Definition:
MCParticleGraph.h:37
Belle2::Module
Base class for Modules.
Definition:
Module.h:72
Belle2::PairGenModule
The PairGen module.
Definition:
PairGenModule.h:25
Belle2::PairGenModule::m_particleGraph
MCParticleGraph m_particleGraph
Particle graph to generate MCParticle list.
Definition:
PairGenModule.h:53
Belle2::PairGenModule::PairGenModule
PairGenModule()
Constructor.
Definition:
PairGenModule.cc:30
Belle2::PairGenModule::m_PDG
int m_PDG
Particles PDG code.
Definition:
PairGenModule.h:43
Belle2::PairGenModule::initialize
void initialize() override
Initializes the module.
Definition:
PairGenModule.cc:48
Belle2::PairGenModule::event
void event() override
Method is called for each event.
Definition:
PairGenModule.cc:53
Belle2::PairGenModule::~PairGenModule
virtual ~PairGenModule()
Destructor.
Definition:
PairGenModule.h:34
Belle2::PairGenModule::m_initialParticleGeneration
InitialParticleGeneration m_initialParticleGeneration
Particle generator to generate initial beam energy, vertex and time.
Definition:
PairGenModule.h:52
Belle2::PairGenModule::m_saveBoth
bool m_saveBoth
Store both particles.
Definition:
PairGenModule.h:49
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:17
generators
modules
pairgen
include
PairGenModule.h
Generated on Fri Nov 8 2024 02:38:31 for Belle II Software by
1.9.6