Skip to content

Commit 53c15a5

Browse files
authored
Remove flag for HFCascades (#509)
1 parent 621a551 commit 53c15a5

3 files changed

Lines changed: 2 additions & 7 deletions

File tree

PWGHF/DataModel/HFSecondaryVertex.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,7 @@ DECLARE_SOA_TABLE(Hf2Prong, "AOD", "HF2PRONG", //! Table for HF 2 prong candidat
8989
DECLARE_SOA_TABLE(HfCascade, "AOD", "HFCASCADE", //! Table for HF candidates with a V0
9090
o2::soa::Index<>,
9191
hf_track_index::Index0Id,
92-
hf_track_index::V0Id,
93-
hf_track_index::HFflag);
92+
hf_track_index::V0Id);
9493

9594
DECLARE_SOA_TABLE(Hf3Prong, "AOD", "HF3PRONG", //! Table for HF 3 prong candidates
9695
o2::soa::Index<>,
@@ -446,7 +445,6 @@ DECLARE_SOA_TABLE(HfCandCascBase, "AOD", "HFCANDCASCBASE", //!
446445
hf_cand::ErrorImpactParameter0, hf_cand::ErrorImpactParameter1,
447446
hf_track_index::Index0Id,
448447
hf_track_index::V0Id, // V0 index
449-
hf_track_index::HFflag,
450448
// V0
451449
v0data::X, v0data::Y, v0data::Z,
452450
v0data::PosTrackId, v0data::NegTrackId, // indices of V0 tracks in FullTracks table

PWGHF/TableProducer/HFCandidateCreatorCascade.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ struct HFCandidateCreatorCascade {
182182
impactParameterBach.getY(), impactParameterV0.getY(),
183183
std::sqrt(impactParameterBach.getSigmaY2()), std::sqrt(impactParameterV0.getSigmaY2()),
184184
casc.index0Id(), casc.v0Id(),
185-
casc.hfflag(),
186185
v0.x(), v0.y(), v0.z(),
187186
//v0.posTrack(), v0.negTrack(), // why this was not fine?
188187
trackV0DaughPos.globalIndex(), trackV0DaughNeg.globalIndex(),

PWGHF/TableProducer/HFTrackIndexSkimsCreator.cxx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1331,7 +1331,6 @@ struct HfTrackIndexSkimsCreator {
13311331

13321332
struct HfTrackIndexSkimsCreatorCascades {
13331333
Produces<aod::HfCascade> rowTrackIndexCasc;
1334-
// Produces<aod::Hf2Prong> rowTrackIndexCasc;
13351334

13361335
// whether to do or not validation plots
13371336
Configurable<bool> doValPlots{"doValPlots", true, "fill histograms"};
@@ -1577,8 +1576,7 @@ struct HfTrackIndexSkimsCreatorCascades {
15771576

15781577
// fill table row
15791578
rowTrackIndexCasc(bach.globalIndex(),
1580-
v0.globalIndex(),
1581-
1); // 1 should be the value for the Lc
1579+
v0.globalIndex());
15821580
// fill histograms
15831581
if (doValPlots) {
15841582
MY_DEBUG_MSG(isK0SfromLc && isProtonFromLc && isLc, LOG(info) << "KEPT! True Lc from proton " << indexBach << " and K0S pos " << indexV0DaughPos << " and neg " << indexV0DaughNeg);

0 commit comments

Comments
 (0)