Belle II Software development
SignalSideParticleFilterModule.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 <analysis/VariableManager/Utility.h>
13
14#include <string>
15#include <memory>
16
17namespace Belle2 {
31
32 public:
33
37 virtual void initialize() override;
39 virtual void event() override;
40
41
42 private:
43
44 std::vector<std::string> m_particleLists;
45 std::string m_selection;
46 std::unique_ptr<Variable::Cut> m_cut;
48 };
50}
51
Base class for Modules.
Definition: Module.h:72
The module returns true if the current RestOfEvent object is related to any of the Particles in the i...
std::string m_selection
Additional selection criteria.
virtual void initialize() override
initialize the module (setup the data store)
virtual void event() override
process event
std::unique_ptr< Variable::Cut > m_cut
cut object which performs the cuts
std::vector< std::string > m_particleLists
Name of the input particle lists.
Abstract base class for different kinds of events.