@@ -303,10 +303,29 @@ struct LfMyV0s {
303303 registryData.add (" hprotonThetaInV0" , " hprotonThetaInV0" , kTH1F , {axisTheta});
304304 registryData.add (" hprotonThetaInJetV0" , " hprotonThetaInJetV0" , kTH1F , {axisTheta});
305305
306- registryData.add (" TH2FLambdaMassPhiInJet" , " TH2FLambdaMassPhiInJet" , kTH2F , {{200 , -TMath::Pi (), TMath::Pi ()}, {200 , 0.9 , 1.2 }});
307- registryData.add (" TH2FprotonCosThetaInJetV0" , " TH2FprotonCosThetaInJetV0" , kTH2F , {{200 , 0.9 , 1.2 }, {200 , -1.0 , 1.0 }});
308- registryData.add (" TProfile1DprotonCosThetaInJetV0" , " TProfile1DprotonCosThetaInJetV0" , {HistType::kTProfile , {{200 , -1.0 , 1.0 }}});
309- registryData.add (" TProfile2DprotonCosThetaInJetV0" , " TProfile2DprotonCosThetaInJetV0" , kTProfile2D , {TProfile2DaxisMass, axisPhi});
306+ registryData.add (" LambdaQA/TH2FLambdaMassPhiInJet" , " TH2FLambdaMassPhiInJet" , kTH2F , {{200 , -TMath::Pi (), TMath::Pi ()}, {200 , 0.9 , 1.2 }});
307+
308+ // Lab frame measures
309+ registryData.add (" LambdaQA/TH2FprotonCosThetaInLab" , " TH2FprotonCosThetaInLab" , kTH2F , {{200 , 0.9 , 1.2 }, {200 , -1.0 , 1.0 }});
310+ registryData.add (" LambdaQA/TProfile1DprotonCosThetaInLab" , " TProfile1DprotonCosThetaInLab" , {HistType::kTProfile , {{200 , 0.9 , 1.2 }}});
311+ registryData.add (" LambdaQA/TProfile1DprotonCos2ThetaInLab" , " TProfile1DprotonCos2ThetaInLab" , {HistType::kTProfile , {{200 , 0.9 , 1.2 }}});
312+
313+ // V0(Lambda) frame messages
314+ registryData.add (" LambdaQA/TH2FprotonCosThetaInV0" , " TH2FprotonCosThetaInV0" , kTH2F , {{200 , 0.9 , 1.2 }, {200 , -1.0 , 1.0 }});
315+ registryData.add (" LambdaQA/TProfile1DprotonCosThetaInV0" , " TProfile1DprotonCosThetaInV0" , {HistType::kTProfile , {{200 , 0.9 , 1.2 }}});
316+ registryData.add (" LambdaQA/TProfile1DprotonCos2ThetaInV0" , " TProfile1DprotonCos2ThetaInV0" , {HistType::kTProfile , {{200 , 0.9 , 1.2 }}});
317+
318+ // jet frame messages
319+ registryData.add (" LambdaQA/TH2FprotonCosThetaInJet" , " TH2FprotonCosThetaInJet" , kTH2F , {{200 , 0.9 , 1.2 }, {200 , -1.0 , 1.0 }});
320+ registryData.add (" LambdaQA/TProfile1DprotonCosThetaInJet" , " TProfile1DprotonCosThetaInJet" , {HistType::kTProfile , {{200 , 0.9 , 1.2 }}});
321+ registryData.add (" LambdaQA/TProfile1DprotonCos2ThetaInJet" , " TProfile1DprotonCos2ThetaInJet" , {HistType::kTProfile , {{200 , 0.9 , 1.2 }}});
322+
323+ // Jet-V0 frame messages
324+ registryData.add (" LambdaQA/TH2FprotonCosThetaInJetV0" , " TH2FprotonCosThetaInJetV0" , kTH2F , {{200 , 0.9 , 1.2 }, {200 , -1.0 , 1.0 }});
325+ registryData.add (" LambdaQA/TProfile1DprotonCosThetaInJetV0" , " TProfile1DprotonCosThetaInJetV0" , {HistType::kTProfile , {{200 , 0.9 , 1.2 }}});
326+ registryData.add (" LambdaQA/TProfile1DprotonCos2ThetaInJetV0" , " TProfile1DprotonCos2ThetaInJetV0" , {HistType::kTProfile , {{200 , 0.9 , 1.2 }}});
327+ registryData.add (" LambdaQA/TProfile2DprotonCosThetaInJetV0" , " TProfile2DprotonCosThetaInJetV0" , kTProfile2D , {TProfile2DaxisMass, axisPhi});
328+ registryData.add (" LambdaQA/TProfile2DprotonCos2ThetaInJetV0" , " TProfile2DprotonCos2ThetaInJetV0" , kTProfile2D , {TProfile2DaxisMass, axisPhi});
310329
311330 registryData.add (" hNEvents" , " hNEvents" , {HistType::kTH1D , {{10 , 0 .f , 10 .f }}});
312331 registryData.get <TH1>(HIST (" hNEvents" ))->GetXaxis ()->SetBinLabel (1 , " all" );
@@ -1282,7 +1301,6 @@ struct LfMyV0s {
12821301 }
12831302 double protonsinPhiInJetV0frame = 0 ;
12841303 double AntiprotonsinPhiInJetV0frame = 0 ;
1285- cout << maxJetpx << endl;
12861304 for (const auto & candidate : fullV0s) {
12871305 const auto & pos = candidate.posTrack_as <StrHadronDaughterTracks>();
12881306 const auto & neg = candidate.negTrack_as <StrHadronDaughterTracks>();
@@ -1699,7 +1717,6 @@ struct LfMyV0s {
16991717 }
17001718 double protonsinPhiInJetV0frame = 0 ;
17011719 double AntiprotonsinPhiInJetV0frame = 0 ;
1702- cout << maxJetpx << endl;
17031720 for (const auto & candidate : fullV0s) {
17041721 const auto & pos = candidate.posTrack_as <StrHadronDaughterTracks>();
17051722 const auto & neg = candidate.negTrack_as <StrHadronDaughterTracks>();
@@ -1740,7 +1757,7 @@ struct LfMyV0s {
17401757 TMatrixD lambdaInJet (4 , 1 );
17411758 lambdaInJet = TMatrixTranslationToJet (maxJetpx, maxJetpy, maxJetpz, candidate.px (), candidate.py (), candidate.pz ()) * pLabV0;
17421759
1743- registryData.fill (HIST (" TH2FLambdaMassPhiInJet" ), TMath::ATan2 (lambdaInJet (2 , 0 ), lambdaInJet (1 , 0 )), candidate.mLambda ());
1760+ registryData.fill (HIST (" LambdaQA/ TH2FLambdaMassPhiInJet" ), TMath::ATan2 (lambdaInJet (2 , 0 ), lambdaInJet (1 , 0 )), candidate.mLambda ());
17441761
17451762 registryData.fill (HIST (" V0pxInJetframe" ), lambdaInJet (1 , 0 ));
17461763 registryData.fill (HIST (" V0pyInJetframe" ), lambdaInJet (2 , 0 ));
@@ -1892,14 +1909,29 @@ struct LfMyV0s {
18921909 double protonCosThetaInLab = pLabproton (3 , 0 ) / sqrt (pLabproton (1 , 0 ) * pLabproton (1 , 0 ) + pLabproton (2 , 0 ) * pLabproton (2 , 0 ) + pLabproton (3 , 0 ) * pLabproton (3 , 0 )); // cos(theta) of lambda in lab frame
18931910 double protonCosThetaInV0frame = protonInV0 (3 , 0 ) / sqrt (protonInV0 (1 , 0 ) * protonInV0 (1 , 0 ) + protonInV0 (2 , 0 ) * protonInV0 (2 , 0 ) + protonInV0 (3 , 0 ) * protonInV0 (3 , 0 )); // cos(theta) of lambda in V0 frame
18941911 double protonCosThetaInJetV0frame = protonCosThetainJetV0;
1912+ double protonCosThetaInJet = protonInJet (3 , 0 ) / sqrt (protonInJet (1 , 0 ) * protonInJet (1 , 0 ) + protonInJet (2 , 0 ) * protonInJet (2 , 0 ) + protonInJet (3 , 0 ) * protonInJet (3 , 0 )); // cos(theta) of lambda in Jet frame
18951913
18961914 registryData.fill (HIST (" hprotonThetaInLab" ), TMath::ACos (protonCosThetaInLab));
18971915 registryData.fill (HIST (" hprotonThetaInV0" ), TMath::ACos (protonCosThetaInV0frame));
18981916 registryData.fill (HIST (" hprotonThetaInJetV0" ), TMath::ACos (protonCosThetaInJetV0frame));
18991917
1900- registryData.fill (HIST (" TH2FprotonCosThetaInJetV0" ), candidate.mLambda (), protonCosThetaInJetV0frame);
1901- registryData.fill (HIST (" TProfile1DprotonCosThetaInJetV0" ), candidate.mLambda (), protonCosThetaInJetV0frame);
1902- registryData.fill (HIST (" TProfile2DprotonCosThetaInJetV0" ), candidate.mLambda (), TMath::ATan2 (lambdaInJet (2 , 0 ), lambdaInJet (1 , 0 )), protonCosThetaInJetV0frame);
1918+ registryData.fill (HIST (" LambdaQA/TH2FprotonCosThetaInLab" ), candidate.mLambda (), protonCosThetaInLab);
1919+ registryData.fill (HIST (" LambdaQA/TProfile1DprotonCosThetaInLab" ), candidate.mLambda (), protonCosThetaInLab);
1920+ registryData.fill (HIST (" LambdaQA/TProfile1DprotonCos2ThetaInLab" ), candidate.mLambda (), protonCosThetaInLab * protonCosThetaInLab);
1921+
1922+ registryData.fill (HIST (" LambdaQA/TH2FprotonCosThetaInV0" ), candidate.mLambda (), protonCosThetaInV0frame);
1923+ registryData.fill (HIST (" LambdaQA/TProfile1DprotonCosThetaInV0" ), candidate.mLambda (), protonCosThetaInV0frame);
1924+ registryData.fill (HIST (" LambdaQA/TProfile1DprotonCos2ThetaInV0" ), candidate.mLambda (), protonCosThetaInV0frame * protonCosThetaInV0frame);
1925+
1926+ registryData.fill (HIST (" LambdaQA/TH2FprotonCosThetaInJet" ), candidate.mLambda (), protonCosThetaInJet);
1927+ registryData.fill (HIST (" LambdaQA/TProfile1DprotonCosThetaInJet" ), candidate.mLambda (), protonCosThetaInJet);
1928+ registryData.fill (HIST (" LambdaQA/TProfile1DprotonCos2ThetaInJet" ), candidate.mLambda (), protonCosThetaInJet * protonCosThetaInJet);
1929+
1930+ registryData.fill (HIST (" LambdaQA/TH2FprotonCosThetaInJetV0" ), candidate.mLambda (), protonCosThetaInJetV0frame);
1931+ registryData.fill (HIST (" LambdaQA/TProfile1DprotonCosThetaInJetV0" ), candidate.mLambda (), protonCosThetaInJetV0frame);
1932+ registryData.fill (HIST (" LambdaQA/TProfile1DprotonCos2ThetaInJetV0" ), candidate.mLambda (), protonCosThetaInJetV0frame * protonCosThetaInJetV0frame);
1933+ registryData.fill (HIST (" LambdaQA/TProfile2DprotonCosThetaInJetV0" ), candidate.mLambda (), TMath::ATan2 (lambdaInJet (2 , 0 ), lambdaInJet (1 , 0 )), protonCosThetaInJetV0frame);
1934+ registryData.fill (HIST (" LambdaQA/TProfile2DprotonCos2ThetaInJetV0" ), candidate.mLambda (), TMath::ATan2 (lambdaInJet (2 , 0 ), lambdaInJet (1 , 0 )), protonCosThetaInJetV0frame * protonCosThetaInJetV0frame);
19031935 }
19041936 if (registryDataAcceptV0AntiLambda (candidate, pos, neg, collision)) {
19051937 registryData.fill (HIST (" hMassAntiLambda" ), candidate.mAntiLambda ());
0 commit comments