Skip to content

Commit 37c6942

Browse files
committed
[PWGEM/Dilepton] remove unused table
1 parent 7c25494 commit 37c6942

2 files changed

Lines changed: 3 additions & 8 deletions

File tree

PWGEM/Dilepton/DataModel/dileptonTables.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1174,9 +1174,9 @@ DECLARE_SOA_TABLE(EMPrimaryMuonsPrefilterBitDerived, "AOD", "PRMMUPFBDERIVED", e
11741174
// iterators
11751175
using EMPrimaryMuonPrefilterBitDerived = EMPrimaryMuonsPrefilterBitDerived::iterator;
11761176

1177-
DECLARE_SOA_TABLE(EMPrimaryMuonsMatchMC, "AOD", "EMMUONMATCHMC", emprimarymuon::IsCorrectMatchMFTMCH); // To be joined with EMPrimaryMuons table at analysis level. only for MC.
1178-
// iterators
1179-
using EMPrimaryMuonMatchMC = EMPrimaryMuonsMatchMC::iterator;
1177+
// DECLARE_SOA_TABLE(EMPrimaryMuonsMatchMC, "AOD", "EMMUONMATCHMC", emprimarymuon::IsCorrectMatchMFTMCH); // To be joined with EMPrimaryMuons table at analysis level. only for MC.
1178+
// // iterators
1179+
// using EMPrimaryMuonMatchMC = EMPrimaryMuonsMatchMC::iterator;
11801180

11811181
namespace oldemprimarytrack
11821182
{

PWGEM/Dilepton/TableProducer/skimmerPrimaryMuon.cxx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ struct skimmerPrimaryMuon {
7878

7979
Produces<aod::EMPrimaryMuons> emprimarymuons;
8080
Produces<aod::EMPrimaryMuonsCov> emprimarymuonscov;
81-
Produces<aod::EMPrimaryMuonsMatchMC> emprimarymuonsmatchmc;
8281

8382
// Configurables
8483
Configurable<std::string> ccdburl{"ccdb-url", "http://alice-ccdb.cern.ch", "url of the ccdb repository"};
@@ -325,7 +324,6 @@ struct skimmerPrimaryMuon {
325324

326325
float deta = 999.f;
327326
float dphi = 999.f;
328-
bool isCorrectMatchMFTMCH = true; // by default, it is true. it is evaluated for global muons in MC.
329327

330328
float xMFT = 0.f, yMFT = 0.f;
331329

@@ -360,7 +358,6 @@ struct skimmerPrimaryMuon {
360358
// auto mcParticle_MFTMCHMID = fwdtrack.template mcParticle_as<aod::McParticles>(); // this is identical to mcParticle_MCHMID
361359
auto mcParticle_MCHMID = mchtrack.template mcParticle_as<aod::McParticles>(); // this is identical to mcParticle_MFTMCHMID
362360
auto mcParticle_MFT = mfttrack.template mcParticle_as<aod::McParticles>();
363-
isCorrectMatchMFTMCH = static_cast<bool>(mcParticle_MCHMID.globalIndex() == mcParticle_MFT.globalIndex());
364361
}
365362

366363
nClustersMFT = mfttrack.nClusters();
@@ -500,8 +497,6 @@ struct skimmerPrimaryMuon {
500497
// <X,TANL> <Y,TANL> <PHI,TANL> <TANL,TANL> <INVQPT,TANL>
501498
// <X,INVQPT> <Y,INVQPT> <PHI,INVQPT> <TANL,INVQPT> <INVQPT,INVQPT>
502499

503-
emprimarymuonsmatchmc(isCorrectMatchMFTMCH);
504-
505500
if (fillQAHistograms) {
506501
fRegistry.fill(HIST("hMuonType"), fwdtrack.trackType());
507502
if (fwdtrack.trackType() == o2::aod::fwdtrack::ForwardTrackTypeEnum::GlobalMuonTrack) {

0 commit comments

Comments
 (0)