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 
67 
68  };
69 
71 } // end namespace Belle2
72 
The Cosmics module Generates tracks with the cosmics generator and store them into the MCParticle cla...
Definition: CosmicsModule.h:30
SGCosmic m_cosmics
Instance of the cosmics generator.
Definition: CosmicsModule.h:58
CosmicsModule()
Constructor.
MCParticleGraph m_particleGraph
Particle graph to generate MCParticle list.
Definition: CosmicsModule.h:66
void initialize() override
Initializes the module.
void event() override
Method is called for each event.
virtual ~CosmicsModule()
Destructor.
Definition: CosmicsModule.h:41
SGCosmic::Parameters m_parameters
Instance of parameters.
Definition: CosmicsModule.h:62
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