Belle II Software release-09-00-00
ReprocessorModule.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 <mdst/dataobjects/MCParticle.h>
12#include <framework/core/Module.h>
13
14#include <framework/datastore/StoreArray.h>
15#include <framework/datastore/StoreObjPtr.h>
16#include <framework/dataobjects/EventMetaData.h>
17
18#include <beast/microtpc/dataobjects/TPCG4TrackInfo.h>
19#include <beast/he3tube/dataobjects/HE3G4TrackInfo.h>
20#include <generators/SAD/dataobjects/SADMetaHit.h>
21
22namespace Belle2 {
27 // namespace reprocessor {
37 class ReprocessorModule : public Module {
38
39 public:
40
45
49 virtual ~ReprocessorModule();
50
55 virtual void initialize() override;
56
61 virtual void beginRun() override;
62
66 virtual void event() override;
67
72 virtual void endRun() override;
73
78 virtual void terminate() override;
79
80
81 private:
82
83
95
96
103 };
104
105 // }
107}
Base class for Modules.
Definition: Module.h:72
StoreArray< MCParticle > m_mcParticle
mc Particle Array
virtual ~ReprocessorModule()
Destructor.
int m_input_TPC_Ntimes
Set N times.
virtual void initialize() override
Initialize the Module.
virtual void event() override
Event processor.
virtual void endRun() override
End-of-run action.
virtual void terminate() override
Termination action.
ReprocessorModule()
Constructor: Sets the description, the properties and the parameters of the module.
StoreObjPtr< EventMetaData > m_evtMetaData
event meta data Object pointer
virtual void beginRun() override
Called when entering a new run.
StoreArray< SADMetaHit > MetaHits
Array of SAD particles.
StoreArray< HE3G4TrackInfo > mc_he3_parts
Array of G4 particles crossing the He3 tubes.
StoreArray< TPCG4TrackInfo > mc_tpc_parts
Array of G4 particles crossing the uTPCs.
int m_input_HE3_Ntimes
Set N times.
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
Abstract base class for different kinds of events.