Belle II Software development
TruthSegmentVarNames Struct Reference

Vehicle class to transport the variable names. More...

#include <TruthSegmentVarSet.h>

Inheritance diagram for TruthSegmentVarNames:
VarNames< CDCSegment2D >

Public Types

using Object = CDCSegment2D
 Basic type from which the variables are generated.
 

Static Public Member Functions

static constexpr char const * getName (int iName)
 Getter for the name at the given index.
 

Static Public Attributes

static const size_t nVars = size(truthSegmentVarNames)
 Number of variables to be generated.
 

Detailed Description

Vehicle class to transport the variable names.

Definition at line 31 of file TruthSegmentVarSet.h.

Member Typedef Documentation

◆ Object

using Object = CDCSegment2D
inherited

Basic type from which the variables are generated.

Definition at line 25 of file VarNames.h.

Member Function Documentation

◆ getName()

static constexpr char const * getName ( int  iName)
inlinestaticconstexpr

Getter for the name at the given index.

Definition at line 40 of file TruthSegmentVarSet.h.

41 {
42 return truthSegmentVarNames[iName];
43 }

Member Data Documentation

◆ nVars

const size_t nVars = size(truthSegmentVarNames)
static

Number of variables to be generated.

Definition at line 37 of file TruthSegmentVarSet.h.


The documentation for this struct was generated from the following file: