Belle II Software  release-08-01-10
EventT0ShifterModule.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 #include <framework/datastore/StoreArray.h>
13 #include <framework/datastore/StoreObjPtr.h>
14 #include <mdst/dataobjects/MCParticle.h>
15 #include <framework/dataobjects/MCInitialParticles.h>
16 
17 
18 namespace Belle2 {
31  class EventT0ShifterModule : public Module {
32 
33  public:
34 
39 
43  virtual void initialize() override;
44 
48  virtual void event() override;
49 
50  private:
51 
55  };
56 
58 } // Belle2 namespace
59 
Module that shifts the time of all MCParticles so that the collision is at t=0.
virtual void initialize() override
Initialize the Module.
virtual void event() override
Event processor.
StoreArray< MCParticle > m_mcParticles
MC particles.
StoreObjPtr< MCInitialParticles > m_initialParticles
beam particles
Base class for Modules.
Definition: Module.h:72
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
Abstract base class for different kinds of events.