Skip to content

Commit 791e592

Browse files
committed
Header for correlated bkgs
1 parent 926b979 commit 791e592

File tree

1 file changed

+74
-0
lines changed

1 file changed

+74
-0
lines changed

PWGHF/Core/CorrelatedBkgs.h

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
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+
/// \file CorrelatedBkgTagger.h
13+
/// \brief Definitions of channels for correlated bkgs
14+
/// \author Marcello Di Costanzo <marcello.di.costanzo@cern.ch>, Polytechnic of Turin and INFN
15+
16+
#ifndef PWGHF_CORE_CORRELATEDBKGTAGGER_H_
17+
#define PWGHF_CORE_CORRELATEDBKGTAGGER_H_
18+
19+
namespace o2::hf_corrbkg
20+
{
21+
22+
// D± → K± K∓ π±
23+
enum DecayChannelResoDplus {
24+
PhiPi = 0,
25+
K0starK,
26+
// K01430K,
27+
// RhoPi,
28+
// f2_1270Pi
29+
};
30+
31+
// Ds± → K± K∓ π±
32+
enum DecayChannelResoDs {
33+
PhiPi = DecayChannelResoDplus::PhiPi,
34+
K0starK,
35+
// PhiRho,
36+
// f2_1270Pi,
37+
// K0starPi,
38+
// RhoK,
39+
// EtaPi
40+
};
41+
42+
// enum DecayChannelResoD0 {
43+
// PhiPi = DecayChannelResoDs::PhiPi,
44+
// K0starPi,
45+
// RhoK,
46+
// K0starPi0,
47+
// K0starPi,
48+
// RhoPi,
49+
// };
50+
51+
// enum DecayChannelResoLc {
52+
// K0starP = DecayChannelResoD0::PhiPi,
53+
// DeltaK,
54+
// Lambda1520K,
55+
// PhiP,
56+
// };
57+
58+
// enum DecayChannelResoXic {
59+
// K0starP = DecayChannelResoLc::K0starP,
60+
// PhiP,
61+
// };
62+
63+
// Function to associate vectors with enum values
64+
std::vector<int> getFinalDaughters(DecayType finalState) {
65+
switch(finalState) {
66+
case DecayChannelCorrBkg::DstarToPiKPiBkg:
67+
return std::array{+kPiPlus, +kPiPlus, -kKPlus};
68+
default:
69+
return std::array{};
70+
}
71+
}
72+
} // namespace o2::hf_corrbkg
73+
74+
#endif // PWGHF_CORE_CORRELATEDBKGTAGGER_H_

0 commit comments

Comments
 (0)