-
Notifications
You must be signed in to change notification settings - Fork 498
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PWGHF: Developments for D-resonances workflow (#7596)
* developements for Resonance workflow * modified data creator to build V0s on the fly * minor change * first attempt at ev. mixing for D resonances task * updated mixed event * changes in candidate creator and Task * changed variables to naming convention * revereted changes to CMakeLists.txt * Update CMakeLists.txt * Please consider the following formatting changes * implemented suggested changes * Please consider the following formatting changes * fixed header file * Update SelectorCutsRedDataFormat.h * Update PWGHF/D2H/Tasks/taskCharmResoReduced.cxx Co-authored-by: Vít Kučera <[email protected]> --------- Co-authored-by: ALICE Action Bot <[email protected]> Co-authored-by: Vít Kučera <[email protected]>
- Loading branch information
1 parent
c381a0f
commit 6689279
Showing
5 changed files
with
405 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
// 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 SelectorCutsRedDataFormat.h | ||
/// \brief Default pT bins and cut arrays for heavy-flavour selectors and analysis tasks | ||
/// | ||
/// \author Luca Aglietta <[email protected]>, Università degli Studi di Torino | ||
|
||
// namespace with D selections for reduced charmed-resonances analysis | ||
|
||
#ifndef PWGHF_D2H_CORE_SELECTORCUTSREDDATAFORMAT_H_ | ||
#define PWGHF_D2H_CORE_SELECTORCUTSREDDATAFORMAT_H_ | ||
|
||
#include <string> // std::string | ||
#include <vector> // std::vector | ||
|
||
namespace hf_cuts_d_daughter | ||
{ | ||
const int nBinsPt = 7; | ||
static constexpr int nCutVars = 6; | ||
constexpr double binsPt[nBinsPt + 1] = { | ||
1., | ||
2., | ||
4., | ||
6., | ||
8., | ||
12., | ||
24., | ||
1000.}; | ||
auto vecBinsPt = std::vector<double>{binsPt, binsPt + nBinsPt + 1}; | ||
// default values for the cuts | ||
constexpr double cuts[nBinsPt][nCutVars] = {{1.84, 1.89, 1.77, 1.81, 1.92, 1.96}, /* 1 < pt < 2 */ | ||
{1.84, 1.89, 1.77, 1.81, 1.92, 1.96}, /* 2 < pt < 4 */ | ||
{1.84, 1.89, 1.77, 1.81, 1.92, 1.96}, /* 4 < pt < 6 */ | ||
{1.84, 1.89, 1.77, 1.81, 1.92, 1.96}, /* 6 < pt < 8 */ | ||
{1.84, 1.89, 1.77, 1.81, 1.92, 1.96}, /* 8 < pt < 12 */ | ||
{1.84, 1.89, 1.77, 1.81, 1.92, 1.96}, /* 12 < pt < 24 */ | ||
{1.84, 1.89, 1.77, 1.81, 1.92, 1.96}}; /* 24 < pt < 1000 */ | ||
// row labels | ||
static const std::vector<std::string> labelsPt{}; | ||
// column labels | ||
static const std::vector<std::string> labelsCutVar = {"invMassSignalLow", "invMassSignalHigh", "invMassLeftSBLow", "invMassLeftSBHigh", "invMassRightSBLow", "invMassRightSBHigh"}; | ||
} // namespace hf_cuts_d_daughter | ||
|
||
// namespace with v0 selections for reduced charmed-resonances analysis | ||
namespace hf_cuts_v0_daughter | ||
{ | ||
const int nBinsPt = 7; | ||
static constexpr int nCutVars = 5; | ||
constexpr double binsPt[nBinsPt + 1] = { | ||
0., | ||
1., | ||
2., | ||
4., | ||
8., | ||
12., | ||
24., | ||
1000.}; | ||
auto vecBinsPt = std::vector<double>{binsPt, binsPt + nBinsPt + 1}; | ||
// default values for the cuts | ||
constexpr double cuts[nBinsPt][nCutVars] = {{0.48, 0.52, 0.99, 1., 0.9}, /* 1 < pt < 2 */ | ||
{0.48, 0.52, 0.99, 1., 0.9}, /* 2 < pt < 4 */ | ||
{0.48, 0.52, 0.99, 1., 0.9}, /* 4 < pt < 6 */ | ||
{0.48, 0.52, 0.99, 1., 0.9}, /* 6 < pt < 8 */ | ||
{0.48, 0.52, 0.99, 1., 0.9}, /* 8 < pt < 12 */ | ||
{0.48, 0.52, 0.99, 1., 0.9}, /* 12 < pt < 24 */ | ||
{0.48, 0.52, 0.99, 1., 0.9}}; /* 24 < pt < 1000 */ | ||
// row labels | ||
static const std::vector<std::string> labelsPt{}; | ||
// column labels | ||
static const std::vector<std::string> labelsCutVar = {"invMassLow", "invMassHigh", "cpaMin", "dcaMax", "radiusMin"}; | ||
} // namespace hf_cuts_v0_daughter | ||
#endif // PWGHF_D2H_CORE_SELECTORCUTSREDDATAFORMAT_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.