Belle II Software
development
CosmicsModule.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
13
#include <mdst/dataobjects/MCParticleGraph.h>
14
#include <generators/cosmics/SGCosmic.h>
15
16
namespace
Belle2
{
27
class
CosmicsModule
:
public
Module
{
28
29
public
:
33
CosmicsModule
();
34
38
virtual
~CosmicsModule
() {}
39
43
void
initialize
()
override
;
44
48
void
event
()
override
;
49
50
protected
:
51
55
SGCosmic
m_cosmics
;
59
SGCosmic::Parameters
m_parameters
;
63
MCParticleGraph
m_particleGraph
;
64
65
};
66
68
}
// end namespace Belle2
69
Belle2::CosmicsModule
The Cosmics module Generates tracks with the cosmics generator and store them into the MCParticle cla...
Definition:
CosmicsModule.h:27
Belle2::CosmicsModule::m_cosmics
SGCosmic m_cosmics
Instance of the cosmics generator.
Definition:
CosmicsModule.h:55
Belle2::CosmicsModule::CosmicsModule
CosmicsModule()
Constructor.
Definition:
CosmicsModule.cc:26
Belle2::CosmicsModule::m_particleGraph
MCParticleGraph m_particleGraph
Particle graph to generate MCParticle list.
Definition:
CosmicsModule.h:63
Belle2::CosmicsModule::initialize
void initialize() override
Initializes the module.
Definition:
CosmicsModule.cc:57
Belle2::CosmicsModule::event
void event() override
Method is called for each event.
Definition:
CosmicsModule.cc:67
Belle2::CosmicsModule::~CosmicsModule
virtual ~CosmicsModule()
Destructor.
Definition:
CosmicsModule.h:38
Belle2::CosmicsModule::m_parameters
SGCosmic::Parameters m_parameters
Instance of parameters.
Definition:
CosmicsModule.h:59
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::SGCosmic
Class to generate tracks in the cosmics generator and store them in a MCParticle graph.
Definition:
SGCosmic.h:23
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:17
Belle2::SGCosmic::Parameters
Struct to keep all necessary parameters for the cosmic generator.
Definition:
SGCosmic.h:30
generators
modules
include
CosmicsModule.h
Generated on Fri Nov 8 2024 02:38:29 for Belle II Software by
1.9.6