Belle II Software
development
StateCreator.icc.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/ckf/general/findlets/StateCreator.dcl.h>
11
12
namespace
Belle2
{
18
template
<
class
AnObject,
class
AState>
19
void
StateCreator<AnObject, AState>::apply
(
const
std::vector<AnObject*>& objects,
20
std::vector<AState>& states)
21
{
22
states.reserve(states.size() + objects.size());
23
24
for
(AnObject*
object
: objects) {
25
states.emplace_back(
object
);
26
}
27
}
28
29
29
}
Belle2::StateCreator::apply
void apply(const std::vector< AnObject * > &objects, std::vector< AState > &states) override
Add new states to the list of states using all given objects.
Definition
StateCreator.icc.h:19
Belle2
Abstract base class for different kinds of events.
Definition
MillepedeAlgorithm.h:17
tracking
ckf
general
findlets
include
StateCreator.icc.h
Generated on Mon Sep 1 2025 02:57:55 for Belle II Software by
1.13.2