Belle II Software development
RelationEntry.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
11class TObject;
12
13namespace Belle2 {
30 RelationEntry(TObject* obj = nullptr, float w = 1.0): object(obj), weight(w) {}
31
32 TObject* object;
33 float weight;
34 };
36}
Abstract base class for different kinds of events.
Struct for relations.
Definition: RelationEntry.h:24
TObject * object
Pointer to the object.
Definition: RelationEntry.h:32
RelationEntry(TObject *obj=nullptr, float w=1.0)
Constructor.
Definition: RelationEntry.h:30
float weight
Weight of the relation.
Definition: RelationEntry.h:33