Skip to content

Commit 66bfa80

Browse files
committed
[PWGEM,Photon] Update EMEMCClusterMCLabels in all tasks to latest version EMEMCClusterMCLabels_001
1 parent ce6fbe7 commit 66bfa80

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

PWGEM/PhotonMeson/Core/TaggingPi0MC.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ using MyMCCollision = MyMCCollisions::iterator;
7777
using MyV0Photons = o2::soa::Join<o2::aod::V0PhotonsKF, o2::aod::V0KFEMEventIds>;
7878
using MyV0Photon = MyV0Photons::iterator;
7979

80-
using MyEMCClusters = o2::soa::Join<o2::aod::SkimEMCClusters, o2::aod::EMEMCClusterMCLabels, o2::aod::EMCEMEventIds>;
80+
using MyEMCClusters = o2::soa::Join<o2::aod::SkimEMCClusters, o2::aod::EMEMCClusterMCLabels_001, o2::aod::EMCEMEventIds>;
8181
using MyEMCCluster = MyEMCClusters::iterator;
8282

8383
// using MyPHOSClusters = o2::soa::Join<o2::aod::PHOSClusters, o2::aod::PHOSEMEventIds>;

PWGEM/PhotonMeson/Tasks/Pi0EtaToGammaGammaMCEMCEMC.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ using namespace o2::aod;
2727
using namespace o2::framework;
2828
using namespace o2::aod::pwgem::photonmeson::photonpair;
2929

30-
using MyEMCClusters = soa::Join<aod::MinClusters, aod::EMEMCClusterMCLabels, aod::EMCEMEventIds>;
30+
using MyEMCClusters = soa::Join<aod::MinClusters, aod::EMEMCClusterMCLabels_001, aod::EMCEMEventIds>;
3131

3232
WorkflowSpec defineDataProcessing(ConfigContext const& context)
3333
{

PWGEM/PhotonMeson/Tasks/emcalMcTask.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ struct EmcalMcTask {
133133

134134
SliceCache cache;
135135

136-
using EMCalPhotons = soa::Join<aod::EMCEMEventIds, aod::MinClusters, aod::EMEMCClusterMCLabels>;
136+
using EMCalPhotons = soa::Join<aod::EMCEMEventIds, aod::MinClusters, aod::EMEMCClusterMCLabels_001>;
137137

138138
using Colls = soa::Join<aod::PMEvents, aod::EMEventsAlias, aod::EMEventsMult_000, aod::EMEventsCent_000, aod::EMMCEventLabels, aod::EmMagFields>;
139139

@@ -299,11 +299,11 @@ struct EmcalMcTask {
299299
template <const int type, o2::soa::is_iterator TCluster, o2::soa::is_iterator TMC>
300300
void fillClusterHistos(TCluster const& cluster, TMC const& mcPart, float centOrMult)
301301
{
302-
static constexpr std::string_view subDir = kSubDirs[type];
302+
static constexpr std::string_view SubDir = kSubDirs[type];
303303

304-
registry.fill(HIST(subDir) + HIST("hM02"), cluster.m02(), cluster.e(), centOrMult);
305-
registry.fill(HIST(subDir) + HIST("hEtaRel"), cluster.eta() - mcPart.eta(), cluster.e(), centOrMult);
306-
registry.fill(HIST(subDir) + HIST("hPhiRel"), cluster.phi() - mcPart.phi(), cluster.e(), centOrMult);
304+
registry.fill(HIST(SubDir) + HIST("hM02"), cluster.m02(), cluster.e(), centOrMult);
305+
registry.fill(HIST(SubDir) + HIST("hEtaRel"), cluster.eta() - mcPart.eta(), cluster.e(), centOrMult);
306+
registry.fill(HIST(SubDir) + HIST("hPhiRel"), cluster.phi() - mcPart.phi(), cluster.e(), centOrMult);
307307
}
308308

309309
// PCM-EMCal same event

PWGEM/PhotonMeson/Tasks/photonResoTask.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ struct PhotonResoTask {
177177

178178
SliceCache cache;
179179

180-
using EMCalPhotons = soa::Join<aod::EMCEMEventIds, aod::MinClusters, aod::EMEMCClusterMCLabels>;
180+
using EMCalPhotons = soa::Join<aod::EMCEMEventIds, aod::MinClusters, aod::EMEMCClusterMCLabels_001>;
181181
using PcmPhotons = soa::Join<aod::V0PhotonsKF, aod::V0KFEMEventIds>;
182182

183183
using PcmMcLegs = soa::Join<aod::V0Legs, aod::V0LegMCLabels>;

0 commit comments

Comments
 (0)