Belle II Software  release-06-01-15
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 #ifndef REPROCESSORMODULE_H
10 #define REPROCESSORMODULE_H
11 
12 #include <mdst/dataobjects/MCParticle.h>
13 #include <framework/core/Module.h>
14 
15 #include <framework/datastore/StoreArray.h>
16 #include <framework/datastore/StoreObjPtr.h>
17 #include <framework/dataobjects/EventMetaData.h>
18 
19 #include <beast/microtpc/dataobjects/TPCG4TrackInfo.h>
20 #include <beast/he3tube/dataobjects/HE3G4TrackInfo.h>
21 #include <generators/SAD/dataobjects/SADMetaHit.h>
22 
23 namespace Belle2 {
28  // namespace reprocessor {
38  class ReprocessorModule : public Module {
39 
40  public:
41 
46 
50  virtual ~ReprocessorModule();
51 
56  virtual void initialize() override;
57 
62  virtual void beginRun() override;
63 
67  virtual void event() override;
68 
73  virtual void endRun() override;
74 
79  virtual void terminate() override;
80 
81 
82  private:
83 
84 
96 
97 
104  };
105 
106  // }
108 }
109 
110 #endif /* REPROCESSORMODULE_H */
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.
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:95
Abstract base class for different kinds of events.