Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,13 @@ DECLARE_SOA_COLUMN(IsSelD0bar, isSelD0bar, int);
DECLARE_SOA_TABLE(HFSelD0Candidate, "AOD", "HFSELD0CAND", hf_selcandidate::IsSelD0, hf_selcandidate::IsSelD0bar);
} // namespace o2::aod

namespace o2::aod
{
namespace hf_selcandidate_lc

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hf_selcandidate should be renamed to hf_selcandidate_d0.

{
DECLARE_SOA_COLUMN(IsSelLc, isSelLc, int);
} // namespace hf_selcandidate_lc
DECLARE_SOA_TABLE(HFSelLcCandidate, "AOD", "HFSELLcCAND", hf_selcandidate_lc::IsSelLc);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The descriptor should be in capitals.

} // namespace o2::aod

#endif // O2_ANALYSIS_HFCANDIDATESELECTIONTABLES_H_
26 changes: 26 additions & 0 deletions Analysis/DataModel/include/Analysis/HFSecondaryVertex.h
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,32 @@ auto InvMassDPlus(const T& candidate)
{
return candidate.m(array{RecoDecay::getMassPDG(kPiPlus), RecoDecay::getMassPDG(kKPlus), RecoDecay::getMassPDG(kPiPlus)});
}

// Lc+ → p K- π+

template <typename T>
auto CtLc(const T& candidate)
{
return candidate.ct(RecoDecay::getMassPDG(4122));
}

template <typename T>
auto YLc(const T& candidate)
{
return candidate.y(RecoDecay::getMassPDG(4122));
}

template <typename T>
auto ELc(const T& candidate)
{
return candidate.e(RecoDecay::getMassPDG(4122));
}

template <typename T>
auto InvMassLc(const T& candidate)
{
return candidate.m(array{RecoDecay::getMassPDG(kProton), RecoDecay::getMassPDG(kKPlus), RecoDecay::getMassPDG(kPiPlus)});
}
Comment on lines +304 to +308

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there should be a second version of this with proton and pion hypotheses swapped.

} // namespace hf_cand_prong3

// 3-prong decay candidate table
Expand Down
10 changes: 10 additions & 0 deletions Analysis/Tasks/PWGHF/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ o2_add_dpl_workflow(hf-d0-candidate-selector
PUBLIC_LINK_LIBRARIES O2::Framework O2::AnalysisDataModel O2::AnalysisCore O2::DetectorsVertexing
COMPONENT_NAME Analysis)

o2_add_dpl_workflow(hf-lc-candidate-selector
SOURCES HFLcCandidateSelector.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2::AnalysisDataModel O2::AnalysisCore O2::DetectorsVertexing
COMPONENT_NAME Analysis)

o2_add_dpl_workflow(hf-task-d0
SOURCES taskD0.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2::AnalysisDataModel O2::AnalysisCore O2::DetectorsVertexing
Expand All @@ -37,3 +42,8 @@ o2_add_dpl_workflow(hf-task-dplus
SOURCES taskDPlus.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2::AnalysisDataModel O2::AnalysisCore O2::DetectorsVertexing
COMPONENT_NAME Analysis)

o2_add_dpl_workflow(hf-task-lc
SOURCES taskLc.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2::AnalysisDataModel O2::AnalysisCore O2::DetectorsVertexing
COMPONENT_NAME Analysis)
Loading