Belle II Software  release-08-01-10
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 
17 namespace Belle2 {
34 
35  public:
36 
40  virtual void initialize() override;
42  virtual void event() override;
43 
44 
45  private:
46 
47  std::vector<std::string> m_particleLists;
48  std::string m_selection;
49  std::unique_ptr<Variable::Cut> m_cut;
51  };
53 }
54 
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.