Skip to content

Commit e08a4c8

Browse files
swap material and prop order
1 parent 7122236 commit e08a4c8

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

RecoTracker/MkFitCore/src/PropagationMPlex.cc

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,13 @@ namespace mkfit {
548548
}
549549
#endif
550550

551+
// MultHelixProp can be optimized for CCS coordinates, see GenMPlexOps.pl
552+
MPlexLL temp;
553+
MultHelixProp(errorProp, outErr, temp);
554+
MultHelixPropTransp(errorProp, temp, outErr);
555+
// MultHelixPropFull(errorProp, outErr, temp);
556+
// MultHelixPropTranspFull(errorProp, temp, outErr);
557+
551558
if (pflags.apply_material) {
552559
MPlexQF hitsRl;
553560
MPlexQF hitsXi;
@@ -581,13 +588,6 @@ namespace mkfit {
581588

582589
squashPhiMPlex(outPar, N_proc); // ensure phi is between |pi|
583590

584-
// MultHelixProp can be optimized for CCS coordinates, see GenMPlexOps.pl
585-
MPlexLL temp;
586-
MultHelixProp(errorProp, outErr, temp);
587-
MultHelixPropTransp(errorProp, temp, outErr);
588-
// MultHelixPropFull(errorProp, outErr, temp);
589-
// MultHelixPropTranspFull(errorProp, temp, outErr);
590-
591591
// Matriplex version of:
592592
// result.errors = ROOT::Math::Similarity(errorProp, outErr);
593593

@@ -679,6 +679,14 @@ namespace mkfit {
679679
}
680680
#endif
681681

682+
// Matriplex version of:
683+
// result.errors = ROOT::Math::Similarity(errorProp, outErr);
684+
MPlexLL temp;
685+
MultHelixPropEndcap(errorProp, outErr, temp);
686+
MultHelixPropTranspEndcap(errorProp, temp, outErr);
687+
// MultHelixPropFull(errorProp, outErr, temp);
688+
// MultHelixPropTranspFull(errorProp, temp, outErr);
689+
682690
if (pflags.apply_material) {
683691
MPlexQF hitsRl;
684692
MPlexQF hitsXi;
@@ -736,14 +744,6 @@ namespace mkfit {
736744

737745
squashPhiMPlex(outPar, N_proc); // ensure phi is between |pi|
738746

739-
// Matriplex version of:
740-
// result.errors = ROOT::Math::Similarity(errorProp, outErr);
741-
MPlexLL temp;
742-
MultHelixPropEndcap(errorProp, outErr, temp);
743-
MultHelixPropTranspEndcap(errorProp, temp, outErr);
744-
// MultHelixPropFull(errorProp, outErr, temp);
745-
// MultHelixPropTranspFull(errorProp, temp, outErr);
746-
747747
// PROP-FAIL-ENABLE To keep physics changes minimal, we always restore the
748748
// state to input when propagation fails -- as was the default before.
749749
// if (pflags.copy_input_state_on_fail) {

0 commit comments

Comments
 (0)