Move to updated PID model, add track dt/dt fit info - #386
Conversation
AndrewEdmonds11
left a comment
There was a problem hiding this comment.
Looks great! Thanks, Michael. Could you also add the new branch to the ntuplehelper and recreate branches.md? Thanks
I just added this, thanks for reminding me! |
|
Issues in PR #386:
|
|
Responding to the AI comments:
I think this should be merge ready, where another PR should fix the CRV object files, but I can also do this if preferred |
|
I'll review PR #386 to find issues. Let me gather the relevant data.Here's my review of PR #386 – Move to updated PID model, add track dt/dt fit info. SummaryThis PR updates the PID model and adds a new optional Reviews: 1 approval from @AndrewEdmonds11 with a request: "add the new branch to Issue found: silently mismatched dt/dt info when the collection is missingThis is the one substantive bug worth flagging before merge. In if(_conf.trk().fillTrkDtDt()) {
auto handle = _allKSDtDtHs.at(i_trk_fit_branch);
if(handle.isValid()) {
if(i_kseedptr >= handle->size()) throw cet::exception("EventNtuple")
<< "Index " << i_kseedptr
<< " out of range of DtDt list size = "
<< handle->size();
const auto& dtdt = handle->at(i_kseedptr);
_infoStructHelper.fillTrkDtDtInfo(dtdt, _allTDtDtIs.at(i_trk_fit_branch));
} else {
const KalSeedDtDt dtdt; // empty dt/dt object
_infoStructHelper.fillTrkDtDtInfo(dtdt, _allTDtDtIs.at(i_trk_fit_branch));
}
}The concern is the The result: a misconfigured tag produces an ntuple full of zero-valued Suggestions (pick one):
Other minor observations
|
This follows PRs Mu2e/MLTrain#9 and Mu2e/ArtAnalysis#8 to update the input PID model and to also add an optional branch with the track dt/dt fit results. I added rooutil information as well and a test script plotting the results.