Belle II Software development
StateCreator.dcl.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#pragma once
9
10#include <tracking/trackFindingCDC/findlets/base/Findlet.h>
11#include <vector>
12
13namespace Belle2 {
19 template <class AnObject, class AState>
20 class StateCreator : public TrackFindingCDC::Findlet<AnObject* const, AState> {
21 public:
23 void apply(const std::vector<AnObject*>& objects,
24 std::vector<AState>& states) override;
25 };
27}
Create new states and add them to a vector from a given object vector.
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition: Findlet.h:26
void apply(const std::vector< AnObject * > &objects, std::vector< AState > &states) override
Add new states to the list of states using all given objects.
Abstract base class for different kinds of events.