Belle II Software prerelease-10-00-00a
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 {
18
30 RelationEntry(TObject* obj = nullptr, float w = 1.0): object(obj), weight(w) {}
31
32 TObject* object;
33 float weight;
34 };
35
36}
Abstract base class for different kinds of events.
TObject * object
Pointer to the object.
RelationEntry(TObject *obj=nullptr, float w=1.0)
Constructor.
float weight
Weight of the relation.