Skip to content

Commit

Permalink
Please consider the following formatting changes (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
alibuild authored Jan 26, 2024
1 parent 8bc1b41 commit a3cf28a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions PWGLF/Tasks/Strangeness/derivedlambdakzeroanalysis.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,11 @@ 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});
if(analyseLambda)
if (analyseLambda)
histos.add("h3dMassLambda", "h3dMassLambda", kTH3F, {axisCentrality, axisPt, axisLambdaMass});
if(analyseAntiLambda)
if (analyseAntiLambda)
histos.add("h3dMassAntiLambda", "h3dMassAntiLambda", kTH3F, {axisCentrality, axisPt, axisLambdaMass});

// demo // fast
Expand All @@ -190,21 +190,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 @@ -325,7 +325,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 @@ -338,7 +338,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 @@ -350,7 +350,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 a3cf28a

Please sign in to comment.