Skip to content

Commit

Permalink
Please consider the following formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alibuild committed Jan 26, 2024
1 parent 33650bb commit 7381fe9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions PWGLF/Tasks/Strangeness/derivedlambdakzeroanalysis.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ struct derivedlambdakzeroanalysis {
histos.add("hEventCentrality", "hEventCentrality", kTH1F, {{100, 0.0f, +100.0f}});

// histograms versus mass
if(analyseK0Short)
if (analyseK0Short)
histos.add("h3dMassK0Short", "h3dMassK0Short", kTH3F, {axisCentrality, axisPt, axisK0Mass});
histos.add("h3dMassLambda", "h3dMassLambda", kTH3F, {axisCentrality, axisPt, axisLambdaMass});
histos.add("h3dMassAntiLambda", "h3dMassAntiLambda", kTH3F, {axisCentrality, axisPt, axisLambdaMass});
Expand All @@ -188,21 +188,21 @@ struct derivedlambdakzeroanalysis {
// QA histograms if requested
if (doQA) {
// initialize for K0short...
if(analyseK0Short){
if (analyseK0Short) {
histos.add("K0Short/h4dPosDCAToPV", "h4dPosDCAToPV", kTHnF, {axisCentrality, axisPtCoarse, axisK0Mass, axisDCAtoPV});
histos.add("K0Short/h4dNegDCAToPV", "h4dNegDCAToPV", kTHnF, {axisCentrality, axisPtCoarse, axisK0Mass, axisDCAtoPV});
histos.add("K0Short/h4dDCADaughters", "h4dDCADaughters", kTHnF, {axisCentrality, axisPtCoarse, axisK0Mass, axisDCAdau});
histos.add("K0Short/h4dPointingAngle", "h4dPointingAngle", kTHnF, {axisCentrality, axisPtCoarse, axisK0Mass, axisPointingAngle});
histos.add("K0Short/h4dV0Radius", "h4dV0Radius", kTHnF, {axisCentrality, axisPtCoarse, axisK0Mass, axisV0Radius});
}
if(analyseLambda){
if (analyseLambda) {
histos.add("Lambda/h4dPosDCAToPV", "h4dPosDCAToPV", kTHnF, {axisCentrality, axisPtCoarse, axisLambdaMass, axisDCAtoPV});
histos.add("Lambda/h4dNegDCAToPV", "h4dNegDCAToPV", kTHnF, {axisCentrality, axisPtCoarse, axisLambdaMass, axisDCAtoPV});
histos.add("Lambda/h4dDCADaughters", "h4dDCADaughters", kTHnF, {axisCentrality, axisPtCoarse, axisLambdaMass, axisDCAdau});
histos.add("Lambda/h4dPointingAngle", "h4dPointingAngle", kTHnF, {axisCentrality, axisPtCoarse, axisLambdaMass, axisPointingAngle});
histos.add("Lambda/h4dV0Radius", "h4dV0Radius", kTHnF, {axisCentrality, axisPtCoarse, axisLambdaMass, axisV0Radius});
}
if(analyseAntiLambda){
if (analyseAntiLambda) {
histos.add("AntiLambda/h4dPosDCAToPV", "h4dPosDCAToPV", kTHnF, {axisCentrality, axisPtCoarse, axisLambdaMass, axisDCAtoPV});
histos.add("AntiLambda/h4dNegDCAToPV", "h4dNegDCAToPV", kTHnF, {axisCentrality, axisPtCoarse, axisLambdaMass, axisDCAtoPV});
histos.add("AntiLambda/h4dDCADaughters", "h4dDCADaughters", kTHnF, {axisCentrality, axisPtCoarse, axisLambdaMass, axisDCAdau});
Expand Down Expand Up @@ -323,7 +323,7 @@ struct derivedlambdakzeroanalysis {
// __________________________________________
// do systematics / qa plots
if (doQA) {
if( analyseK0Short ){
if (analyseK0Short) {
if (verifyMask(selMap, maskTopoNoV0Radius | maskK0ShortSpecific))
histos.fill(HIST("K0Short/h4dV0Radius"), collision.centFT0C(), v0.pt(), v0.mK0Short(), v0.v0radius());
if (verifyMask(selMap, maskTopoNoDCAPosToPV | maskK0ShortSpecific))
Expand All @@ -336,7 +336,7 @@ struct derivedlambdakzeroanalysis {
histos.fill(HIST("K0Short/h4dDCADaughters"), collision.centFT0C(), v0.pt(), v0.mK0Short(), v0.dcaV0daughters());
}

if( analyseLambda ){
if (analyseLambda) {
if (verifyMask(selMap, maskTopoNoV0Radius | maskLambdaSpecific))
histos.fill(HIST("Lambda/h4dV0Radius"), collision.centFT0C(), v0.pt(), v0.mLambda(), v0.v0radius());
if (verifyMask(selMap, maskTopoNoDCAPosToPV | maskLambdaSpecific))
Expand All @@ -348,7 +348,7 @@ struct derivedlambdakzeroanalysis {
if (verifyMask(selMap, maskTopoNoDCAV0Dau | maskLambdaSpecific))
histos.fill(HIST("Lambda/h4dDCADaughters"), collision.centFT0C(), v0.pt(), v0.mLambda(), v0.dcaV0daughters());
}
if( analyseAntiLambda ){
if (analyseAntiLambda) {
if (verifyMask(selMap, maskTopoNoV0Radius | maskAntiLambdaSpecific))
histos.fill(HIST("AntiLambda/h4dV0Radius"), collision.centFT0C(), v0.pt(), v0.mAntiLambda(), v0.v0radius());
if (verifyMask(selMap, maskTopoNoDCAPosToPV | maskAntiLambdaSpecific))
Expand Down

0 comments on commit 7381fe9

Please sign in to comment.