CHROMA
baryon_operator_factory_w.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Factory for producing baryon operators
4  */
5 
6 #ifndef __baryon_operator_factory_w_h__
7 #define __baryon_operator_factory_w_h__
8 
9 #include "singleton.h"
10 #include "objfactory.h"
11 #include "chromabase.h"
13 
14 namespace Chroma
15 {
16  //! Sequential source factory (foundry)
17  /*! @ingroup hadron */
18  typedef SingletonHolder<
19  ObjectFactory<BaryonOperator<LatticeFermion>,
21  TYPELIST_3(XMLReader&, const std::string&, const multi1d<LatticeColorMatrix>&),
22  BaryonOperator<LatticeFermion>* (*)(XMLReader&,
23  const std::string&,
24  const multi1d<LatticeColorMatrix>&),
25  StringFactoryError> >
27 }
28 
29 
30 #endif
Construct baryon operator.
Primary include file for CHROMA library code.
SingletonHolder< ObjectFactory< BaryonOperator< LatticeFermion >, std::string, TYPELIST_3(XMLReader &, const std::string &, const multi1d< LatticeColorMatrix > &), BaryonOperator< LatticeFermion > *(*)(XMLReader &, const std::string &, const multi1d< LatticeColorMatrix > &), StringFactoryError > > TheWilsonBaryonOperatorFactory
Sequential source factory (foundry)
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
::std::string string
Definition: gtest.h:1979
Factory class for objects from XML input.
Singleton support.
#define TYPELIST_3(T1, T2, T3)
Definition: typelist.h:45