99// granted to it by virtue of its status as an Intergovernmental Organization
1010// or submit itself to any jurisdiction.
1111
12- // / \file task-mini.cxx
12+ // / \file DataModelMini.h
1313// / \brief Mini version of the HF analysis chain
1414// /
1515// / \author Vít Kučera <[email protected] >, Inha University@@ -28,7 +28,7 @@ DECLARE_SOA_COLUMN(IsSelProng, isSelProng, bool); //! prong selection flag
2828} // namespace hf_seltrack
2929
3030// Track selection table
31- DECLARE_SOA_TABLE (HfSelTrack , " AOD" , " HFSELTRACK " , // ! track selection table
31+ DECLARE_SOA_TABLE (HfTSelTrack , " AOD" , " HFTSELTRACK " , // ! track selection table
3232 hf_seltrack::IsSelProng);
3333
3434namespace hf_track_index
@@ -39,7 +39,7 @@ DECLARE_SOA_INDEX_COLUMN_FULL(Prong1, prong1, int, Tracks, "_1"); //! prong 1
3939} // namespace hf_track_index
4040
4141// Track index skim table
42- DECLARE_SOA_TABLE (HfTrackIndexProng2 , " AOD" , " HFTRACKIDXP2 " , // ! table with prongs indices
42+ DECLARE_SOA_TABLE (HfT2Prongs , " AOD" , " HFT2PRONG " , // ! table with prongs indices
4343 hf_track_index::Prong0Id,
4444 hf_track_index::Prong1Id);
4545
@@ -79,12 +79,12 @@ DECLARE_SOA_EXPRESSION_COLUMN(Pz, pz, //! pz of candidate
7979 float , 1 .f * pzProng0 + 1 .f * pzProng1);
8080DECLARE_SOA_DYNAMIC_COLUMN (M, m, // ! invariant mass of candidate
8181 [](float px0, float py0, float pz0, float px1, float py1, float pz1, const std::array<double , 2 >& m) -> float { return RecoDecay::m (std::array{std::array{px0, py0, pz0}, std::array{px1, py1, pz1}}, m); });
82- DECLARE_SOA_DYNAMIC_COLUMN (CPA , cpa, // ! cosine of pointing angle of candidate
82+ DECLARE_SOA_DYNAMIC_COLUMN (Cpa , cpa, // ! cosine of pointing angle of candidate
8383 [](float xVtxP, float yVtxP, float zVtxP, float xVtxS, float yVtxS, float zVtxS, float px, float py, float pz) -> float { return RecoDecay::cpa (std::array{xVtxP, yVtxP, zVtxP}, std::array{xVtxS, yVtxS, zVtxS}, std::array{px, py, pz}); });
8484} // namespace hf_cand_prong2
8585
8686// Candidate table
87- DECLARE_SOA_TABLE (HfCandProng2Base , " AOD" , " HFCANDP2BASE " , // ! 2-prong candidate table
87+ DECLARE_SOA_TABLE (HfTCand2ProngBase , " AOD" , " HFTCAND2PBASE " , // ! 2-prong candidate table
8888 hf_cand_prong2::CollisionId,
8989 collision::PosX, collision::PosY, collision::PosZ,
9090 hf_cand_prong2::XSecondaryVertex, hf_cand_prong2::YSecondaryVertex, hf_cand_prong2::ZSecondaryVertex,
@@ -98,14 +98,14 @@ DECLARE_SOA_TABLE(HfCandProng2Base, "AOD", "HFCANDP2BASE", //! 2-prong candidate
9898 /* dynamic columns */
9999 hf_cand_prong2::M<hf_cand_prong2::PxProng0, hf_cand_prong2::PyProng0, hf_cand_prong2::PzProng0, hf_cand_prong2::PxProng1, hf_cand_prong2::PyProng1, hf_cand_prong2::PzProng1>,
100100 /* dynamic columns that use candidate momentum components */
101- hf_cand_prong2::CPA <collision::PosX, collision::PosY, collision::PosZ, hf_cand_prong2::XSecondaryVertex, hf_cand_prong2::YSecondaryVertex, hf_cand_prong2::ZSecondaryVertex, hf_cand_prong2::Px, hf_cand_prong2::Py, hf_cand_prong2::Pz>,
101+ hf_cand_prong2::Cpa <collision::PosX, collision::PosY, collision::PosZ, hf_cand_prong2::XSecondaryVertex, hf_cand_prong2::YSecondaryVertex, hf_cand_prong2::ZSecondaryVertex, hf_cand_prong2::Px, hf_cand_prong2::Py, hf_cand_prong2::Pz>,
102102 hf_cand_prong2::Pt<hf_cand_prong2::Px, hf_cand_prong2::Py>);
103103
104104// Extended table with expression columns that can be used as arguments of dynamic columns
105- DECLARE_SOA_EXTENDED_TABLE_USER (HfCandProng2Ext, HfCandProng2Base , " HFCANDP2EXT " , // ! extension table for the 2-prong candidate table
105+ DECLARE_SOA_EXTENDED_TABLE_USER (HfTCand2ProngExt, HfTCand2ProngBase , " HFTCAND2PEXT " , // ! extension table for the 2-prong candidate table
106106 hf_cand_prong2::Px, hf_cand_prong2::Py, hf_cand_prong2::Pz);
107107
108- using HfCandProng2 = HfCandProng2Ext ;
108+ using HfTCand2Prong = HfTCand2ProngExt ;
109109
110110namespace hf_selcandidate_d0
111111{
@@ -115,7 +115,7 @@ DECLARE_SOA_COLUMN(IsSelD0bar, isSelD0bar, int); //! selection flag for D0 bar
115115} // namespace hf_selcandidate_d0
116116
117117// Candidate selection table
118- DECLARE_SOA_TABLE (HfSelCandidateD0 , " AOD" , " HFSELCANDD0 " , // ! table with D0 selection flags
118+ DECLARE_SOA_TABLE (HfTSelD0 , " AOD" , " HFTSELD0 " , // ! table with D0 selection flags
119119 hf_selcandidate_d0::IsSelD0,
120120 hf_selcandidate_d0::IsSelD0bar);
121121} // namespace o2::aod
0 commit comments