Skip to content

Commit 7d3ef4f

Browse files
authored
[PWGEM/Dilepton] remove unused tasks (#16846)
1 parent b58008d commit 7d3ef4f

8 files changed

Lines changed: 15 additions & 1518 deletions

File tree

PWGEM/Dilepton/Core/DileptonProducer.h

Lines changed: 0 additions & 782 deletions
This file was deleted.

PWGEM/Dilepton/Core/DileptonSV.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1108,15 +1108,15 @@ struct DileptonSV {
11081108
candidate.phi2 = t2.phi();
11091109
}
11101110

1111-
// if constexpr (pairtype == o2::aod::pwgem::dilepton::utils::pairutil::DileptonPairType::kDielectron) {
1112-
// if (!cut.IsSelectedPair(t1, t2)) {
1113-
// return false;
1114-
// }
1115-
// } else if constexpr (pairtype == o2::aod::pwgem::dilepton::utils::pairutil::DileptonPairType::kDimuon) {
1116-
// if (!cut.IsSelectedPair(t1, t2)) {
1117-
// return false;
1118-
// }
1119-
// }
1111+
if constexpr (pairtype == o2::aod::pwgem::dilepton::utils::pairutil::DileptonPairType::kDielectron) {
1112+
if (!cut.IsSelectedPair(t1, t2)) {
1113+
return false;
1114+
}
1115+
} else if constexpr (pairtype == o2::aod::pwgem::dilepton::utils::pairutil::DileptonPairType::kDimuon) {
1116+
if (!cut.IsSelectedPair(t1, t2)) {
1117+
return false;
1118+
}
1119+
}
11201120

11211121
float weight = 1.f;
11221122
if constexpr (ev_id == 0) {

PWGEM/Dilepton/Core/DileptonSVMC.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1573,9 +1573,9 @@ struct DileptonSVMC {
15731573
return false;
15741574
}
15751575

1576-
// if (!cut.IsSelectedPair(t1, t2)) {
1577-
// return false;
1578-
// }
1576+
if (!cut.IsSelectedPair(t1, t2)) {
1577+
return false;
1578+
}
15791579
} else if constexpr (pairtype == o2::aod::pwgem::dilepton::utils::pairutil::DileptonPairType::kDimuon) {
15801580
if (!cut.template IsSelectedTrack<false>(t1) || !cut.template IsSelectedTrack<false>(t2)) {
15811581
return false;
@@ -1617,9 +1617,9 @@ struct DileptonSVMC {
16171617
return false;
16181618
}
16191619

1620-
// if (!cut.IsSelectedPair(t1, t2)) {
1621-
// return false;
1622-
// }
1620+
if (!cut.IsSelectedPair(t1, t2)) {
1621+
return false;
1622+
}
16231623
}
16241624

16251625
float pt1 = 0.f, eta1 = 0.f, phi1 = 0.f, pt2 = 0.f, eta2 = 0.f, phi2 = 0.f;

PWGEM/Dilepton/TableProducer/CMakeLists.txt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -86,16 +86,6 @@ o2physics_add_dpl_workflow(filter-eoi
8686
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore
8787
COMPONENT_NAME Analysis)
8888

89-
o2physics_add_dpl_workflow(dielectron-producer
90-
SOURCES dielectronProducer.cxx
91-
PUBLIC_LINK_LIBRARIES O2::Framework O2::DetectorsBase O2Physics::AnalysisCore O2Physics::PWGEMDileptonCore
92-
COMPONENT_NAME Analysis)
93-
94-
o2physics_add_dpl_workflow(dimuon-producer
95-
SOURCES dimuonProducer.cxx
96-
PUBLIC_LINK_LIBRARIES O2::Framework O2::DetectorsBase O2Physics::AnalysisCore O2Physics::PWGEMDileptonCore
97-
COMPONENT_NAME Analysis)
98-
9989
o2physics_add_dpl_workflow(qvector-dummy-otf
10090
SOURCES qVectorDummyOTF.cxx
10191
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore

PWGEM/Dilepton/TableProducer/dielectronProducer.cxx

Lines changed: 0 additions & 28 deletions
This file was deleted.

PWGEM/Dilepton/TableProducer/dimuonProducer.cxx

Lines changed: 0 additions & 28 deletions
This file was deleted.

PWGEM/Dilepton/Tasks/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,6 @@ o2physics_add_dpl_workflow(evaluate-acceptance
160160
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore
161161
COMPONENT_NAME Analysis)
162162

163-
o2physics_add_dpl_workflow(dilepton-polarization
164-
SOURCES dileptonPolarization.cxx
165-
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore
166-
COMPONENT_NAME Analysis)
167-
168163
o2physics_add_dpl_workflow(check-mc-template
169164
SOURCES checkMCTemplate.cxx
170165
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2::GlobalTracking

0 commit comments

Comments
 (0)