Belle II Software development
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 {
34 class ReprocessorModule : public Module {
35
36 public:
37
42
46 virtual ~ReprocessorModule();
47
52 virtual void initialize() override;
53
58 virtual void beginRun() override;
59
63 virtual void event() override;
64
69 virtual void endRun() override;
70
75 virtual void terminate() override;
76
77
78 private:
79
80
92
93
100 };
101
102 // }
104}
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.