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
16namespace Belle2 {
27 class CosmicsModule : public Module {
28
29 public:
34
38 virtual ~CosmicsModule() {}
39
43 void initialize() override;
44
48 void event() override;
49
50 protected:
51
64
65 };
66
68} // end namespace Belle2
69
The Cosmics module Generates tracks with the cosmics generator and store them into the MCParticle cla...
Definition: CosmicsModule.h:27
SGCosmic m_cosmics
Instance of the cosmics generator.
Definition: CosmicsModule.h:55
CosmicsModule()
Constructor.
MCParticleGraph m_particleGraph
Particle graph to generate MCParticle list.
Definition: CosmicsModule.h:63
void initialize() override
Initializes the module.
void event() override
Method is called for each event.
virtual ~CosmicsModule()
Destructor.
Definition: CosmicsModule.h:38
SGCosmic::Parameters m_parameters
Instance of parameters.
Definition: CosmicsModule.h:59
Class to build, validate and sort a particle decay chain.
Base class for Modules.
Definition: Module.h:72
Class to generate tracks in the cosmics generator and store them in a MCParticle graph.
Definition: SGCosmic.h:23
Abstract base class for different kinds of events.
Struct to keep all necessary parameters for the cosmic generator.
Definition: SGCosmic.h:30