forked from AliceO2Group/O2Physics
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLFPhiStrangeCorrelationTables.h
More file actions
79 lines (66 loc) · 3.21 KB
/
LFPhiStrangeCorrelationTables.h
File metadata and controls
79 lines (66 loc) · 3.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
// This software is distributed under the terms of the GNU General Public
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
//
// In applying this license CERN does not waive the privileges and immunities
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.
///
/// \file LFPhiStrangeCorrelationTables.h
/// \brief Data model Phi-Strangeness correlation analysis
/// \author Stefano Cannito (stefano.cannito@cern.ch)
#ifndef PWGLF_DATAMODEL_LFPHISTRANGECORRELATIONTABLES_H_
#define PWGLF_DATAMODEL_LFPHISTRANGECORRELATIONTABLES_H_
#include "Framework/ASoAHelpers.h"
#include "Framework/AnalysisDataModel.h"
#include <Framework/ASoA.h>
namespace o2::aod
{
namespace lf_selection_phi_candidate
{
DECLARE_SOA_INDEX_COLUMN(Collision, collision);
DECLARE_SOA_COLUMN(M, m, float);
DECLARE_SOA_COLUMN(Pt, pt, float);
DECLARE_SOA_COLUMN(Y, y, float);
DECLARE_SOA_COLUMN(Phi, phi, float);
DECLARE_SOA_DYNAMIC_COLUMN(InMassRegion, inMassRegion,
[](float m, float minM, float maxM) -> bool {
return (m >= minM && m <= maxM);
});
} // namespace lf_selection_phi_candidate
DECLARE_SOA_TABLE(PhimesonCandidatesData, "AOD", "PHICANDDATA",
lf_selection_phi_candidate::CollisionId,
lf_selection_phi_candidate::M,
lf_selection_phi_candidate::Pt,
lf_selection_phi_candidate::Y,
lf_selection_phi_candidate::Phi,
lf_selection_phi_candidate::InMassRegion<lf_selection_phi_candidate::M>);
DECLARE_SOA_TABLE(PhimesonCandidatesMcReco, "AOD", "PHICANDMCRECO",
lf_selection_phi_candidate::CollisionId,
lf_selection_phi_candidate::M,
lf_selection_phi_candidate::Pt,
lf_selection_phi_candidate::Y,
lf_selection_phi_candidate::Phi,
lf_selection_phi_candidate::InMassRegion<lf_selection_phi_candidate::M>);
DECLARE_SOA_TABLE(PhimesonCandidatesMcGen, "AOD", "PHICANDMCGEN",
lf_selection_phi_candidate::CollisionId,
lf_selection_phi_candidate::M,
lf_selection_phi_candidate::Pt,
lf_selection_phi_candidate::Y,
lf_selection_phi_candidate::Phi,
lf_selection_phi_candidate::InMassRegion<lf_selection_phi_candidate::M>);
namespace lf_selection_phi_collision
{
DECLARE_SOA_COLUMN(PhimesonSel, phimesonSel, bool);
} // namespace lf_selection_phi_collision
DECLARE_SOA_TABLE(PhimesonSelectionData, "AOD", "PHIINCOLLDATA",
lf_selection_phi_collision::PhimesonSel);
/*DECLARE_SOA_TABLE(PhimesonSelectionMcReco, "AOD", "PHIINCOLLMCRECO",
lf_selection_phi_collision::PhimesonSel);*/
DECLARE_SOA_TABLE(PhimesonSelectionMcGen, "AOD", "PHIINCOLLMCGEN",
lf_selection_phi_collision::PhimesonSel);
} // namespace o2::aod
#endif // PWGLF_DATAMODEL_LFPHISTRANGECORRELATIONTABLES_H_