Bridge++  Ver. 2.0.2
gammaMatrixSet_Dirac.h
Go to the documentation of this file.
1 
14 #ifndef GAMMAMATRIXSET_DIRAC_INCLUDED
15 #define GAMMAMATRIXSET_DIRAC_INCLUDED
16 
17 #include "gammaMatrixSet.h"
18 
19 
21 
26  public:
27  static const std::string class_name;
28 
29  public:
31  {
32  init_GM();
33  }
34 
35  void print();
36 
37  private:
38  void init_GM();
39 
40 #ifdef USE_FACTORY
41  private:
42  static GammaMatrixSet *create_object()
43  {
44  return new GammaMatrixSet_Dirac();
45  }
46 
47  public:
48  static bool register_factory()
49  {
50  return GammaMatrixSet::Factory::Register("Dirac", create_object);
51  }
52 #endif
53 };
54 #endif
GammaMatrixSet
Set of Gamma Matrices: basis class.
Definition: gammaMatrixSet.h:37
GammaMatrixSet_Dirac::GammaMatrixSet_Dirac
GammaMatrixSet_Dirac()
Definition: gammaMatrixSet_Dirac.h:30
GammaMatrixSet_Dirac::init_GM
void init_GM()
Definition: gammaMatrixSet_Dirac.cpp:33
GammaMatrixSet_Dirac
Set of Gamma Matrix: Dirac representation.
Definition: gammaMatrixSet_Dirac.h:25
GammaMatrixSet_Dirac::class_name
static const std::string class_name
Definition: gammaMatrixSet_Dirac.h:27
GammaMatrixSet_Dirac::print
void print()
Definition: gammaMatrixSet_Dirac.cpp:92
gammaMatrixSet.h