Belle II Software  release-05-02-19
ReprocessorModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2016 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Igal Jaegle *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #ifndef REPROCESSORMODULE_H
12 #define REPROCESSORMODULE_H
13 
14 #include <mdst/dataobjects/MCParticle.h>
15 #include <framework/core/Module.h>
16 
17 #include <framework/datastore/StoreArray.h>
18 #include <framework/datastore/StoreObjPtr.h>
19 #include <framework/dataobjects/EventMetaData.h>
20 
21 #include <beast/microtpc/dataobjects/TPCG4TrackInfo.h>
22 #include <beast/he3tube/dataobjects/HE3G4TrackInfo.h>
23 #include <generators/SAD/dataobjects/SADMetaHit.h>
24 
25 namespace Belle2 {
30  // namespace reprocessor {
40  class ReprocessorModule : public Module {
41 
42  public:
43 
48 
50  virtual ~ReprocessorModule();
51 
53  virtual void initialize() override;
54 
56  virtual void beginRun() override;
57 
59  virtual void event() override;
60 
62  virtual void endRun() override;
64  virtual void terminate() override;
65 
66 
67  private:
68 
69 
74  int m_input_TPC_PDG;
81 
82 
89  };
90 
91  // }
93 }
94 
95 #endif /* REPROCESSORMODULE_H */
Belle2::ReprocessorModule::m_input_HE3_Ntimes
int m_input_HE3_Ntimes
Set N times.
Definition: ReprocessorModule.h:88
Belle2::ReprocessorModule::ReprocessorModule
ReprocessorModule()
Constructor: Sets the description, the properties and the parameters of the module.
Definition: ReprocessorModule.cc:34
Belle2::ReprocessorModule::m_input_HE3_PDG
int m_input_HE3_PDG
Set PDG.
Definition: ReprocessorModule.h:86
Belle2::ReprocessorModule::MetaHits
StoreArray< SADMetaHit > MetaHits
Array of SAD particles.
Definition: ReprocessorModule.h:93
Belle2::ReprocessorModule::beginRun
virtual void beginRun() override
Called when entering a new run.
Definition: ReprocessorModule.cc:62
Belle2::ReprocessorModule::m_input_TPC_Ntimes
int m_input_TPC_Ntimes
Set N times.
Definition: ReprocessorModule.h:84
Belle2::ReprocessorModule::m_evtMetaData
StoreObjPtr< EventMetaData > m_evtMetaData
event meta data Object pointer
Definition: ReprocessorModule.h:78
Belle2::ReprocessorModule::mc_he3_parts
StoreArray< HE3G4TrackInfo > mc_he3_parts
Array of G4 particles crossing the He3 tubes.
Definition: ReprocessorModule.h:91
Belle2::ReprocessorModule::m_mcParticle
StoreArray< MCParticle > m_mcParticle
mc Particle Array
Definition: ReprocessorModule.h:79
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::StoreObjPtr
Type-safe access to single objects in the data store.
Definition: ParticleList.h:33
Belle2::ReprocessorModule::m_input_TPC_PDG
int m_input_TPC_PDG
Set PDG.
Definition: ReprocessorModule.h:82
Belle2::ReprocessorModule::terminate
virtual void terminate() override
This method is called at the end of the event processing.
Definition: ReprocessorModule.cc:151
Belle2::ReprocessorModule::event
virtual void event() override
This method is the core of the module.
Definition: ReprocessorModule.cc:66
Belle2::ReprocessorModule::initialize
virtual void initialize() override
Initialize the Module.
Definition: ReprocessorModule.cc:49
Belle2::ReprocessorModule::mc_tpc_parts
StoreArray< TPCG4TrackInfo > mc_tpc_parts
Array of G4 particles crossing the uTPCs.
Definition: ReprocessorModule.h:92
Belle2::StoreArray< MCParticle >
Belle2::ReprocessorModule::endRun
virtual void endRun() override
This method is called if the current run ends.
Definition: ReprocessorModule.cc:147
Belle2::ReprocessorModule
Reprocessor Module.
Definition: ReprocessorModule.h:48