Belle II Software
release-08-01-10
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
{
30
class
CosmicsModule
:
public
Module
{
31
32
public
:
36
CosmicsModule
();
37
41
virtual
~CosmicsModule
() {}
42
46
void
initialize
()
override
;
47
51
void
event
()
override
;
52
53
protected
:
54
58
SGCosmic
m_cosmics
;
62
SGCosmic::Parameters
m_parameters
;
66
MCParticleGraph
m_particleGraph
;
67
68
};
69
71
}
// end namespace Belle2
72
Belle2::CosmicsModule
The Cosmics module Generates tracks with the cosmics generator and store them into the MCParticle cla...
Definition:
CosmicsModule.h:30
Belle2::CosmicsModule::m_cosmics
SGCosmic m_cosmics
Instance of the cosmics generator.
Definition:
CosmicsModule.h:58
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:66
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:41
Belle2::CosmicsModule::m_parameters
SGCosmic::Parameters m_parameters
Instance of parameters.
Definition:
CosmicsModule.h:62
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 Mon Sep 23 2024 14:02:43 for Belle II Software by
1.9.1