File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141using namespace o2 ;
4242using namespace o2 ::framework;
4343
44- struct PhiCandidate {
44+ struct PhiCandidateInjected {
4545 ROOT ::Math::PxPyPzMVector p4;
46- int t1Index;
47- int t2Index;
46+ int t1Index = - 1 ;
47+ int t2Index = - 1 ;
4848
4949 // MC Truth attributes
5050 bool isValidMcPhi = false ;
@@ -279,7 +279,7 @@ struct PhiPhiMCInjected {
279279 return ;
280280 }
281281
282- std::vector<PhiCandidate > phiCandidates;
282+ std::vector<PhiCandidateInjected > phiCandidates;
283283
284284 // STEP 1: Reconstruct individual Phi candidates (Kaon track pairs)
285285 for (const auto & t1 : tracks) {
@@ -375,7 +375,7 @@ struct PhiPhiMCInjected {
375375 continue ;
376376 }
377377
378- PhiCandidate phiCand;
378+ PhiCandidateInjected phiCand;
379379
380380 phiCand.p4 = motherRec;
381381 phiCand.t1Index = t1.globalIndex ();
Original file line number Diff line number Diff line change 4141using namespace o2 ;
4242using namespace o2 ::framework;
4343
44- struct PhiCandidate {
44+ struct PhiCandidateTrigger {
4545 ROOT ::Math::PxPyPzMVector p4;
46- int t1Index;
47- int t2Index;
48- int mcPhiIndex;
46+ int t1Index = - 1 ;
47+ int t2Index = - 1 ;
48+ int mcPhiIndex = - 1 ;
4949
5050 // MC Truth attributes
5151 bool isValidMcPhi = false ;
@@ -240,7 +240,7 @@ struct PhiPhiMCTrigger {
240240 return ;
241241 }
242242
243- std::vector<PhiCandidate > phiCandidates;
243+ std::vector<PhiCandidateTrigger > phiCandidates;
244244
245245 // STEP 1: Reconstruct individual Phi candidates (Kaon track pairs)
246246 for (const auto & t1 : tracks) {
@@ -337,7 +337,7 @@ struct PhiPhiMCTrigger {
337337 continue ;
338338 }
339339
340- PhiCandidate phiCand;
340+ PhiCandidateTrigger phiCand;
341341
342342 phiCand.p4 = motherRec;
343343 phiCand.t1Index = t1.globalIndex ();
You can’t perform that action at this time.
0 commit comments