Skip to content

Commit b53c699

Browse files
[PWGLF] added configurable to save the like-sign pairs (#16573)
1 parent 329dc72 commit b53c699

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ struct hyperRecoTask {
213213
Configurable<float> nTPCCrossedRowsMinHe{"nTPCCrossedRowsMinHe", 70, "helium minimum crossed rows"};
214214
Configurable<float> nTPCCrossedRowsMinPi{"nTPCCrossedRowsMinPi", -1., "pion minimum crossed rows"};
215215
Configurable<bool> mcSignalOnly{"mcSignalOnly", true, "If true, save only signal in MC"};
216+
Configurable<bool> useLikeSignPairs{"useLikeSignPairs", false, "If true, reconstruct like-sign pairs for background estimation. Does not work with processDataTracked"};
216217
Configurable<bool> cfgSkimmedProcessing{"cfgSkimmedProcessing", false, "Skimmed dataset processing"};
217218
Configurable<bool> isEventUsedForEPCalibration{"isEventUsedForEPCalibration", 1, "Event is used for EP calibration"};
218219

@@ -768,7 +769,7 @@ struct hyperRecoTask {
768769

769770
svCreator.appendTrackCand(track, collisions, pdgHypo, ambiguousTracks, bcs);
770771
}
771-
auto& svPool = svCreator.getSVCandPool(collisions);
772+
auto& svPool = svCreator.getSVCandPool(collisions, useLikeSignPairs);
772773
LOG(debug) << "SV pool size: " << svPool.size();
773774

774775
for (const auto& svCand : svPool) {

0 commit comments

Comments
 (0)