Skip to content

Commit bc617cd

Browse files
authored
[PWGDQ] Add MC truth signal for prompt/non-prompt polarization studies (#14139)
1 parent 09a342e commit bc617cd

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

PWGDQ/Core/HistogramsLibrary.cxx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -990,6 +990,17 @@ void o2::aod::dqhistograms::DefineHistograms(HistogramManager* hm, const char* h
990990
hm->AddHistogram(histClass, "Coschi_randomPhi_toward", "", false, 40, -1.0, 1.0, VarManager::kMCCosChi_randomPhi_toward, 0, 0, 0, -1, 0, 0, 0, -1, "", "", "", -1, VarManager::kMCWeight_randomPhi_toward);
991991
hm->AddHistogram(histClass, "Coschi_randomPhi_away", "", false, 40, -1.0, 1.0, VarManager::kMCCosChi_randomPhi_away, 0, 0, 0, -1, 0, 0, 0, -1, "", "", "", -1, VarManager::kMCWeight_randomPhi_away);
992992
}
993+
if (!groupStr.CompareTo("polarization-pseudoproper-gen")) {
994+
int varspTHE[3] = {VarManager::kMCPt, VarManager::kMCCosThetaHE, VarManager::kMCVertexingTauxyProjected};
995+
int varspTCS[3] = {VarManager::kMCPt, VarManager::kMCCosThetaCS, VarManager::kMCVertexingTauxyProjected};
996+
int varspTRM[3] = {VarManager::kMCPt, VarManager::kMCCosThetaRM, VarManager::kMCVertexingTauxyProjected};
997+
int bins[3] = {20, 20, 1000};
998+
double xmin[3] = {0., -1., -0.5};
999+
double xmax[3] = {20., 1., 0.5};
1000+
hm->AddHistogram(histClass, "Pt_cosThetaHE_Tauxy", "", 3, varspTHE, bins, xmin, xmax, 0, -1, kFALSE);
1001+
hm->AddHistogram(histClass, "Pt_cosThetaCS_Tauxy", "", 3, varspTCS, bins, xmin, xmax, 0, -1, kFALSE);
1002+
hm->AddHistogram(histClass, "Pt_cosThetaRM_Tauxy", "", 3, varspTRM, bins, xmin, xmax, 0, -1, kFALSE);
1003+
}
9931004
if (!groupStr.CompareTo("pair")) {
9941005
if (subGroupStr.Contains("cepf")) {
9951006
hm->AddHistogram(histClass, "Mass", "", false, 300, 0.0, 12.0, VarManager::kMass);

0 commit comments

Comments
 (0)