From c738171590c977bdaa43391c42272e8b898f81b3 Mon Sep 17 00:00:00 2001 From: thorben quast Date: Thu, 15 Nov 2018 18:15:43 +0100 Subject: [PATCH] [vme reco] print alignment constants at the begin --- RawToDigi/plugins/HGCalTBCAENSource.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RawToDigi/plugins/HGCalTBCAENSource.cc b/RawToDigi/plugins/HGCalTBCAENSource.cc index 4204139..dfdd45a 100644 --- a/RawToDigi/plugins/HGCalTBCAENSource.cc +++ b/RawToDigi/plugins/HGCalTBCAENSource.cc @@ -735,7 +735,7 @@ void HGCalTBWireChamberSource::ReadAlignmentParameters(int fileIndex) { if (readCounter == 4) readCounter = -1; } -#ifdef DEBUG + std::cout << "Min run: " << minRun << " Max run: " << maxRun << std::endl; for (int i = 0; i < 4; i++) { std::cout << "Alignment parameter: " << i * 100 + 11 << ": " << _parameters[i * 100 + 11] << std::endl; @@ -743,7 +743,7 @@ void HGCalTBWireChamberSource::ReadAlignmentParameters(int fileIndex) { std::cout << "Alignment parameter: " << i * 100 + 21 << ": " << _parameters[i * 100 + 21] << std::endl; std::cout << "Alignment parameter: " << i * 100 + 22 << ": " << _parameters[i * 100 + 22] << std::endl; } -#endif + loadedAlignmentParameters[std::make_pair(minRun, maxRun)] = _parameters; return ReadAlignmentParameters(fileIndex + 1);