From 2ac57370f10423bd7e8351d3844afa35890ec3bb Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Mon, 12 Nov 2018 16:04:35 +0000 Subject: [PATCH] Hadrons: contractor translation average normalisation --- Hadrons/Utilities/Contractor.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Hadrons/Utilities/Contractor.cc b/Hadrons/Utilities/Contractor.cc index 3fdbb872..ffc77cf7 100644 --- a/Hadrons/Utilities/Contractor.cc +++ b/Hadrons/Utilities/Contractor.cc @@ -371,6 +371,10 @@ int main(int argc, char* argv[]) dti++; } for (unsigned int tLast = 0; tLast < par.global.nt; ++tLast) + { + corr[tLast] /= translations.size(); + } + for (unsigned int tLast = 0; tLast < par.global.nt; ++tLast) { std::cout << tLast << " " << corr[tLast] << std::endl; }