Skip to content

Commit ce06589

Browse files
committed
Removing unneeded dependencies in CMakeLists, organizing TableProducer's V0Topo histograms in a subfolder in ROOT
1 parent 8a45f25 commit ce06589

File tree

3 files changed

+23
-23
lines changed

3 files changed

+23
-23
lines changed

PWGLF/TableProducer/Strangeness/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ o2physics_add_dpl_workflow(lambdajetpolarizationbuilder
149149

150150
o2physics_add_dpl_workflow(lambdajetpolarizationions
151151
SOURCES lambdaJetPolarizationIons.cxx
152-
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2Physics::PWGJECore FastJet::FastJet FastJet::Contrib O2Physics::EventFilteringUtils O2Physics::AnalysisCCDB
153-
COMPONENT_NAME Analysis)
152+
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2Physics::PWGJECore FastJet::FastJet O2Physics::AnalysisCCDB
153+
COMPONENT_NAME Analysis)
154154

155155
o2physics_add_dpl_workflow(stracents
156156
SOURCES stracents.cxx

PWGLF/TableProducer/Strangeness/lambdaJetPolarizationIons.cxx

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -813,15 +813,15 @@ struct lambdajetpolarizationions {
813813
}
814814

815815
// For all received candidates:
816-
histos.add("hPosDCAToPV", "hPosDCAToPV", kTH1D, {axisConfigurations.axisDCAtoPV});
817-
histos.add("hNegDCAToPV", "hNegDCAToPV", kTH1D, {axisConfigurations.axisDCAtoPV});
818-
histos.add("hDCADaughters", "hDCADaughters", kTH1D, {axisConfigurations.axisDCAdau});
819-
histos.add("hPointingAngle", "hPointingAngle", kTH1D, {axisConfigurations.axisPointingAngle});
820-
histos.add("hV0Radius", "hV0Radius", kTH1D, {axisConfigurations.axisV0Radius});
821-
histos.add("h2dPositiveITSvsTPCpts", "h2dPositiveITSvsTPCpts", kTH2D, {axisConfigurations.axisTPCrows, axisConfigurations.axisITSclus});
822-
histos.add("h2dNegativeITSvsTPCpts", "h2dNegativeITSvsTPCpts", kTH2D, {axisConfigurations.axisTPCrows, axisConfigurations.axisITSclus});
823-
histos.add("h2dPositivePtVsPhi", "h2dPositivePtVsPhi", kTH2D, {axisConfigurations.axisPtCoarse, axisConfigurations.axisPhiMod});
824-
histos.add("h2dNegativePtVsPhi", "h2dNegativePtVsPhi", kTH2D, {axisConfigurations.axisPtCoarse, axisConfigurations.axisPhiMod});
816+
histos.add("V0KinematicQA/hPosDCAToPV", "hPosDCAToPV", kTH1D, {axisConfigurations.axisDCAtoPV});
817+
histos.add("V0KinematicQA/hNegDCAToPV", "hNegDCAToPV", kTH1D, {axisConfigurations.axisDCAtoPV});
818+
histos.add("V0KinematicQA/hDCADaughters", "hDCADaughters", kTH1D, {axisConfigurations.axisDCAdau});
819+
histos.add("V0KinematicQA/hPointingAngle", "hPointingAngle", kTH1D, {axisConfigurations.axisPointingAngle});
820+
histos.add("V0KinematicQA/hV0Radius", "hV0Radius", kTH1D, {axisConfigurations.axisV0Radius});
821+
histos.add("V0KinematicQA/h2dPositiveITSvsTPCpts", "h2dPositiveITSvsTPCpts", kTH2D, {axisConfigurations.axisTPCrows, axisConfigurations.axisITSclus});
822+
histos.add("V0KinematicQA/h2dNegativeITSvsTPCpts", "h2dNegativeITSvsTPCpts", kTH2D, {axisConfigurations.axisTPCrows, axisConfigurations.axisITSclus});
823+
histos.add("V0KinematicQA/h2dPositivePtVsPhi", "h2dPositivePtVsPhi", kTH2D, {axisConfigurations.axisPtCoarse, axisConfigurations.axisPhiMod});
824+
histos.add("V0KinematicQA/h2dNegativePtVsPhi", "h2dNegativePtVsPhi", kTH2D, {axisConfigurations.axisPtCoarse, axisConfigurations.axisPhiMod});
825825
if (analyseLambda) {
826826
histos.add("Lambda/hPosDCAToPV", "hPosDCAToPV", kTH1D, {axisConfigurations.axisDCAtoPV});
827827
histos.add("Lambda/hNegDCAToPV", "hNegDCAToPV", kTH1D, {axisConfigurations.axisDCAtoPV});
@@ -1748,15 +1748,15 @@ struct lambdajetpolarizationions {
17481748

17491749
if (doCompleteTopoQA){
17501750
// Remaking these variables outside of the passesLambdaLambdaBarHypothesis. Loses performance, but that should be OK for QA
1751-
histos.fill(HIST("hPosDCAToPV"), v0.dcapostopv());
1752-
histos.fill(HIST("hNegDCAToPV"), v0.dcanegtopv());
1753-
histos.fill(HIST("hDCADaughters"), v0.dcaV0daughters());
1754-
histos.fill(HIST("hPointingAngle"), std::acos(v0.v0cosPA()));
1755-
histos.fill(HIST("hV0Radius"), v0.v0radius());
1756-
histos.fill(HIST("h2dPositiveITSvsTPCpts"), posTrackExtra.tpcNClsCrossedRows(), posTrackExtra.itsNCls());
1757-
histos.fill(HIST("h2dNegativeITSvsTPCpts"), negTrackExtra.tpcNClsCrossedRows(), negTrackExtra.itsNCls());
1758-
histos.fill(HIST("h2dPositivePtVsPhi"), v0.positivept(), computePhiMod(v0.positivephi(), 1));
1759-
histos.fill(HIST("h2dNegativePtVsPhi"), v0.negativept(), computePhiMod(v0.negativephi(), -1));
1751+
histos.fill(HIST("V0KinematicQA/hPosDCAToPV"), v0.dcapostopv());
1752+
histos.fill(HIST("V0KinematicQA/hNegDCAToPV"), v0.dcanegtopv());
1753+
histos.fill(HIST("V0KinematicQA/hDCADaughters"), v0.dcaV0daughters());
1754+
histos.fill(HIST("V0KinematicQA/hPointingAngle"), std::acos(v0.v0cosPA()));
1755+
histos.fill(HIST("V0KinematicQA/hV0Radius"), v0.v0radius());
1756+
histos.fill(HIST("V0KinematicQA/h2dPositiveITSvsTPCpts"), posTrackExtra.tpcNClsCrossedRows(), posTrackExtra.itsNCls());
1757+
histos.fill(HIST("V0KinematicQA/h2dNegativeITSvsTPCpts"), negTrackExtra.tpcNClsCrossedRows(), negTrackExtra.itsNCls());
1758+
histos.fill(HIST("V0KinematicQA/h2dPositivePtVsPhi"), v0.positivept(), computePhiMod(v0.positivephi(), 1));
1759+
histos.fill(HIST("V0KinematicQA/h2dNegativePtVsPhi"), v0.negativept(), computePhiMod(v0.negativephi(), -1));
17601760
if (isLambda && analyseLambda) {
17611761
histos.fill(HIST("hMassLambda"), v0.mLambda());
17621762
histos.fill(HIST("Lambda/h3dMassLambda"), centrality, v0pt, v0.mLambda());

PWGLF/Tasks/Strangeness/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,9 @@ o2physics_add_dpl_workflow(lambdajetpolarization
167167
COMPONENT_NAME Analysis)
168168

169169
o2physics_add_dpl_workflow(lambdajetpolarizationionsderived
170-
SOURCES lambdaJetPolarizationIonsDerived.cxx
171-
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore
172-
COMPONENT_NAME Analysis)
170+
SOURCES lambdaJetPolarizationIonsDerived.cxx
171+
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore
172+
COMPONENT_NAME Analysis)
173173

174174
o2physics_add_dpl_workflow(lambdaspincorrderived
175175
SOURCES lambdaspincorrderived.cxx

0 commit comments

Comments
 (0)