Skip to content

Commit

Permalink
Templated reco/gen/data processing (AliceO2Group#4200)
Browse files Browse the repository at this point in the history
* Templated reco/gen/data processing

* Templated reco/gen/data processing

* MegaLinter

* Update to MC generated processing

---------

Co-authored-by: Emil Gorm Nielsen <emilgormnielsen@cern-ch>
  • Loading branch information
EmilGorm and Emil Gorm Nielsen authored Dec 21, 2023
1 parent aa48987 commit ae0bb06
Show file tree
Hide file tree
Showing 2 changed files with 207 additions and 136 deletions.
4 changes: 4 additions & 0 deletions PWGCF/GenericFramework/Core/GFWConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#ifndef PWGCF_GENERICFRAMEWORK_CORE_GFWCONFIG_H_
#define PWGCF_GENERICFRAMEWORK_CORE_GFWCONFIG_H_

#include <algorithm>
#include <utility>
#include <vector>
#include <string>
Expand Down Expand Up @@ -96,6 +97,9 @@ class GFWBinningCuts
const auto& GetPtRefMin() const { return mPTrefmin; }
const auto& GetPtRefMax() const { return mPTrefmax; }

const float& GetPtMin() const { return std::min(mPTrefmin, mPTpoimin); }
const float& GetPtMax() const { return std::max(mPTrefmax, mPTpoimax); }

void SetNchBinning(int nchbins, float nchmin, float nchmax)
{
mNchbins = nchbins;
Expand Down
Loading

0 comments on commit ae0bb06

Please sign in to comment.