Skip to content

Commit c0760fa

Browse files
author
Marcello Di Costanzo
committed
Final cleanup
1 parent ae869d9 commit c0760fa

1 file changed

Lines changed: 2 additions & 21 deletions

File tree

Common/TableProducer/qVectorsTable.cxx

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,8 @@ struct qVectorsTable {
316316
fullPath += std::to_string(ind);
317317
auto modeCorrQvecEse = getForTsOrRun<TH3F>(fullPath, timestamp, runnumber);
318318
if (!modeCorrQvecEse) {
319-
fullPath = cfgQvecCalibPath; // cfgQvecEseCalibPath;
320-
fullPath += "/v2"; // "/eseq2";
319+
fullPath = cfgQvecEseCalibPath;
320+
fullPath += "/eseq2";
321321
modeCorrQvecEse = getForTsOrRun<TH3F>(fullPath, timestamp, runnumber);
322322
}
323323
corrsQvecEse.push_back(modeCorrQvecEse);
@@ -430,7 +430,6 @@ struct qVectorsTable {
430430
LOGP(fatal, "Undefined normalization type for Q-vector amplitude. Check the configuration.");
431431
break;
432432
}
433-
std::cout << "[NORMALIZED] " << i << " Re: " << qVecDetReNorm << ", Im: " << qVecDetImNorm << ", amp: " << qVecAmp[i] << std::endl;
434433
}
435434
for (int iCorr = 0; iCorr < Corrections::kNCorrections; iCorr++) {
436435
qVecReNorm.push_back(qVecDetReNorm);
@@ -699,19 +698,10 @@ struct qVectorsTable {
699698
qVecAmp.push_back(static_cast<float>(nTrkTPCPos));
700699
qVecAmp.push_back(static_cast<float>(nTrkTPCNeg));
701700
qVecAmp.push_back(static_cast<float>(nTrkTPCAll));
702-
703-
LOG(info) << "[RAW] qVectFT0A: " << qVectFT0A[0] << ", " << qVectFT0A[1] << ", ampl: " << sumAmplFT0A;
704-
LOG(info) << "[RAW] qVectFT0C: " << qVectFT0C[0] << ", " << qVectFT0C[1] << ", ampl: " << sumAmplFT0C;
705-
LOG(info) << "[RAW] qVectFT0M: " << qVectFT0M[0] << ", " << qVectFT0M[1] << ", ampl: " << sumAmplFT0M;
706-
LOG(info) << "[RAW] qVectFV0A: " << qVectFV0A[0] << ", " << qVectFV0A[1] << ", ampl: " << sumAmplFV0A;
707-
LOG(info) << "[RAW] qVectTPCPos: " << qVectTPCPos[0] << ", " << qVectTPCPos[1] << ", nTrk: " << nTrkTPCPos;
708-
LOG(info) << "[RAW] qVectTPCNeg: " << qVectTPCNeg[0] << ", " << qVectTPCNeg[1] << ", nTrk: " << nTrkTPCNeg;
709-
LOG(info) << "[RAW] qVectTPCAll: " << qVectTPCAll[0] << ", " << qVectTPCAll[1] << ", nTrk: " << nTrkTPCAll;
710701
}
711702

712703
void process(MyCollisions::iterator const& coll, aod::BCsWithTimestamps const&, aod::FT0s const&, aod::FV0As const&, MyTracks const& tracks)
713704
{
714-
LOG(info) << "---------------------------- Processing Event ---------------------------";
715705
std::vector<int> trkTPCPosLabel{};
716706
std::vector<int> trkTPCNegLabel{};
717707
std::vector<int> trkTPCAllLabel{};
@@ -849,15 +839,6 @@ struct qVectorsTable {
849839
if (useDetector["QvectorTPCalls"])
850840
qVectorTPCAll(isCalibrated, qVecReTPCAllSp.at(0), qVecImTPCAllSp.at(0), qVecAmp[kTPCAll], trkTPCAllLabel);
851841

852-
// Debug prints of values after corrections
853-
std::cout << "[CORRECTED] FT0C, Re: " << qVecReFT0CSp.at(0) << ", Im: " << qVecImFT0CSp.at(0) << std::endl;
854-
std::cout << "[CORRECTED] FT0A, Re: " << qVecReFT0ASp.at(0) << ", Im: " << qVecImFT0ASp.at(0) << std::endl;
855-
std::cout << "[CORRECTED] FT0M, Re: " << qVecReFT0MSp.at(0) << ", Im: " << qVecImFT0MSp.at(0) << std::endl;
856-
std::cout << "[CORRECTED] FV0A, Re: " << qVecReFV0ASp.at(0) << ", Im: " << qVecImFV0ASp.at(0) << std::endl;
857-
std::cout << "[CORRECTED] TPCPos, Re: " << qVecReTPCPosSp.at(0) << ", Im: " << qVecImTPCPosSp.at(0) << std::endl;
858-
std::cout << "[CORRECTED] TPCNeg, Re: " << qVecReTPCNegSp.at(0) << ", Im: " << qVecImTPCNegSp.at(0) << std::endl;
859-
std::cout << "[CORRECTED] TPCAll, Re: " << qVecReTPCAllSp.at(0) << ", Im: " << qVecImTPCAllSp.at(0) << std::endl;
860-
861842
qVectorFT0CVec(isCalibrated, qVecReFT0CSp, qVecImFT0CSp, qVecAmp[kFT0C]);
862843
qVectorFT0AVec(isCalibrated, qVecReFT0ASp, qVecImFT0ASp, qVecAmp[kFT0A]);
863844
qVectorFT0MVec(isCalibrated, qVecReFT0MSp, qVecImFT0MSp, qVecAmp[kFT0M]);

0 commit comments

Comments
 (0)