Skip to content

Commit 082f540

Browse files
committed
reduce member of struct because of limit under 100 and add o2-linter option again
1 parent f44f588 commit 082f540

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

PWGJE/Tasks/jetTaggerHFQA.cxx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,6 @@ struct JetTaggerHFQA {
113113
ConfigurableAxis binSigmaLxyz{"binSigmaLxyz", {100, 0., 0.1}, ""};
114114

115115
int numberOfJetFlavourSpecies = 6;
116-
std::size_t firstTaggerForTrackCounting = 0;
117-
std::size_t secondTaggerForTrackCounting = 1;
118-
std::size_t thirdTaggerForTrackCounting = 2;
119116
float kUnsetJetAreaFraction = -98.0;
120117
float kUnsetConstituentPtMin = -98.0;
121118
float kUnsetConstituentPtMax = 9998.0;
@@ -537,6 +534,9 @@ struct JetTaggerHFQA {
537534
template <typename T, typename U>
538535
void fillHistogramIPsData(T const& jet, U const& /*tracks*/)
539536
{
537+
std::size_t firstTaggerForTrackCounting = 0;
538+
std::size_t secondTaggerForTrackCounting = 1;
539+
std::size_t thirdTaggerForTrackCounting = 2;
540540
float eventWeight = 1.0;
541541
float pTHat = 10. / (std::pow(eventWeight, 1.0 / pTHatExponent));
542542
if (jet.pt() > pTHatMaxMCD * pTHat) {
@@ -655,6 +655,9 @@ struct JetTaggerHFQA {
655655
template <typename T, typename U>
656656
void fillHistogramIPsMCD(T const& mcdjet, U const& /*tracks*/, float eventWeight = 1.0)
657657
{
658+
std::size_t firstTaggerForTrackCounting = 0;
659+
std::size_t secondTaggerForTrackCounting = 1;
660+
std::size_t thirdTaggerForTrackCounting = 2;
658661
float pTHat = 10. / (std::pow(eventWeight, 1.0 / pTHatExponent));
659662
if (mcdjet.pt() > pTHatMaxMCD * pTHat) {
660663
return;
@@ -1640,6 +1643,5 @@ using JetTaggerhfQaCharged = JetTaggerHFQA<JetTaggerQAChargedDataJets, aod::Char
16401643
WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
16411644
{
16421645
return WorkflowSpec{
1643-
// adaptAnalysisTask<JetTaggerhfQaCharged>(cfgc, TaskName{"jet-taggerhf-qa-charged"})}; // it will be added when full jets are updated
1644-
adaptAnalysisTask<JetTaggerhfQaCharged>(cfgc)};
1646+
adaptAnalysisTask<JetTaggerhfQaCharged>(cfgc, TaskName{"jet-taggerhf-qa-charged"})}; // o2-linter: disable=name/o2-task (wrong hyphenation)
16451647
}

0 commit comments

Comments
 (0)