Skip to content

Commit 247103f

Browse files
author
Christopher Klumm
committed
update for compilation
New file FemtoDerived.h is added. @lauraser @AntonRiedel
1 parent dad3ee8 commit 247103f

File tree

1 file changed

+27
-17
lines changed

1 file changed

+27
-17
lines changed

PWGCF/DataModel/FemtoDerived.h

Lines changed: 27 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,24 @@
88
// In applying this license CERN does not waive the privileges and immunities
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
11-
1211
#ifndef PWGCF_DATAMODEL_FEMTODERIVED_H_
1312
#define PWGCF_DATAMODEL_FEMTODERIVED_H_
1413

15-
#include <cmath>
16-
#include "Framework/ASoA.h"
17-
#include "MathUtils/Utils.h"
18-
#include "Framework/DataTypes.h"
1914
#include "PWGHF/Core/HfHelper.h"
2015
#include "PWGHF/DataModel/CandidateReconstructionTables.h"
2116
#include "PWGHF/DataModel/CandidateSelectionTables.h"
17+
2218
#include "Common/DataModel/Multiplicity.h"
19+
#include "Common/DataModel/PIDResponse.h"
20+
#include "Common/DataModel/TrackSelectionTables.h"
21+
22+
#include "Framework/ASoA.h"
2323
#include "Framework/AnalysisDataModel.h"
24+
#include "Framework/DataTypes.h"
2425
#include "Framework/Expressions.h"
25-
#include "Common/DataModel/TrackSelectionTables.h"
26-
#include "Common/DataModel/PIDResponse.h"
26+
#include "MathUtils/Utils.h"
27+
28+
#include <cmath>
2729

2830
namespace o2::aod
2931
{
@@ -88,17 +90,23 @@ DECLARE_SOA_TABLE_STAGED(FDMCCollLabels, "FDMCCollLabel", mcfdcolllabel::FDMCCol
8890
/// FemtoDreamTrack
8991
namespace femtodreamparticle
9092
{
91-
/// Distinuishes the different particle types
93+
/// Distinguishes the different particle types
9294
enum ParticleType {
93-
kTrack, //! Track
94-
kV0, //! V0
95-
kV0Child, //! Child track of a V0
96-
kCascade, //! Cascade
95+
kTrack, //! Track
96+
kV0, //! V0
97+
kReso, //! Resonances (phi)
98+
kResoChild, // Child track of a Resonance
99+
kV0Child, //! Child track of a V0
100+
kCascade, //! Cascade
97101
kCascadeV0,
98102
kCascadeV0Child,
99-
kCascadeBachelor, //! Bachelor track of a cascade
100-
kCharmHadron, //! Bachelor track of a cascade
101-
kNParticleTypes //! Number of particle types
103+
kCascadeBachelor, //! Bachelor track of a cascade
104+
kCharmHadron, //! Bachelor track of a cascade
105+
kPhiPosdaughTPC_NegdaughTPC, /// cases for Phi-daughters for TPC or TOF combinations
106+
kPhiPosdaughTPC_NegdaughTOF,
107+
kPhiPosdaughTOF_NegdaughTPC,
108+
kPhiPosdaughTOF_NegdaughTOF,
109+
kNParticleTypes //! Number of particle types
102110
};
103111

104112
enum MomentumType {
@@ -107,8 +115,10 @@ enum MomentumType {
107115
kPtpc //! momentum at the inner wall of the TPC (useful for PID plots)
108116
};
109117

110-
static constexpr std::string_view ParticleTypeName[kNParticleTypes] = {"Tracks", "V0", "V0Child", "Cascade", "CascadeV0", "CascadeV0Child", "CascadeBachelor", "CharmHadron"}; //! Naming of the different particle types
111-
static constexpr std::string_view TempFitVarName[kNParticleTypes] = {"/hDCAxy", "/hCPA", "/hDCAxy", "/hCPA", "/hCPA", "/hDCAxy", "/hDCAxy", "/hCPA"};
118+
static constexpr std::string_view ParticleTypeName[kNParticleTypes] = {"Track", "V0", "Reso", "ResoChild", "V0Child", "Cascade", "CascadeV0", "CascadeV0Child", "CascadeBachelor", "CharmHadron", "PhiPosdaughTPC_NegdaughTPC", "PhiPosdaughTPC_NegdaughTOF", "PhiPosdaughTOF_NegdaughTPC", "PhiPosdaughTOF_NegdaughTOF"}; //! Naming of the different particle types
119+
// static constexpr std::string_view TempFitVarName[kNParticleTypes] = {"/hDCAxy", "/hCPA", "/hDCAxy", "/hCPA", "/hCPA", "/hDCAxy", "/hDCAxy", "/hCPA"};
120+
121+
static constexpr std::string_view TempFitVarName[kNParticleTypes] = {"/hDCAxy", "/hCPA", "/hDCAxy", "/hDCAxy", "/hCPA", "/hCPA", "/hCPA", "/hDCAxy", "/hDCAxy", "/hCPA", "/hDCAxy", "/hDCAxy", "/hDCAxy", "/hDCAxy"}; // change later!! check for DCAXY for RESO!!
112122

113123
using cutContainerType = uint32_t; //! Definition of the data type for the bit-wise container for the different selection criteria
114124

0 commit comments

Comments
 (0)