HepMC3 event record library
OAttr< T > Struct Template Reference

Detailed Description

template<typename T>
struct LHEF::OAttr< T >

Helper struct for output of attributes.

Definition at line 45 of file LHEF.h.

#include <LHEF.h>

+ Collaboration diagram for OAttr< T >:

Public Member Functions

 OAttr (std::string n, const T &v)
 

Data Fields

std::string name
 
val
 

Constructor & Destructor Documentation

◆ OAttr()

template<typename T>
OAttr ( std::string n,
const T & v )
inline

Constructor

Definition at line 50 of file LHEF.h.

References name, and val.

Field Documentation

◆ name

template<typename T>
std::string name

The name of the attribute being printed.

Definition at line 55 of file LHEF.h.

◆ val

template<typename T>
T val

The value of the attribute being printed.

Definition at line 60 of file LHEF.h.


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