@@ -102,7 +102,6 @@ struct HfCandidateCreatorCascade {
102102 double bz = 0 .;
103103
104104 using V0full = soa::Join<aod::V0Datas, aod::V0Covs>;
105- using V0fCfull = soa::Join<aod::V0fCDatas, aod::V0fCCovs>;
106105
107106 std::shared_ptr<TH1> hCandidates;
108107 HistogramRegistry registry{" registry" };
@@ -169,7 +168,6 @@ struct HfCandidateCreatorCascade {
169168 aod::HfCascades const & rowsTrackIndexCasc,
170169 aod::V0sLinked const &,
171170 V0full const &,
172- V0fCfull const &,
173171 aod::TracksWCov const &,
174172 aod::BCsWithTimestamps const & /* bcWithTimeStamps*/ )
175173 {
@@ -229,37 +227,8 @@ struct HfCandidateCreatorCascade {
229227 covV[MomInd[i]] = v0row.momentumCovMat ()[i];
230228 covV[i] = v0row.positionCovMat ()[i];
231229 }
232- } else if (v0index.has_v0fCData ()) {
233- // this V0 passes only V0-for-cascade selections, use that instead
234- auto v0row = v0index.template v0fCData_as <V0fCfull>();
235- const auto & trackV0DaughPos = v0row.posTrack_as <aod::TracksWCov>();
236- const auto & trackV0DaughNeg = v0row.negTrack_as <aod::TracksWCov>();
237- posGlobalIndex = trackV0DaughPos.globalIndex ();
238- negGlobalIndex = trackV0DaughNeg.globalIndex ();
239- v0X = v0row.x ();
240- v0Y = v0row.y ();
241- v0Z = v0row.z ();
242- v0px = v0row.px ();
243- v0py = v0row.py ();
244- v0pz = v0row.pz ();
245- v0PosPx = v0row.pxpos ();
246- v0PosPy = v0row.pypos ();
247- v0PosPz = v0row.pzpos ();
248- v0NegPx = v0row.pxneg ();
249- v0NegPy = v0row.pyneg ();
250- v0NegPz = v0row.pzneg ();
251- dcaV0dau = v0row.dcaV0daughters ();
252- dcaPosToPV = v0row.dcapostopv ();
253- dcaNegToPV = v0row.dcanegtopv ();
254- v0cosPA = v0row.v0cosPA ();
255-
256- constexpr int MomInd[6 ] = {9 , 13 , 14 , 18 , 19 , 20 }; // cov matrix elements for momentum component
257- for (int i = 0 ; i < 6 ; i++) {
258- covV[MomInd[i]] = v0row.momentumCovMat ()[i];
259- covV[i] = v0row.positionCovMat ()[i];
260- }
261- } else {
262- LOGF (warning, " V0Data/V0fCData not there for V0 %d in HF cascade %d. Skipping candidate." , casc.v0Id (), casc.globalIndex ());
230+ } else {
231+ LOGF (warning, " V0Data not there for V0 %d in HF cascade %d. Skipping candidate." , casc.v0Id (), casc.globalIndex ());
263232 continue ; // this was inadequately linked, should not happen
264233 }
265234
@@ -363,11 +332,10 @@ struct HfCandidateCreatorCascade {
363332 aod::HfCascades const & rowsTrackIndexCasc,
364333 aod::V0sLinked const & v0sLinked,
365334 V0full const & v0Full,
366- V0fCfull const & v0fcFull,
367335 aod::TracksWCov const & tracks,
368336 aod::BCsWithTimestamps const & bcs)
369337 {
370- runCreatorCascade<CentralityEstimator::None>(collisions, rowsTrackIndexCasc, v0sLinked, v0Full, v0fcFull, tracks, bcs);
338+ runCreatorCascade<CentralityEstimator::None>(collisions, rowsTrackIndexCasc, v0sLinked, v0Full, tracks, bcs);
371339 }
372340 PROCESS_SWITCH (HfCandidateCreatorCascade, processNoCent, " Run candidate creator w/o centrality selections" , true );
373341
@@ -376,11 +344,10 @@ struct HfCandidateCreatorCascade {
376344 aod::HfCascades const & rowsTrackIndexCasc,
377345 aod::V0sLinked const & v0sLinked,
378346 V0full const & v0Full,
379- V0fCfull const & v0fcFull,
380347 aod::TracksWCov const & tracks,
381348 aod::BCsWithTimestamps const & bcs)
382349 {
383- runCreatorCascade<CentralityEstimator::FT0C>(collisions, rowsTrackIndexCasc, v0sLinked, v0Full, v0fcFull, tracks, bcs);
350+ runCreatorCascade<CentralityEstimator::FT0C>(collisions, rowsTrackIndexCasc, v0sLinked, v0Full, tracks, bcs);
384351 }
385352 PROCESS_SWITCH (HfCandidateCreatorCascade, processCentFT0C, " Run candidate creator w/ centrality selection on FT0C" , false );
386353
@@ -389,11 +356,10 @@ struct HfCandidateCreatorCascade {
389356 aod::HfCascades const & rowsTrackIndexCasc,
390357 aod::V0sLinked const & v0sLinked,
391358 V0full const & v0Full,
392- V0fCfull const & v0fcFull,
393359 aod::TracksWCov const & tracks,
394360 aod::BCsWithTimestamps const & bcs)
395361 {
396- runCreatorCascade<CentralityEstimator::FT0M>(collisions, rowsTrackIndexCasc, v0sLinked, v0Full, v0fcFull, tracks, bcs);
362+ runCreatorCascade<CentralityEstimator::FT0M>(collisions, rowsTrackIndexCasc, v0sLinked, v0Full, tracks, bcs);
397363 }
398364 PROCESS_SWITCH (HfCandidateCreatorCascade, processCentFT0M, " Run candidate creator w/ centrality selection on FT0M" , false );
399365
0 commit comments