Skip to content

Commit e74bb35

Browse files
author
Francesco Mazzaschi
committed
snapshot, double omega tree creator added
1 parent 6553b66 commit e74bb35

5 files changed

Lines changed: 874 additions & 426 deletions

File tree

PWGLF/DataModel/LFDoubleCascTables.h

Lines changed: 0 additions & 72 deletions
This file was deleted.
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2+
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3+
// All rights not expressly granted are reserved.
4+
//
5+
// This software is distributed under the terms of the GNU General Public
6+
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7+
//
8+
// In applying this license CERN does not waive the privileges and immunities
9+
// granted to it by virtue of its status as an Intergovernmental Organization
10+
// or submit itself to any jurisdiction.
11+
12+
#ifndef PWGLF_DATAMODEL_LFDOUBLEOMEGATABLES_H_
13+
#define PWGLF_DATAMODEL_LFDOUBLEOMEGATABLES_H_
14+
15+
#include <Framework/AnalysisDataModel.h>
16+
17+
#include <cstdint>
18+
19+
namespace o2::aod
20+
{
21+
22+
namespace DoubleOmegaTables
23+
{
24+
DECLARE_SOA_COLUMN(PtCasc1, ptCasc1, float); // signed pt of the cascade
25+
DECLARE_SOA_COLUMN(EtaCasc1, etaCasc1, float);
26+
DECLARE_SOA_COLUMN(PhiCasc1, phiCasc1, float);
27+
DECLARE_SOA_COLUMN(CascDecLength1, cascDecLength1, float);
28+
DECLARE_SOA_COLUMN(OmegaMassCasc1, omegaMassCasc1, float);
29+
DECLARE_SOA_COLUMN(XiMassCasc1, xiMassCasc1, float);
30+
DECLARE_SOA_COLUMN(CosPACasc1, cosPACasc1, float);
31+
DECLARE_SOA_COLUMN(DcaBachPVCasc1, dcaBachPVCasc1, float);
32+
DECLARE_SOA_COLUMN(DcaV0BachCasc1, dcaV0BachCasc1, float);
33+
DECLARE_SOA_COLUMN(NSigmaKBach1, nSigmaKBach1, float);
34+
35+
DECLARE_SOA_COLUMN(PtLambda, ptLambda, float);
36+
DECLARE_SOA_COLUMN(EtaLambda, etaLambda, float);
37+
DECLARE_SOA_COLUMN(PhiLambda, phiLambda, float);
38+
DECLARE_SOA_COLUMN(LambdaDecLength, lambdaDecLength, float);
39+
DECLARE_SOA_COLUMN(LambdaMass, lambdaMass, float);
40+
DECLARE_SOA_COLUMN(CosPALambda, cosPALambda, float);
41+
DECLARE_SOA_COLUMN(DcaPosPVLambda, dcaPosPVLambda, float);
42+
DECLARE_SOA_COLUMN(DcaNegPVLambda, dcaNegPVLambda, float);
43+
DECLARE_SOA_COLUMN(DcaLambdaDaughters, dcaLambdaDaughters, float);
44+
DECLARE_SOA_COLUMN(NSigmaPrLambda, nSigmaPrLambda, float);
45+
DECLARE_SOA_COLUMN(NSigmaPiLambda, nSigmaPiLambda, float);
46+
47+
DECLARE_SOA_COLUMN(PtKaon, ptKaon, float);
48+
DECLARE_SOA_COLUMN(EtaKaon, etaKaon, float);
49+
DECLARE_SOA_COLUMN(PhiKaon, phiKaon, float);
50+
DECLARE_SOA_COLUMN(ChargeKaon, chargeKaon, int8_t);
51+
DECLARE_SOA_COLUMN(DcaXYKaon, dcaXYKaon, float);
52+
DECLARE_SOA_COLUMN(DcaZKaon, dcaZKaon, float);
53+
DECLARE_SOA_COLUMN(NSigmaKKaon, nSigmaKKaon, float);
54+
55+
DECLARE_SOA_COLUMN(DoubleOmegaMass, doubleOmegaMass, float);
56+
57+
DECLARE_SOA_COLUMN(GenPt, genPt, float);
58+
DECLARE_SOA_COLUMN(GenEta, genEta, float);
59+
DECLARE_SOA_COLUMN(GenPhi, genPhi, float);
60+
DECLARE_SOA_COLUMN(GenDecayLength, genDecayLength, float);
61+
DECLARE_SOA_COLUMN(PdgDoubleOmega, pdgDoubleOmega, int);
62+
DECLARE_SOA_COLUMN(IsReco, isReco, bool);
63+
} // namespace DoubleOmegaTables
64+
65+
#define DOUBLE_OMEGA_RECO_COLUMNS \
66+
DoubleOmegaTables::PtCasc1, \
67+
DoubleOmegaTables::EtaCasc1, \
68+
DoubleOmegaTables::PhiCasc1, \
69+
DoubleOmegaTables::CascDecLength1, \
70+
DoubleOmegaTables::OmegaMassCasc1, \
71+
DoubleOmegaTables::XiMassCasc1, \
72+
DoubleOmegaTables::CosPACasc1, \
73+
DoubleOmegaTables::DcaBachPVCasc1, \
74+
DoubleOmegaTables::DcaV0BachCasc1, \
75+
DoubleOmegaTables::NSigmaKBach1, \
76+
DoubleOmegaTables::PtLambda, \
77+
DoubleOmegaTables::EtaLambda, \
78+
DoubleOmegaTables::PhiLambda, \
79+
DoubleOmegaTables::LambdaDecLength, \
80+
DoubleOmegaTables::LambdaMass, \
81+
DoubleOmegaTables::CosPALambda, \
82+
DoubleOmegaTables::DcaPosPVLambda, \
83+
DoubleOmegaTables::DcaNegPVLambda, \
84+
DoubleOmegaTables::DcaLambdaDaughters, \
85+
DoubleOmegaTables::NSigmaPrLambda, \
86+
DoubleOmegaTables::NSigmaPiLambda, \
87+
DoubleOmegaTables::PtKaon, \
88+
DoubleOmegaTables::EtaKaon, \
89+
DoubleOmegaTables::PhiKaon, \
90+
DoubleOmegaTables::ChargeKaon, \
91+
DoubleOmegaTables::DcaXYKaon, \
92+
DoubleOmegaTables::DcaZKaon, \
93+
DoubleOmegaTables::NSigmaKKaon, \
94+
DoubleOmegaTables::DoubleOmegaMass
95+
96+
DECLARE_SOA_TABLE(DoubleOmegaTable, "AOD", "DOUBLEOMEGATABLE",
97+
DOUBLE_OMEGA_RECO_COLUMNS);
98+
99+
DECLARE_SOA_TABLE(DoubleOmegaTableMC, "AOD", "DBLOMEGAMCTABLE",
100+
DOUBLE_OMEGA_RECO_COLUMNS,
101+
DoubleOmegaTables::GenPt,
102+
DoubleOmegaTables::GenEta,
103+
DoubleOmegaTables::GenPhi,
104+
DoubleOmegaTables::GenDecayLength,
105+
DoubleOmegaTables::PdgDoubleOmega,
106+
DoubleOmegaTables::IsReco);
107+
108+
#undef DOUBLE_OMEGA_RECO_COLUMNS
109+
110+
} // namespace o2::aod
111+
112+
#endif // PWGLF_DATAMODEL_LFDOUBLEOMEGATABLES_H_

PWGLF/TableProducer/Strangeness/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ o2physics_add_dpl_workflow(hstrangecorrelationfilter
5656
PUBLIC_LINK_LIBRARIES O2::DCAFitter O2Physics::AnalysisCore O2Physics::EventFilteringUtils
5757
COMPONENT_NAME Analysis)
5858

59-
o2physics_add_dpl_workflow(double-casc-tree-creator
60-
SOURCES doubleCascTreeCreator.cxx
59+
o2physics_add_dpl_workflow(double-omega-tree-creator
60+
SOURCES doubleOmegaTreeCreator.cxx
6161
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::EventFilteringUtils
6262
COMPONENT_NAME Analysis)
6363

0 commit comments

Comments
 (0)