File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
PWGLF/TableProducer/Strangeness Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -755,7 +755,7 @@ struct cascadeBuilder {
755755 // / Set magnetic field for KF vertexing
756756 KFParticle::SetField (d_bz);
757757
758- if (useMatCorrType == 2 ) {
758+ if (useMatCorrType == 2 && !lut ) {
759759 // setMatLUT only after magfield has been initalized
760760 // (setMatLUT has implicit and problematic init field call if not)
761761 LOG (info) << " Loading material look-up table for timestamp: " << timestamp;
Original file line number Diff line number Diff line change @@ -737,7 +737,7 @@ struct lambdakzeroBuilder {
737737 // Set magnetic field value once known
738738 fitter.setBz (d_bz);
739739
740- if (dcaFitterConfigurations.useMatCorrType == 2 ) {
740+ if (dcaFitterConfigurations.useMatCorrType == 2 && !lut ) {
741741 // setMatLUT only after magfield has been initalized
742742 // (setMatLUT has implicit and problematic init field call if not)
743743 LOG (info) << " Loading material look-up table for timestamp: " << timestamp;
You can’t perform that action at this time.
0 commit comments