Skip to content

Commit 84edbdd

Browse files
added struct to collect candidate information
1 parent 7daf794 commit 84edbdd

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

PWGLF/TableProducer/Nuspex/LFTreeCreatorClusterStudies.cxx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,22 @@ enum PartID {
138138
he
139139
};
140140

141+
struct Candidate {
142+
float p = -999.f; // momentum * charge
143+
float eta = -999.f;
144+
float phi = -999.f;
145+
uint32_t itsClusterSize = 0;
146+
uint8_t partID = PartID::none;
147+
float pTPC = -999.f;
148+
uint32_t pidInTrk = 0; // PID in tracking
149+
float nsigmaTPC = -999.f;
150+
float nsigmaTOF = -999.f;
151+
float tofMass = -999.f;
152+
float cosPAMother = -999.f; // Cosine of the pointing angle of the mother
153+
float massMother = -999.f; // Invariant mass of the mother
154+
int pdgCode = 0;
155+
}
156+
141157
struct LfTreeCreatorClusterStudies {
142158

143159
Service<o2::ccdb::BasicCCDBManager> m_ccdb;

0 commit comments

Comments
 (0)