Skip to content

Commit 346623c

Browse files
committed
Add a method for electron source selection
1 parent d82d261 commit 346623c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

PWGHF/HFL/Tasks/taskSingleElectron.cxx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -210,10 +210,6 @@ struct HfTaskSingleElectron {
210210
mpt = motherPt; // copy of first mother pt
211211
mpdg = motherPdg; // copy of first mother pdg
212212

213-
std::vector<int> anc;
214-
anc.push_back(std::abs(mcpart.pdgCode()));
215-
anc.push_back(mpdg);
216-
217213
// check if electron from charm hadrons
218214
if ((static_cast<int>(motherPdg / 100.) % 10) == kCharm || (static_cast<int>(motherPdg / 1000.) % 10) == kCharm) {
219215

@@ -228,7 +224,6 @@ struct HfTaskSingleElectron {
228224
} else {
229225
grmotherPt = mctrack.front().pt();
230226
grmotherPdg = std::abs(mctrack.front().pdgCode());
231-
anc.push_back(mctrack.front().pdgCode());
232227
if ((static_cast<int>(grmotherPdg / 100.) % 10) == kBottom || (static_cast<int>(grmotherPdg / 1000.) % 10) == kBottom) {
233228
mpt = grmotherPt;
234229
mpdg = grmotherPdg;

0 commit comments

Comments
 (0)