Belle II Software  release-08-01-10
TagUniqueSignalModule.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 <analysis/VariableManager/Manager.h>
11 #include <framework/core/Module.h>
12 #include <string>
13 
14 namespace Belle2 {
27  class TagUniqueSignalModule : public Module {
28  public:
35  virtual void initialize() override;
37  virtual void event() override;
38  private:
39  std::string m_particleList;
40  std::string m_extraInfoName;
41  std::string m_targetVariable;
43  };
45 } // Belle2 namespace
Base class for Modules.
Definition: Module.h:72
Loops through the particle list finds a unique signal candidate for each event.
virtual void initialize() override
Initialize the Module.
virtual void event() override
Event processor.
std::string m_targetVariable
Variable which defines signal and background.
std::string m_particleList
input ParticleList name
const Variable::Manager::Var * m_targetVar
Pointer to target variable stored in the variable manager.
std::string m_extraInfoName
output extra-info name
Abstract base class for different kinds of events.
A variable returning a floating-point value for a given Particle.
Definition: Manager.h:146