Skip to content

Commit c739e8a

Browse files
authored
[PWGJE] Add MC mixing and adjusting task for use on Hyperloop (#12670)
1 parent ab5edce commit c739e8a

File tree

4 files changed

+1122
-910
lines changed

4 files changed

+1122
-910
lines changed

PWGJE/DataModel/PhotonChargedTriggerCorrelation.h

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@
1818
#ifndef PWGJE_DATAMODEL_PHOTONCHARGEDTRIGGERCORRELATION_H_
1919
#define PWGJE_DATAMODEL_PHOTONCHARGEDTRIGGERCORRELATION_H_
2020

21-
#include "Framework/AnalysisDataModel.h"
22-
#include "PWGJE/Core/JetDerivedDataUtilities.h"
23-
#include "PWGJE/DataModel/Jet.h"
2421
#include "PWGEM/PhotonMeson/DataModel/gammaTables.h"
2522
#include "PWGEM/PhotonMeson/Utils/PCMUtilities.h"
23+
#include "PWGJE/Core/JetDerivedDataUtilities.h"
24+
#include "PWGJE/DataModel/Jet.h"
25+
26+
#include "Framework/AnalysisDataModel.h"
2627

2728
namespace o2::aod
2829
{
@@ -44,9 +45,10 @@ namespace collision_extra_corr
4445
{
4546
DECLARE_SOA_COLUMN(SelEv, selEv, bool);
4647
DECLARE_SOA_COLUMN(TrigEv, trigEv, bool);
48+
DECLARE_SOA_COLUMN(NGlobalTracks, nGlobalTracks, int);
4749
} // namespace collision_extra_corr
4850
DECLARE_SOA_TABLE(CollisionsExtraCorr, "AOD", "COLLISIONSEXTRACORR",
49-
collision_extra_corr::SelEv, collision_extra_corr::TrigEv);
51+
collision_extra_corr::SelEv, collision_extra_corr::TrigEv, collision_extra_corr::NGlobalTracks);
5052

5153
// trigger
5254
namespace trigger
@@ -114,9 +116,10 @@ using PhotonPCMPair = PhotonPCMPairs::iterator;
114116
namespace mc_collision_extra_corr
115117
{
116118
DECLARE_SOA_COLUMN(TrigEv, trigEv, bool);
119+
DECLARE_SOA_COLUMN(NChargedInEtaRange, nChargedInEtaRange, int);
117120
} // namespace mc_collision_extra_corr
118121
DECLARE_SOA_TABLE(McCollisionsExtraCorr, "AOD", "MCCOLLISIONSEXTRACORR",
119-
mc_collision_extra_corr::TrigEv);
122+
mc_collision_extra_corr::TrigEv, mc_collision_extra_corr::NChargedInEtaRange);
120123

121124
// trigger
122125
namespace trigger_particle

PWGJE/Tasks/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ o2physics_add_dpl_workflow(task-emc-extensive-mc-qa
5858
SOURCES taskEmcExtensiveMcQa.cxx
5959
PUBLIC_LINK_LIBRARIES O2::Framework O2::EMCALBase O2Physics::AnalysisCore O2Physics::EventFilteringUtils
6060
COMPONENT_NAME Analysis)
61+
o2physics_add_dpl_workflow(photon-charged-trigger-producer
62+
SOURCES photonChargedTriggerProducer.cxx
63+
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore
64+
COMPONENT_NAME Analysis)
6165

6266
if(FastJet_FOUND)
6367
o2physics_add_dpl_workflow(jet-background-analysis

0 commit comments

Comments
 (0)