Skip to content

Commit ad1ae4e

Browse files
author
Prottay Das
committed
Producing derived data for charged kstar spin alignment study
1 parent 8d53971 commit ad1ae4e

File tree

3 files changed

+491
-0
lines changed

3 files changed

+491
-0
lines changed
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
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+
///
13+
/// \author Prottay Das <prottay.das@cern.ch>
14+
15+
#ifndef PWGLF_DATAMODEL_LFCKSSPINALIGNMENTTABLES_H_
16+
#define PWGLF_DATAMODEL_LFCKSSPINALIGNMENTTABLES_H_
17+
18+
#include "Common/Core/RecoDecay.h"
19+
#include "Common/DataModel/Centrality.h"
20+
#include "Common/DataModel/Multiplicity.h"
21+
#include "Common/DataModel/PIDResponse.h"
22+
#include "Common/DataModel/TrackSelectionTables.h"
23+
24+
#include "Framework/ASoA.h"
25+
#include "Framework/AnalysisDataModel.h"
26+
27+
#include <cmath>
28+
29+
namespace o2::aod
30+
{
31+
namespace kshortpionevent
32+
{
33+
DECLARE_SOA_COLUMN(Cent, cent, float);
34+
DECLARE_SOA_COLUMN(CollIndex, collindex, float);
35+
DECLARE_SOA_COLUMN(PsiFT0C, psiFT0C, float);
36+
DECLARE_SOA_COLUMN(PsiFT0A, psiFT0A, float);
37+
DECLARE_SOA_COLUMN(PsiTPC, psiTPC, float);
38+
} // namespace kshortpionevent
39+
DECLARE_SOA_TABLE(KShortpionEvents, "AOD", "KSHORTPIONEVENT",
40+
o2::soa::Index<>,
41+
kshortpionevent::Cent,
42+
kshortpionevent::CollIndex,
43+
kshortpionevent::PsiFT0C,
44+
kshortpionevent::PsiFT0A,
45+
kshortpionevent::PsiTPC)
46+
using KShortpionEvent = KShortpionEvents::iterator;
47+
48+
namespace kshortpionpair
49+
{
50+
DECLARE_SOA_INDEX_COLUMN(KShortpionEvent, kshortpionevent);
51+
DECLARE_SOA_COLUMN(V0Cospa, v0Cospa, float); //! V0 Cospa
52+
DECLARE_SOA_COLUMN(V0Radius, v0Radius, float); //! V0 Radius
53+
DECLARE_SOA_COLUMN(DcaPositive, dcaPositive, float); //! DCA Positive
54+
DECLARE_SOA_COLUMN(DcaNegative, dcaNegative, float); //! DCA Negative
55+
DECLARE_SOA_COLUMN(DcaBetweenDaughter, dcaBetweenDaughter, float); //! DCA between daughters
56+
DECLARE_SOA_COLUMN(V0Lifetime, v0Lifetime, float); //! KShort lifetime
57+
// DECLARE_SOA_COLUMN(Armenteros, arm, float); //! Armenteros cut
58+
DECLARE_SOA_COLUMN(KShortPx, kshPx, float); //! KShort Px
59+
DECLARE_SOA_COLUMN(KShortPy, kshPy, float); //! KShort Py
60+
DECLARE_SOA_COLUMN(KShortPz, kshPz, float); //! KShort Pz
61+
DECLARE_SOA_COLUMN(KShortMass, kshMass, float); //! KShort Mass
62+
DECLARE_SOA_COLUMN(PionBachPx, pibachPx, float); //! Bachelor Pion Px
63+
DECLARE_SOA_COLUMN(PionBachPy, pibachPy, float); //! Bachelor Pion Py
64+
DECLARE_SOA_COLUMN(PionBachPz, pibachPz, float); //! Bachelor Pion Pz
65+
DECLARE_SOA_COLUMN(PionBachSign, pibachSign, int); //! Bachelor Pion Sign
66+
DECLARE_SOA_COLUMN(PionBachTPC, pibachnsigtpc, float); //! Bachelor Pion nsigmatpc
67+
DECLARE_SOA_COLUMN(PionBachTOFHit, pibachtofhit, int); //! Bachelor Pion tof hit availability
68+
DECLARE_SOA_COLUMN(PionBachTOF, pibachnsigtof, float); //! Bachelor Pion nsigmatof
69+
DECLARE_SOA_COLUMN(PionBachIndex, pibachIndex, int); //! Bachelor Pion index
70+
DECLARE_SOA_COLUMN(PionIndex1, pionIndex1, int); //! Daughter Pion index1
71+
DECLARE_SOA_COLUMN(PionIndex2, pionIndex2, int); //! Daughter Pion index2
72+
} // namespace kshortpionpair
73+
DECLARE_SOA_TABLE(KShortpionPairs, "AOD", "KSHORTPIONPAIR",
74+
o2::soa::Index<>,
75+
kshortpionpair::KShortpionEventId,
76+
kshortpionpair::V0Cospa,
77+
kshortpionpair::V0Radius,
78+
kshortpionpair::DcaPositive,
79+
kshortpionpair::DcaNegative,
80+
kshortpionpair::DcaBetweenDaughter,
81+
kshortpionpair::V0Lifetime,
82+
// kshortpionpair::Armenteros,
83+
kshortpionpair::KShortPx,
84+
kshortpionpair::KShortPy,
85+
kshortpionpair::KShortPz,
86+
kshortpionpair::KShortMass,
87+
kshortpionpair::PionBachPx,
88+
kshortpionpair::PionBachPy,
89+
kshortpionpair::PionBachPz,
90+
kshortpionpair::PionBachSign,
91+
kshortpionpair::PionBachTPC,
92+
kshortpionpair::PionBachTOFHit,
93+
kshortpionpair::PionBachTOF,
94+
kshortpionpair::PionBachIndex,
95+
kshortpionpair::PionIndex1,
96+
kshortpionpair::PionIndex2);
97+
98+
using KShortpionPair = KShortpionPairs::iterator;
99+
} // namespace o2::aod
100+
#endif // PWGLF_DATAMODEL_LFCKSSPINALIGNMENTTABLES_H_

PWGLF/TableProducer/Resonances/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,8 @@ o2physics_add_dpl_workflow(heptaquarktable
4949
SOURCES HeptaQuarktable.cxx
5050
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DetectorsVertexing
5151
COMPONENT_NAME Analysis)
52+
53+
o2physics_add_dpl_workflow(cksspinalignment
54+
SOURCES cksspinalignment.cxx
55+
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
56+
COMPONENT_NAME Analysis)

0 commit comments

Comments
 (0)