@@ -91,24 +91,24 @@ class PairTrackTrackBuilder
9191 mPairHistManagerMe .template init <mode>(registry, pairHistSpec, confPairBinning, confPairCuts);
9292
9393 if (mSameSpecies ) {
94- mTrackHistManager1 .template init <mode>(registry, trackHistSpec1, confTrackSelection1. chargeAbs . value );
94+ mTrackHistManager1 .template init <mode>(registry, trackHistSpec1, confTrackSelection1);
9595
96- mPairHistManagerSe .setMass (confTrackSelection1.pdgCode .value , confTrackSelection1.pdgCode .value );
96+ mPairHistManagerSe .setMass (confTrackSelection1.pdgCodeAbs .value , confTrackSelection1.pdgCodeAbs .value );
9797 mPairHistManagerSe .setCharge (confTrackSelection1.chargeAbs .value , confTrackSelection1.chargeAbs .value );
9898 mCprSe .init (registry, cprHistSpec, confCpr, confTrackSelection1.chargeAbs .value , confTrackSelection1.chargeAbs .value );
9999
100- mPairHistManagerMe .setMass (confTrackSelection1.pdgCode .value , confTrackSelection1.pdgCode .value );
100+ mPairHistManagerMe .setMass (confTrackSelection1.pdgCodeAbs .value , confTrackSelection1.pdgCodeAbs .value );
101101 mPairHistManagerMe .setCharge (confTrackSelection1.chargeAbs .value , confTrackSelection1.chargeAbs .value );
102102 mCprMe .init (registry, cprHistSpec, confCpr, confTrackSelection1.chargeAbs .value , confTrackSelection1.chargeAbs .value );
103103 } else {
104- mTrackHistManager1 .template init <mode>(registry, trackHistSpec1, confTrackSelection1. chargeAbs . value );
105- mTrackHistManager2 .template init <mode>(registry, trackHistSpec2, confTrackSelection2. chargeAbs . value );
104+ mTrackHistManager1 .template init <mode>(registry, trackHistSpec1, confTrackSelection1);
105+ mTrackHistManager2 .template init <mode>(registry, trackHistSpec2, confTrackSelection2);
106106
107- mPairHistManagerSe .setMass (confTrackSelection1.pdgCode .value , confTrackSelection2.pdgCode .value );
107+ mPairHistManagerSe .setMass (confTrackSelection1.pdgCodeAbs .value , confTrackSelection2.pdgCodeAbs .value );
108108 mPairHistManagerSe .setCharge (confTrackSelection1.chargeAbs .value , confTrackSelection2.chargeAbs .value );
109109 mCprSe .init (registry, cprHistSpec, confCpr, confTrackSelection1.chargeAbs .value , confTrackSelection2.chargeAbs .value );
110110
111- mPairHistManagerMe .setMass (confTrackSelection1.pdgCode .value , confTrackSelection2.pdgCode .value );
111+ mPairHistManagerMe .setMass (confTrackSelection1.pdgCodeAbs .value , confTrackSelection2.pdgCodeAbs .value );
112112 mPairHistManagerMe .setCharge (confTrackSelection1.chargeAbs .value , confTrackSelection2.chargeAbs .value );
113113 mCprMe .init (registry, cprHistSpec, confCpr, confTrackSelection1.chargeAbs .value , confTrackSelection2.chargeAbs .value );
114114 }
@@ -266,24 +266,24 @@ class PairV0V0Builder
266266 mPairHistManagerMe .template init <mode>(registry, pairHistSpec, confPairBinning, confPairCuts);
267267
268268 if (mSameSpecies ) {
269- mV0HistManager1 .template init <mode>(registry, V0HistSpec1, PosDauHistSpec, NegDauHistSpec);
269+ mV0HistManager1 .template init <mode>(registry, V0HistSpec1, confV0Selection1, PosDauHistSpec, NegDauHistSpec);
270270
271- mPairHistManagerSe .setMass (confV0Selection1.pdgCode .value , confV0Selection1.pdgCode .value );
271+ mPairHistManagerSe .setMass (confV0Selection1.pdgCodeAbs .value , confV0Selection1.pdgCodeAbs .value );
272272 mPairHistManagerSe .setCharge (1 , 1 );
273273 mCprSe .init (registry, cprHistSpecPos, cprHistSpecNeg, confCprPos, confCprPos);
274274
275- mPairHistManagerMe .setMass (confV0Selection1.pdgCode .value , confV0Selection1.pdgCode .value );
275+ mPairHistManagerMe .setMass (confV0Selection1.pdgCodeAbs .value , confV0Selection1.pdgCodeAbs .value );
276276 mPairHistManagerMe .setCharge (1 , 1 );
277277 mCprMe .init (registry, cprHistSpecPos, cprHistSpecNeg, confCprPos, confCprNeg);
278278 } else {
279- mV0HistManager1 .template init <mode>(registry, V0HistSpec1, PosDauHistSpec, NegDauHistSpec);
280- mV0HistManager2 .template init <mode>(registry, V0HistSpec2, PosDauHistSpec, NegDauHistSpec);
279+ mV0HistManager1 .template init <mode>(registry, V0HistSpec1, confV0Selection1, PosDauHistSpec, NegDauHistSpec);
280+ mV0HistManager2 .template init <mode>(registry, V0HistSpec2, confV0Selection2, PosDauHistSpec, NegDauHistSpec);
281281
282- mPairHistManagerSe .setMass (confV0Selection1.pdgCode .value , confV0Selection2.pdgCode .value );
282+ mPairHistManagerSe .setMass (confV0Selection1.pdgCodeAbs .value , confV0Selection2.pdgCodeAbs .value );
283283 mPairHistManagerSe .setCharge (1 , 1 );
284284 mCprSe .init (registry, cprHistSpecPos, cprHistSpecNeg, confCprPos, confCprNeg);
285285
286- mPairHistManagerMe .setMass (confV0Selection1.pdgCode .value , confV0Selection2.pdgCode .value );
286+ mPairHistManagerMe .setMass (confV0Selection1.pdgCodeAbs .value , confV0Selection2.pdgCodeAbs .value );
287287 mPairHistManagerMe .setCharge (1 , 1 );
288288 mCprMe .init (registry, cprHistSpecPos, cprHistSpecNeg, confCprPos, confCprNeg);
289289 }
@@ -425,16 +425,16 @@ class PairTrackV0Builder
425425 {
426426 mColHistManager .template init <mode>(registry, colHistSpec);
427427
428- mTrackHistManager .template init <mode>(registry, trackHistSpec, confTrackSelection. chargeAbs . value );
429- mV0HistManager .template init <mode>(registry, v0HistSpec, posDauHistSpec, negDauHistSpec);
428+ mTrackHistManager .template init <mode>(registry, trackHistSpec, confTrackSelection);
429+ mV0HistManager .template init <mode>(registry, v0HistSpec, confV0Selection, posDauHistSpec, negDauHistSpec);
430430
431431 mPairHistManagerSe .template init <mode>(registry, pairHistSpec, confPairBinning, confPairCuts);
432- mPairHistManagerSe .setMass (confTrackSelection.pdgCode .value , confV0Selection.pdgCode .value );
432+ mPairHistManagerSe .setMass (confTrackSelection.pdgCodeAbs .value , confV0Selection.pdgCodeAbs .value );
433433 mPairHistManagerSe .setCharge (confTrackSelection.chargeAbs .value , 1 );
434434 mCprSe .init (registry, cprHistSpec, confCpr, confTrackSelection.chargeAbs .value );
435435
436436 mPairHistManagerMe .template init <mode>(registry, pairHistSpec, confPairBinning, confPairCuts);
437- mPairHistManagerMe .setMass (confTrackSelection.pdgCode .value , confV0Selection.pdgCode .value );
437+ mPairHistManagerMe .setMass (confTrackSelection.pdgCodeAbs .value , confV0Selection.pdgCodeAbs .value );
438438 mPairHistManagerMe .setCharge (confTrackSelection.chargeAbs .value , 1 );
439439 mCprMe .init (registry, cprHistSpec, confCpr, confTrackSelection.chargeAbs .value );
440440
@@ -533,16 +533,16 @@ class PairTrackTwoTrackResonanceBuilder
533533 {
534534 mColHistManager .template init <mode>(registry, colHistSpec);
535535
536- mTrackHistManager .template init <mode>(registry, trackHistSpec, confTrackSelection. chargeAbs . value );
537- mResonanceHistManager .template init <mode>(registry, resonanceHistSpec, posDauHistSpec, negDauHistSpec);
536+ mTrackHistManager .template init <mode>(registry, trackHistSpec, confTrackSelection);
537+ mResonanceHistManager .template init <mode>(registry, resonanceHistSpec, confResonanceSelection, posDauHistSpec, negDauHistSpec);
538538
539539 mPairHistManagerSe .template init <mode>(registry, pairHistSpec, confPairBinning, confPairCuts);
540- mPairHistManagerSe .setMass (confTrackSelection.pdgCode .value , confResonanceSelection.pdgCode .value );
540+ mPairHistManagerSe .setMass (confTrackSelection.pdgCodeAbs .value , confResonanceSelection.pdgCodeAbs .value );
541541 mPairHistManagerSe .setCharge (confTrackSelection.chargeAbs .value , 1 );
542542 mCprSe .init (registry, cprHistSpec, confCpr, confTrackSelection.chargeAbs .value );
543543
544544 mPairHistManagerMe .template init <mode>(registry, pairHistSpec, confPairBinning, confPairCuts);
545- mPairHistManagerMe .setMass (confTrackSelection.pdgCode .value , confResonanceSelection.pdgCode .value );
545+ mPairHistManagerMe .setMass (confTrackSelection.pdgCodeAbs .value , confResonanceSelection.pdgCodeAbs .value );
546546 mPairHistManagerMe .setCharge (confTrackSelection.chargeAbs .value , 1 );
547547 mCprMe .init (registry, cprHistSpec, confCpr, confTrackSelection.chargeAbs .value );
548548
@@ -638,16 +638,16 @@ class PairTrackKinkBuilder
638638 {
639639 mColHistManager .template init <mode>(registry, colHistSpec);
640640
641- mTrackHistManager .template init <mode>(registry, trackHistSpec, confTrackSelection. chargeAbs . value );
642- mKinkHistManager .template init <mode>(registry, kinkHistSpec, chaDauHistSpec);
641+ mTrackHistManager .template init <mode>(registry, trackHistSpec, confTrackSelection);
642+ mKinkHistManager .template init <mode>(registry, kinkHistSpec, confKinkSelection, chaDauHistSpec);
643643
644644 mPairHistManagerSe .template init <mode>(registry, pairHistSpec, confPairBinning, confPairCuts);
645- mPairHistManagerSe .setMass (confTrackSelection.pdgCode .value , confKinkSelection.pdgCode .value );
645+ mPairHistManagerSe .setMass (confTrackSelection.pdgCodeAbs .value , confKinkSelection.pdgCodeAbs .value );
646646 mPairHistManagerSe .setCharge (confTrackSelection.chargeAbs .value , 1 ); // abs charge of kink daughter is always 1
647647 mCprSe .init (registry, cprHistSpec, confCpr, confTrackSelection.chargeAbs .value );
648648
649649 mPairHistManagerMe .template init <mode>(registry, pairHistSpec, confPairBinning, confPairCuts);
650- mPairHistManagerMe .setMass (confTrackSelection.pdgCode .value , confKinkSelection.pdgCode .value );
650+ mPairHistManagerMe .setMass (confTrackSelection.pdgCodeAbs .value , confKinkSelection.pdgCodeAbs .value );
651651 mPairHistManagerMe .setCharge (confTrackSelection.chargeAbs .value , 1 ); // abs charge of kink daughter is always 1
652652 mCprMe .init (registry, cprHistSpec, confCpr, confTrackSelection.chargeAbs .value );
653653
@@ -755,16 +755,16 @@ class PairTrackCascadeBuilder
755755 {
756756 mColHistManager .template init <mode>(registry, colHistSpec);
757757
758- mTrackHistManager .template init <mode>(registry, trackHistSpec, confTrackSelection. chargeAbs . value );
759- mCascadeHistManager .template init <mode>(registry, cascadeHistSpec, bachelorHistSpec, posDauHistSpec, negDauHistSpec);
758+ mTrackHistManager .template init <mode>(registry, trackHistSpec, confTrackSelection);
759+ mCascadeHistManager .template init <mode>(registry, cascadeHistSpec, confCascadeSelection, bachelorHistSpec, posDauHistSpec, negDauHistSpec);
760760
761761 mPairHistManagerSe .template init <mode>(registry, pairHistSpec, confPairBinning, confPairCuts);
762- mPairHistManagerSe .setMass (confTrackSelection.pdgCode .value , confCascadeSelection.pdgCode .value );
762+ mPairHistManagerSe .setMass (confTrackSelection.pdgCodeAbs .value , confCascadeSelection.pdgCodeAbs .value );
763763 mPairHistManagerSe .setCharge (confTrackSelection.chargeAbs .value , 1 );
764764 mCprSe .init (registry, cprHistSpecBachelor, cprHistSpecV0Daughter, confCprBachelor, confCprV0Daughter, confTrackSelection.chargeAbs .value );
765765
766766 mPairHistManagerMe .template init <mode>(registry, pairHistSpec, confPairBinning, confPairCuts);
767- mPairHistManagerMe .setMass (confTrackSelection.pdgCode .value , confCascadeSelection.pdgCode .value );
767+ mPairHistManagerMe .setMass (confTrackSelection.pdgCodeAbs .value , confCascadeSelection.pdgCodeAbs .value );
768768 mPairHistManagerMe .setCharge (confTrackSelection.chargeAbs .value , 1 );
769769 mCprMe .init (registry, cprHistSpecBachelor, cprHistSpecV0Daughter, confCprBachelor, confCprV0Daughter, confTrackSelection.chargeAbs .value );
770770
0 commit comments