Skip to content

Commit 4c9b217

Browse files
authored
[PWGCF] Add dedicated light-ion GFW task (#11765)
1 parent a4b4397 commit 4c9b217

File tree

11 files changed

+1244
-49
lines changed

11 files changed

+1244
-49
lines changed

PWGCF/GenericFramework/Core/BootstrapProfile.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12+
/// \file BootstrapProfile.h/.cxx
13+
/// \brief Derived class from TProfile that stores extra TProfiles for bootstrap samples
14+
/// \author Emil Gorm Nielsen (ack. V. Vislavicius), NBI, emil.gorm.nielsen@cern.ch
15+
1216
#ifndef PWGCF_GENERICFRAMEWORK_CORE_BOOTSTRAPPROFILE_H_
1317
#define PWGCF_GENERICFRAMEWORK_CORE_BOOTSTRAPPROFILE_H_
1418

PWGCF/GenericFramework/Core/FlowContainer.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12+
/// \file GFW.h/.cxx
13+
/// \brief Container to store correlations and compute common cumulants
14+
/// \author Emil Gorm Nielsen, NBI, emil.gorm.nielsen@cern.ch
15+
1216
#ifndef PWGCF_GENERICFRAMEWORK_CORE_FLOWCONTAINER_H_
1317
#define PWGCF_GENERICFRAMEWORK_CORE_FLOWCONTAINER_H_
1418
#include <vector>

PWGCF/GenericFramework/Core/GFW.cxx

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,13 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12-
/*
13-
Author: Vytautas Vislavicius
14-
Extention of Generic Flow (https://arxiv.org/abs/1312.3572 by A. Bilandzic et al.)
15-
Class steers the initialization and calculation of n-particle correlations. Uses recursive function, all terms are calculated only once.
16-
Latest version includes the calculation of any number of gaps and any combination of harmonics (including eg symmetric cumulants, etc.)
17-
If used, modified, or distributed, please aknowledge the author of this code.
18-
*/
19-
2012
#include "GFW.h"
2113

14+
#include <cstdio>
15+
#include <string>
16+
#include <utility>
17+
#include <vector>
18+
2219
using std::complex;
2320
using std::pair;
2421
using std::string;

PWGCF/GenericFramework/Core/GFW.h

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,22 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12-
/*
13-
Author: Vytautas Vislavicius
14-
Extention of Generic Flow (https://arxiv.org/abs/1312.3572 by A. Bilandzic et al.)
15-
Class steers the initialization and calculation of n-particle correlations. Uses recursive function, all terms are calculated only once.
16-
Latest version includes the calculation of any number of gaps and any combination of harmonics (including eg symmetric cumulants, etc.)
17-
If used, modified, or distributed, please aknowledge the author of this code.
18-
*/
12+
/// \file GFW.h/.cxx
13+
/// \brief Class steers the initialization and calculation of n-particle correlations. Uses recursive function, all terms are calculated only once.
14+
/// \author Emil Gorm Nielsen (ack. V. Vislavicius), NBI, emil.gorm.nielsen@cern.ch
15+
1916
#ifndef PWGCF_GENERICFRAMEWORK_CORE_GFW_H_
2017
#define PWGCF_GENERICFRAMEWORK_CORE_GFW_H_
2118

2219
#include "GFWCumulant.h"
2320
#include "GFWPowerArray.h"
24-
#include <vector>
25-
#include <string>
26-
#include <utility>
21+
2722
#include <algorithm>
2823
#include <complex>
24+
#include <cstdio>
25+
#include <string>
26+
#include <utility>
27+
#include <vector>
2928

3029
class GFW
3130
{

PWGCF/GenericFramework/Core/GFWCumulant.cxx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,10 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12-
/*
13-
Author: Vytautas Vislavicius
14-
Extention of Generic Flow (https://arxiv.org/abs/1312.3572 by A. Bilandzic et al.)
15-
A part of <GFW.cxx/h>
16-
A container to store Q vectors for one subevent with an extra layer to recursively calculate particle correlations.
17-
If used, modified, or distributed, please aknowledge the author of this code.
18-
*/
19-
2012
#include "GFWCumulant.h"
2113

14+
#include <vector>
15+
2216
using std::complex;
2317
using std::vector;
2418

PWGCF/GenericFramework/Core/GFWCumulant.h

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,10 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12-
/*
13-
Author: Vytautas Vislavicius
14-
Extention of Generic Flow (https://arxiv.org/abs/1312.3572 by A. Bilandzic et al.)
15-
A part of <GFW.cxx/h>
16-
A container to store Q vectors for one subevent with an extra layer to recursively calculate particle correlations.
17-
If used, modified, or distributed, please aknowledge the author of this code.
18-
*/
12+
/// \file GFWCumulant.h/.cxx
13+
/// \brief A container to store Q vectors for one subevent with an extra layer to recursively calculate particle correlations.
14+
/// \author Emil Gorm Nielsen (ack. V. Vislavicius), NBI, emil.gorm.nielsen@cern.ch
15+
1916
#ifndef PWGCF_GENERICFRAMEWORK_CORE_GFWCUMULANT_H_
2017
#define PWGCF_GENERICFRAMEWORK_CORE_GFWCUMULANT_H_
2118

PWGCF/GenericFramework/Core/GFWPowerArray.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12+
/// \file GFWPowerArray.h/.cxx
13+
/// \brief Class to compute necessary powers of Q-vectors based on input correlations
14+
/// \author Emil Gorm Nielsen, NBI, emil.gorm.nielsen@cern.ch
15+
1216
#ifndef PWGCF_GENERICFRAMEWORK_CORE_GFWPOWERARRAY_H_
1317
#define PWGCF_GENERICFRAMEWORK_CORE_GFWPOWERARRAY_H_
1418

PWGCF/GenericFramework/Core/ProfileSubset.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12+
/// \file ProfileSubset.h/.cxx
13+
/// \brief // Helper class to select a subrange of a TProfile
14+
/// \author Emil Gorm Nielsen (ack. V. Vislavicius), NBI, emil.gorm.nielsen@cern.ch
15+
1216
#ifndef PWGCF_GENERICFRAMEWORK_CORE_PROFILESUBSET_H_
1317
#define PWGCF_GENERICFRAMEWORK_CORE_PROFILESUBSET_H_
14-
// Helper function to select a subrange of a TProfile
18+
1519
#include "TProfile.h"
1620
#include "TProfile2D.h"
1721
#include "TError.h"

PWGCF/GenericFramework/Tasks/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,8 @@ o2physics_add_dpl_workflow(flow-generic-framework
1313
SOURCES flowGenericFramework.cxx
1414
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2Physics::GFWCore
1515
COMPONENT_NAME Analysis)
16+
17+
o2physics_add_dpl_workflow(flow-gfw-light-ions
18+
SOURCES flowGFWLightIons.cxx
19+
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2Physics::GFWCore
20+
COMPONENT_NAME Analysis)

0 commit comments

Comments
 (0)