Belle II Software development
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
14namespace Belle2 {
25 public:
32 virtual void initialize() override;
34 virtual void event() override;
35 private:
36 std::string m_particleList;
37 std::string m_extraInfoName;
38 std::string m_targetVariable;
40 };
42} // 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