Belle II Software development
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
16namespace Belle2 {
26 private:
27
29 std::vector<std::string> m_strParticleLists;
30
33
36
37 public:
40
43 virtual void initialize() override;
45 virtual void event() override;
46 };
48} // end namespace Belle2
49
50
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.