From 164ed9c434ecb050a2bf93b03169c4e21bcd62bb Mon Sep 17 00:00:00 2001 From: ferben Date: Thu, 5 Dec 2019 17:38:00 +0000 Subject: [PATCH] Naming conventon also applied to metadata --- .../MContraction/SigmaToNucleonEye.hpp | 22 +++++++++---------- .../MContraction/SigmaToNucleonNonEye.hpp | 20 ++++++++--------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/Hadrons/Modules/MContraction/SigmaToNucleonEye.hpp b/Hadrons/Modules/MContraction/SigmaToNucleonEye.hpp index d8d11f12..b65d0689 100644 --- a/Hadrons/Modules/MContraction/SigmaToNucleonEye.hpp +++ b/Hadrons/Modules/MContraction/SigmaToNucleonEye.hpp @@ -94,11 +94,11 @@ public: { public: GRID_SERIALIZABLE_CLASS_MEMBERS(Metadata, - Gamma::Algebra, gamma_H, - Gamma::Algebra, gammaA_sigma, - Gamma::Algebra, gammaB_sigma, - Gamma::Algebra, gammaA_nucl, - Gamma::Algebra, gammaB_nucl, + Gamma::Algebra, gammaH, + Gamma::Algebra, gammaASigma, + Gamma::Algebra, gammaBSigma, + Gamma::Algebra, gammaANucl, + Gamma::Algebra, gammaBNucl, int, trace); }; typedef Correlator Result; @@ -170,10 +170,10 @@ void TSigmaToNucleonEye::execute(void) std::vector result; Result r; - r.info.gammaA_sigma = Id.g; - r.info.gammaB_sigma = GammaB.g; - r.info.gammaA_nucl = Id.g; - r.info.gammaB_nucl = GammaB.g; + r.info.gammaASigma = Id.g; + r.info.gammaBSigma = GammaB.g; + r.info.gammaANucl = Id.g; + r.info.gammaBNucl = GammaB.g; auto &qqLoop = envGet(PropagatorField, par().qqLoop); auto &quSpec = envGet(SlicedPropagator, par().quSpec); @@ -182,7 +182,7 @@ void TSigmaToNucleonEye::execute(void) auto qut = quSpec[par().tf]; for (auto &G: Gamma::gall) { - r.info.gamma_H = G.g; + r.info.gammaH = G.g; //Operator Q1, equivalent to the two-trace case in the rare-kaons module c=Zero(); BaryonUtils::Sigma_to_Nucleon_Eye(qqLoop,qut,qdTf,qsTi,G,GammaB,GammaB,"Q1",c); @@ -207,7 +207,7 @@ void TSigmaToNucleonEye::execute(void) result.push_back(r); } - saveResult(par().output, "StN_Eye", result); + saveResult(par().output, "stnEye", result); } diff --git a/Hadrons/Modules/MContraction/SigmaToNucleonNonEye.hpp b/Hadrons/Modules/MContraction/SigmaToNucleonNonEye.hpp index 5c9b6812..cbf3665d 100644 --- a/Hadrons/Modules/MContraction/SigmaToNucleonNonEye.hpp +++ b/Hadrons/Modules/MContraction/SigmaToNucleonNonEye.hpp @@ -99,11 +99,11 @@ public: { public: GRID_SERIALIZABLE_CLASS_MEMBERS(Metadata, - Gamma::Algebra, gamma_H, - Gamma::Algebra, gammaA_sigma, - Gamma::Algebra, gammaB_sigma, - Gamma::Algebra, gammaA_nucl, - Gamma::Algebra, gammaB_nucl, + Gamma::Algebra, gammaH, + Gamma::Algebra, gammaASigma, + Gamma::Algebra, gammaBSigma, + Gamma::Algebra, gammaANucl, + Gamma::Algebra, gammaBNucl, int, trace); }; typedef Correlator Result; @@ -175,10 +175,10 @@ void TSigmaToNucleonNonEye::execute(void) std::vector result; Result r; - r.info.gammaA_sigma = Id.g; - r.info.gammaB_sigma = GammaB.g; - r.info.gammaA_nucl = Id.g; - r.info.gammaB_nucl = GammaB.g; + r.info.gammaASigma = Id.g; + r.info.gammaBSigma = GammaB.g; + r.info.gammaANucl = Id.g; + r.info.gammaBNucl = GammaB.g; auto &quTi = envGet(PropagatorField, par().quTi); auto &quTf = envGet(PropagatorField, par().quTf); @@ -213,7 +213,7 @@ void TSigmaToNucleonNonEye::execute(void) result.push_back(r); } - saveResult(par().output, "StN_NonEye", result); + saveResult(par().output, "stnNonEye", result); }