Skip to content

Commit

Permalink
Merge pull request #1373 from brownd1978/valfix
Browse files Browse the repository at this point in the history
Valfix
  • Loading branch information
brownd1978 authored Nov 19, 2024
2 parents 8421253 + d1a83d4 commit a65235a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 2 additions & 0 deletions Mu2eKinKal/fcl/prolog.fcl
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,8 @@ Mu2eKinKal : {
CaloTrackerTimeOffset: -2.43
# Additional width is needed here as straight tracks have worse time resolution
MaxCaloClusterDt: 8
# save the full trajectory
SaveTrajectory: Full
}
FitSettings : @local::Mu2eKinKal.CHSEEDFIT
ExtensionSettings : @local::Mu2eKinKal.CHDRIFTEXT
Expand Down
12 changes: 7 additions & 5 deletions Print/src/SurfaceStepPrinter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,12 @@ void mu2e::SurfaceStepPrinter::Print(const mu2e::SurfaceStep& obj, int ind,
<< std::setw(5) << std::setprecision(3) << obj.pathLength() << " "
<< std::setw(5) << std::setprecision(2) << obj.time() << " "
<< std::setw(7) << std::setprecision(2) << fmod(obj.time(),mbtime) << " "
<< std::setw(5) << std::setprecision(2) << obj.momentum().R() << " "
<< std::setw(8) << std::setprecision(1) << obj.startPosition().x()
<< std::setw(8) << std::setprecision(1) << obj.startPosition().y()
<< std::setw(8) << std::setprecision(1) << obj.startPosition().z()
<< std::setw(5) << std::setprecision(1) << obj.startPosition().x()
<< std::setw(5) << std::setprecision(1) << obj.startPosition().y()
<< std::setw(5) << std::setprecision(1) << obj.startPosition().z() << " "
<< std::setw(5) << std::setprecision(1) << obj.momentum().x()
<< std::setw(5) << std::setprecision(1) << obj.momentum().y()
<< std::setw(5) << std::setprecision(1) << obj.momentum().z()
<< std::endl;
}

Expand All @@ -90,5 +92,5 @@ void mu2e::SurfaceStepPrinter::PrintHeader(const std::string& tag,

void mu2e::SurfaceStepPrinter::PrintListHeader(std::ostream& os) {
if (verbose() < 1) return;
os << " ind SimPart SurfaceId eDep length time time%mb mom X Y Z\n";
os << " ind SimPart SurfaceId eDep length time time%mb pos X Y Z mom X Y Z\n";
}

0 comments on commit a65235a

Please sign in to comment.