Skip to content

Commit 5b4b7f8

Browse files
authored
[PWGEM/Dileton] update studyDCAFitter.cxx (#16574)
1 parent 9d958f0 commit 5b4b7f8

2 files changed

Lines changed: 532 additions & 547 deletions

File tree

PWGEM/Dilepton/DataModel/lmeeMLTables.h

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,58 @@ DECLARE_SOA_TABLE(EMMLLCascPairs, "AOD", "EMMLLCPAIR", //!
344344
// iterators
345345
using EMMLLCascPair = EMMLLCascPairs::iterator;
346346

347+
namespace emmldilepton
348+
{
349+
DECLARE_SOA_INDEX_COLUMN(EMMLEvent, emmlevent); //! index to event table
350+
DECLARE_SOA_COLUMN(Signed1Pt1, signed1Pt1, float); //! q/pt of lepton1 at PV
351+
DECLARE_SOA_COLUMN(Eta1, eta1, float); //! eta of lepton1 at PV
352+
DECLARE_SOA_COLUMN(ImpParXY1, impParXY1, float); //! impact parameter for lepton1 in XY plane
353+
DECLARE_SOA_COLUMN(ImpParZ1, impParZ1, float); //! impact parameter for lepton1 in Z plane
354+
DECLARE_SOA_COLUMN(ImpParCYY1, impParCYY1, float); //! sigma of impact parameter for lepton1 in XY
355+
DECLARE_SOA_COLUMN(ImpParCZY1, impParCZY1, float); //! sigma of impact parameter for lepton1, correlaion term
356+
DECLARE_SOA_COLUMN(ImpParCZZ1, impParCZZ1, float); //! sigma of impact parameter for lepton1 in Z
357+
358+
DECLARE_SOA_COLUMN(Signed1Pt2, signed1Pt2, float); //! q/pt of lepton2 at PV
359+
DECLARE_SOA_COLUMN(Eta2, eta2, float); //! eta of lepton1 at PV
360+
DECLARE_SOA_COLUMN(ImpParXY2, impParXY2, float); //! impact parameter for lepton2 in XY plane
361+
DECLARE_SOA_COLUMN(ImpParZ2, impParZ2, float); //! impact parameter for lepton2 in Z plane
362+
DECLARE_SOA_COLUMN(ImpParCYY2, impParCYY2, float); //! sigma of impact parameter for lepton2 in XY
363+
DECLARE_SOA_COLUMN(ImpParCZY2, impParCZY2, float); //! sigma of impact parameter for lepton2, correlaion term
364+
DECLARE_SOA_COLUMN(ImpParCZZ2, impParCZZ2, float); //! sigma of impact parameter for lepton2 in Z
365+
366+
DECLARE_SOA_COLUMN(Mass, mass, float); //! invariant mass of dilepton
367+
DECLARE_SOA_COLUMN(Pt, pt, float); //! dilepton pair pt
368+
DECLARE_SOA_COLUMN(Rapidity, rapidity, float); //! dilepton pair rapidity
369+
DECLARE_SOA_COLUMN(Chi2PCA, chi2PCA, float); //! chi2 at PCA of dilepton
370+
DECLARE_SOA_COLUMN(CPA, cpa, float); //! cosine of pointing angle of dilepton
371+
DECLARE_SOA_COLUMN(CPAXY, cpaXY, float); //! cosine of pointing angle of dilepton in XY
372+
DECLARE_SOA_COLUMN(CPARZ, cpaRZ, float); //! cosine of pointing angle of dilepton in RZ
373+
374+
DECLARE_SOA_COLUMN(Lxy, lxy, float); //! decay length of dilepton
375+
DECLARE_SOA_COLUMN(Lz, lz, float); //! decay length of dilepton
376+
DECLARE_SOA_COLUMN(Lxyz, lxyz, float); //! decay length of dilepton
377+
DECLARE_SOA_COLUMN(LxyErr, lxyErr, float); //! decay length resolution of dilepton
378+
DECLARE_SOA_COLUMN(LzErr, lzErr, float); //! decay length resolution of dilepton
379+
DECLARE_SOA_COLUMN(LxyzErr, lxyzErr, float); //! decay length resolution of dilepton
380+
381+
DECLARE_SOA_COLUMN(DileptonType, dileptonType, uint8_t); //! dilepton type: 0=combinatorial bkg, 1=prompt SM, 2=nonprompt SM, 3=c2l_c2l, 4=b2l_b2l, 5=b2bc2l_b2c2l, 6=b2c2e_b2e_sameb, 7=b2c2e_b2e_diffb
382+
DECLARE_SOA_COLUMN(PdgCodeCommonMother, pdgCodeCommonMother, int); //! pdg code of common mother. If it is not found, -1.
383+
} // namespace emmldilepton
384+
385+
DECLARE_SOA_TABLE(EMMLDielectronsAtSV, "AOD", "EMMLEESV", //!
386+
emmldilepton::EMMLEventId,
387+
emmldilepton::Signed1Pt1, emmldilepton::Eta1, emmldilepton::ImpParXY1, emmldilepton::ImpParZ1, emmldilepton::ImpParCYY1, emmldilepton::ImpParCZY1, emmldilepton::ImpParCZZ1,
388+
emmldilepton::Signed1Pt2, emmldilepton::Eta2, emmldilepton::ImpParXY2, emmldilepton::ImpParZ2, emmldilepton::ImpParCYY2, emmldilepton::ImpParCZY2, emmldilepton::ImpParCZZ2,
389+
emmldilepton::Mass, emmldilepton::Pt, emmldilepton::Rapidity,
390+
emmldilepton::Chi2PCA,
391+
emmldilepton::CPA, emmldilepton::CPAXY, emmldilepton::CPARZ,
392+
emmldilepton::Lxy, emmldilepton::Lz, emmldilepton::Lxyz,
393+
emmldilepton::LxyErr, emmldilepton::LzErr, emmldilepton::LxyzErr,
394+
emmldilepton::DileptonType, emmldilepton::PdgCodeCommonMother);
395+
396+
// iterators
397+
using EMMLDielectronAtSV = EMMLDielectronsAtSV::iterator;
398+
347399
} // namespace o2::aod
348400

349401
#endif // PWGEM_DILEPTON_DATAMODEL_LMEEMLTABLES_H_

0 commit comments

Comments
 (0)