Belle II Software development
RelationAdder.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#include <tracking/trackFindingCDC/collectors/adders/AdderInterface.h>
10
11namespace Belle2 {
16 namespace TrackFindingCDC {
18 template <class ACollectorItem, class ACollectionItem>
19 class RelationAdder : public AdderInterface<ACollectorItem, ACollectionItem> {
20 private:
22 void add(ACollectorItem& collectorItem, const ACollectionItem& collectionItem, Weight weight) override
23 {
24 collectorItem->addRelationTo(collectionItem, weight);
25 }
26 };
27 }
29}
Base class for a findlet, which uses a reduced/thinned list of weighted relations between collector a...
Class to add relations between the matched items.
Definition: RelationAdder.h:19
void add(ACollectorItem &collectorItem, const ACollectionItem &collectionItem, Weight weight) override
Add a relation between the matched items.
Definition: RelationAdder.h:22
Abstract base class for different kinds of events.