AmpGen 2.1
Loading...
Searching...
No Matches
AmpGen::Vertex::Factory Class Reference

Detailed Description

Definition at line 199 of file Vertex.h.

Static Public Member Functions

static Tensor getSpinFactor (const Tensor &P, const Tensor &Q, const Tensor &V1, const Tensor &V2, const std::string &name, DebugSymbols *db=nullptr)
static Tensor getSpinFactorNBody (const std::vector< std::pair< Tensor, Tensor > > &tensors, const unsigned int &mL, DebugSymbols *db=nullptr)
static bool isVertex (const std::string &hash)
static Factory< Vertex::Base, std::string > * getMe ()
static Vertex::Baseget (const std::string &type, const bool quiet=false)
static std::string Register (const std::string &key, Vertex::Base *object)

Public Attributes

std::map< std::string, Vertex::Base * > m_terms
 map of objected made by this factory

Static Public Attributes

static Factory< Vertex::Base, std::string > * gImpl
 pointer to static implementation
Inheritance diagram for AmpGen::Vertex::Factory:
AmpGen::Factory< Vertex::Base >

Member Function Documentation

◆ get()

Vertex::Base * AmpGen::Factory< Vertex::Base, std::string >::get ( const std::string & type,
const bool quiet = false )
inlinestaticinherited

Definition at line 27 of file Factory.h.

◆ getMe()

Factory< Vertex::Base, std::string > * AmpGen::Factory< Vertex::Base, std::string >::getMe ( )
inlinestaticinherited

Definition at line 23 of file Factory.h.

◆ getSpinFactor()

Tensor AmpGen::Vertex::Factory::getSpinFactor ( const Tensor & P,
const Tensor & Q,
const Tensor & V1,
const Tensor & V2,
const std::string & name,
DebugSymbols * db = nullptr )
static

◆ getSpinFactorNBody()

Tensor AmpGen::Vertex::Factory::getSpinFactorNBody ( const std::vector< std::pair< Tensor, Tensor > > & tensors,
const unsigned int & mL,
DebugSymbols * db = nullptr )
static

◆ isVertex()

bool AmpGen::Vertex::Factory::isVertex ( const std::string & hash)
static

◆ Register()

std::string AmpGen::Factory< Vertex::Base, std::string >::Register ( const std::string & key,
Vertex::Base * object )
inlinestaticinherited

Definition at line 37 of file Factory.h.

Member Data Documentation

◆ gImpl

Factory<Vertex::Base, std::string>* AmpGen::Factory< Vertex::Base, std::string >::gImpl
staticinherited

Definition at line 21 of file Factory.h.

◆ m_terms

std::map<std::string, Vertex::Base *> AmpGen::Factory< Vertex::Base, std::string >::m_terms
inherited

Definition at line 20 of file Factory.h.


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