EpIC 1.1.0
Monte Carlo generator for exclusive processes
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | List of all members
EPIC::WriterHepMC3Type Class Reference

Definition of enumeration values for writers available in HepMC3. More...

#include <WriterHepMC3Type.h>

Inheritance diagram for EPIC::WriterHepMC3Type:

Public Types

enum  Type { UNDEFINED = 0 , ASCII = 1 , HEPEVT = 2 , ROOT = 3 }
 

Public Member Functions

 WriterHepMC3Type ()
 
 WriterHepMC3Type (Type type)
 
 WriterHepMC3Type (const WriterHepMC3Type &other)
 
 operator Type () const
 
virtual std::string toString () const
 
WriterHepMC3Type::Type getType () const
 
void setType (Type type)
 

Static Public Member Functions

static WriterHepMC3Type::Type fromString (const std::string &str)
 

Detailed Description

Definition of enumeration values for writers available in HepMC3.

This class defines a set of enumeration values that are used to distinguish between writer availibles in HepMC3 library. In addition, a declared object of this class is always associated to one type (see WriterHepMC3Type::m_type), so member functions can act on it.

Member Enumeration Documentation

◆ Type

Definition of enumerate values corresponding to axis types.

Enumerator
UNDEFINED 

Undefined type.

ASCII 

WriterAscii.

HEPEVT 

WriterHEPEVT.

ROOT 

WriterRoot.

Constructor & Destructor Documentation

◆ WriterHepMC3Type() [1/3]

EPIC::WriterHepMC3Type::WriterHepMC3Type ( )

Default constructor.

◆ WriterHepMC3Type() [2/3]

EPIC::WriterHepMC3Type::WriterHepMC3Type ( Type  type)

Assignment constructor.

◆ WriterHepMC3Type() [3/3]

EPIC::WriterHepMC3Type::WriterHepMC3Type ( const WriterHepMC3Type other)

Copy constructor.

Member Function Documentation

◆ fromString()

static WriterHepMC3Type::Type EPIC::WriterHepMC3Type::fromString ( const std::string &  str)
static

Get type from string.

◆ getType()

WriterHepMC3Type::Type EPIC::WriterHepMC3Type::getType ( ) const

Get type being assigned to a declared object of this class.

◆ operator Type()

EPIC::WriterHepMC3Type::operator Type ( ) const

Automatic cast to enum.

◆ setType()

void EPIC::WriterHepMC3Type::setType ( Type  type)

Assign type to a declared object of this class.


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