Skip to content

Commit

Permalink
PWGHF: Adding reduced data model for Ds resonances (AliceO2Group#4783)
Browse files Browse the repository at this point in the history
* First attempt at Ds1 reduced data creation

* deleted draft script

* Revert "First attempt at Ds1 reduced data creation"

This reverts commit 3dd904a.

* First steps towards Resonance analysis

* First attempt at Ds1 reduced data creation

* deleted draft script

* implemented other resonance channels and added charge info to 3 prong candidate table

* removing draft script

* Revert "removing draft script"

This reverts commit c87802e.

* Delete PWGHF/D2H/TableProducer/candidateCreatorCharmResoReduced.cxx

Deleted Draft Candidate Creator

* Please consider the following formatting changes

* Update PWGHF/D2H/TableProducer/dataCreatorDV0Reduced.cxx

Co-authored-by: Fabrizio <[email protected]>

* Update PWGHF/D2H/TableProducer/dataCreatorDV0Reduced.cxx

Co-authored-by: Fabrizio <[email protected]>

* Update PWGHF/D2H/DataModel/ReducedDataModel.h

Co-authored-by: Fabrizio <[email protected]>

* Update PWGHF/D2H/DataModel/ReducedDataModel.h

Co-authored-by: Fabrizio <[email protected]>

* Please consider the following formatting changes

* changed decay channels and added selections on V0 candidates

* Added PID cut on protons for Lambda

* Please consider the following formatting changes

* Delete PWGHF/DataModel/CandidateReconstructionTables.h

* Delete PWGHF/TableProducer/candidateCreator3Prong.cxx

* Revert "Delete PWGHF/TableProducer/candidateCreator3Prong.cxx"

This reverts commit 44dbb07.

* Revert "Delete PWGHF/DataModel/CandidateReconstructionTables.h"

This reverts commit 70e430a.

* Implemented comments

* data model update

* Update CandidateReconstructionTables.h

* Update candidateCreator3Prong.cxx

* Update candidateCreator3Prong.cxx

* Update dataCreatorDV0Reduced.cxx

* Please consider the following formatting changes

---------

Co-authored-by: ALICE Action Bot <[email protected]>
Co-authored-by: Fabrizio <[email protected]>
  • Loading branch information
3 people authored Feb 28, 2024
1 parent 46877c9 commit 00708ff
Show file tree
Hide file tree
Showing 3 changed files with 471 additions and 0 deletions.
42 changes: 42 additions & 0 deletions PWGHF/D2H/DataModel/ReducedDataModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,48 @@ DECLARE_SOA_TABLE(HfCandBpConfigs, "AOD", "HFCANDBPCONFIG", //! Table with confi
hf_cand_bplus_config::MySelectionFlagD0,
hf_cand_bplus_config::MySelectionFlagD0bar,
hf_cand_bplus_config::MyInvMassWindowD0Pi);

// Charm resonances analysis
namespace hf_reso_cand_reduced
{
DECLARE_SOA_COLUMN(InvMass, invMass, float); //! Invariant mass of 3 prong candidate in GeV/c2
DECLARE_SOA_COLUMN(InvMassK0s, invMassK0s, float); //! Invariant mass of V0 candidate in GeV/c2, under K0s mass assumption
DECLARE_SOA_COLUMN(InvMassLambda, invMassLambda, float); //! Invariant mass of V0 candidate in GeV/c2, under Lambda mass assumption
DECLARE_SOA_COLUMN(InvMassAntiLambda, invMassAntiLambda, float); //! Invariant mass of V0 candidate in GeV/c2, under AntiLambda mass assumption
DECLARE_SOA_COLUMN(Px, px, float); //! Momentum of V0/3 prong candidate in GeV/c
DECLARE_SOA_COLUMN(Py, py, float);
DECLARE_SOA_COLUMN(Pz, pz, float);
DECLARE_SOA_COLUMN(CosP, cosp, float); //! Cos PA of V0 candidate
DECLARE_SOA_COLUMN(DCA, dca, float); //! DCA of V0 candidate
DECLARE_SOA_COLUMN(Radius, radius, float); //! Radius of V0 candidate
DECLARE_SOA_COLUMN(V0Type, v0Type, uint8_t); //! Bitmap with mass hypothesis of the V0
DECLARE_SOA_COLUMN(DType, dType, int8_t); //! Integer with selected D candidate type: 1 = Dplus, -1 = Dminus, 2 = DstarPlus, -2 = DstarMinus
} // namespace hf_reso_cand_reduced

DECLARE_SOA_TABLE(HfRedVzeros, "AOD", "HFREDVZERO", //! Table with V0 candidate information for resonances reduced workflow
o2::soa::Index<>,
hf_track_index_reduced::Prong0Id, hf_track_index_reduced::Prong1Id,
hf_track_index_reduced::HfRedCollisionId,
hf_cand::XSecondaryVertex, hf_cand::YSecondaryVertex, hf_cand::ZSecondaryVertex,
hf_reso_cand_reduced::InvMassK0s, hf_reso_cand_reduced::InvMassLambda, hf_reso_cand_reduced::InvMassAntiLambda,
hf_reso_cand_reduced::Px,
hf_reso_cand_reduced::Py,
hf_reso_cand_reduced::Pz,
hf_reso_cand_reduced::CosP,
hf_reso_cand_reduced::DCA,
hf_reso_cand_reduced::Radius,
hf_reso_cand_reduced::V0Type);

DECLARE_SOA_TABLE(HfRed3PrNoTrks, "AOD", "HFRED3PRNOTRK", //! Table with 3 prong candidate information for resonances reduced workflow
o2::soa::Index<>,
hf_track_index_reduced::Prong0Id, hf_track_index_reduced::Prong1Id, hf_track_index_reduced::Prong2Id,
hf_track_index_reduced::HfRedCollisionId,
hf_cand::XSecondaryVertex, hf_cand::YSecondaryVertex, hf_cand::ZSecondaryVertex,
hf_reso_cand_reduced::InvMass,
hf_reso_cand_reduced::Px,
hf_reso_cand_reduced::Py,
hf_reso_cand_reduced::Pz,
hf_reso_cand_reduced::DType);
} // namespace aod

namespace soa
Expand Down
5 changes: 5 additions & 0 deletions PWGHF/D2H/TableProducer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,8 @@ o2physics_add_dpl_workflow(data-creator-dplus-pi-reduced
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DCAFitter
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(data-creator-d-v0-reduced
SOURCES dataCreatorDV0Reduced.cxx
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DCAFitter
COMPONENT_NAME Analysis)

Loading

0 comments on commit 00708ff

Please sign in to comment.