Skip to content

Commit 29da327

Browse files
committed
[PWGEM] PM: Add new task to try and identify late conversions with EMCal
- New task name: `o2-analysis-em-emcal-photon-mc-task` - Fixed some minor code checker warnings and errors in Utils
1 parent b142576 commit 29da327

5 files changed

Lines changed: 691 additions & 20 deletions

File tree

PWGEM/PhotonMeson/DataModel/GammaTablesRedux.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#include <Framework/AnalysisDataModel.h>
2424
#include <Framework/Logger.h>
2525

26+
#include <array>
2627
#include <cmath>
2728
#include <cstdint>
2829
#include <limits>
@@ -46,7 +47,7 @@ enum Observable {
4647
};
4748

4849
// Values in tables are stored in downscaled format to save disk space
49-
const float downscalingFactors[nObservables]{
50+
const std::array<float, nObservables> downscalingFactors{
5051
1E0, // Cluster definition
5152
1E3, // Cluster energy
5253
1E4, // Cluster eta

PWGEM/PhotonMeson/Tasks/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,3 +200,8 @@ o2physics_add_dpl_workflow(photonhbt
200200
SOURCES photonhbt.cxx
201201
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2Physics::PWGEMPhotonMesonCore
202202
COMPONENT_NAME Analysis)
203+
204+
o2physics_add_dpl_workflow(emcal-photon-mc-task
205+
SOURCES emcalPhotonMcTask.cxx
206+
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2Physics::PWGEMPhotonMesonCore
207+
COMPONENT_NAME Analysis)

0 commit comments

Comments
 (0)