Belle II Software  release-05-02-19
RelationEntry.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2012 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Thomas Kuhr *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 class TObject;
14 
15 namespace Belle2 {
26  struct RelationEntry {
32  RelationEntry(TObject* obj = nullptr, float w = 1.0): object(obj), weight(w) {}
33 
34  TObject* object;
35  float weight;
36  };
38 }
Belle2::RelationEntry::weight
float weight
Weight of the relation.
Definition: RelationEntry.h:35
Belle2::RelationEntry
Struct for relations.
Definition: RelationEntry.h:26
Belle2::RelationEntry::object
TObject * object
Pointer to the object.
Definition: RelationEntry.h:34
Belle2::RelationEntry::RelationEntry
RelationEntry(TObject *obj=nullptr, float w=1.0)
Constructor.
Definition: RelationEntry.h:32
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19