Skip to content

Commit 094c708

Browse files
removed older table columns, added new ones
1 parent 7ac68ab commit 094c708

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,8 @@ struct He3HadCandidate {
167167
float etaHadMC = -99.f;
168168
float phiHadMC = -99.f;
169169

170-
bool isHe3Primary = false;
171-
bool isHadPrimary = false;
172-
bool isMotherLi4 = false;
170+
uint8_t flagsHe3 = 0; // flags for He3
171+
uint8_t flagsHad = 0; // flags for hadron
173172

174173
// collision information
175174
int32_t collisionID = 0;
@@ -666,7 +665,6 @@ struct he3HadronFemto {
666665
he3Hadcand.l4PtMC = mctrackMother.pt() * (mctrackMother.pdgCode() > 0 ? 1 : -1);
667666
const double eLit = mctrackHe3.e() + mctrackHad.e();
668667
he3Hadcand.l4MassMC = std::sqrt(eLit * eLit - mctrackMother.p() * mctrackMother.p());
669-
he3Hadcand.isMotherLi4 = std::abs(mctrackMother.pdgCode()) == Li4PDG;
670668
}
671669

672670
template <typename Ttrack>
@@ -782,9 +780,8 @@ struct he3HadronFemto {
782780
he3Hadcand.phiHadMC,
783781
he3Hadcand.l4PtMC,
784782
he3Hadcand.l4MassMC,
785-
he3Hadcand.isMotherLi4,
786-
he3Hadcand.isHe3Primary,
787-
he3Hadcand.isHadPrimary);
783+
he3Hadcand.flagsHe3,
784+
he3Hadcand.flagsHad);
788785
}
789786
if (settingFillMultiplicity) {
790787
outputMultiplicityTable(

0 commit comments

Comments
 (0)