Belle II Software  release-08-01-10
ExtraInfoRemoverModule.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 #include <framework/core/Module.h>
11 #include <string>
12 
13 #include <framework/dataobjects/EventExtraInfo.h>
14 #include <framework/datastore/StoreObjPtr.h>
15 
16 namespace Belle2 {
28  class ExtraInfoRemoverModule : public Module {
29  private:
30 
32  std::vector<std::string> m_strParticleLists;
33 
36 
39 
40  public:
43 
46  virtual void initialize() override;
48  virtual void event() override;
49  };
51 } // end namespace Belle2
52 
53 
This module deletes the extrainfo of each particle in the given ParticleLists.
virtual void initialize() override
Initialises the module.
bool m_removeEventExtraInfo
Removes or not EventExtraInfo.
virtual void event() override
Method called for each event.
std::vector< std::string > m_strParticleLists
Name of the lists.
StoreObjPtr< EventExtraInfo > m_eventExtraInfo
event extra info object pointer
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.