Skip to content
Snippets Groups Projects

Draft: Adding a new code for Upstream and Muon tracks matching

Open Ivan Cambon Bouzas requested to merge jcambonb_changes into master

The new VeloUTMuonBuilder code has been added to Tr/TrackTools. That code is currently a copy of the VeloMuonBuilder one. Tuning for Upstream and Standalone muon tracks matching will be performed to improve the efficiency and the momentum resolution (if possible).

This MR is linked to Moore!3792 and LHCb!4659

An old MR was made to master !4006 (closed)

Edited by Ivan Cambon Bouzas

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • 136 for ( auto& veloutstate : velouttrack->states() ) { aCopy->addToStates( *veloutstate ); }
    137 aCopy->addToLhcbIDs( velouttrack->lhcbIDs() );
    138 for ( auto& muonstate : muontrack->states() ) { aCopy->addToStates( *muonstate ); }
    139 aCopy->addToLhcbIDs( muontrack->lhcbIDs() );
    140 aCopy->firstState().setQOverP( qp );
    141 for ( auto& state : aCopy->states() ) {
    142 state->setQOverP( qp );
    143 state->setCovariance( cov );
    144 }
    145 aCopy->setFitStatus( LHCb::Track::FitStatus::Unknown );
    146 aCopy->setFitHistory( LHCb::Track::FitHistory::Unknown );
    147 aCopy->setType( LHCb::Track::Types::VeloMuon );
    148
    149 float weight = weighteddistance;
    150 // safe the new track in goodCopy if the distance between velo and muon is so far the closest
    151 if ( weight < minweight ) {
  • 191 state->setCovariance( cov );
    192 }
    193 aCopy->setFitStatus( LHCb::Track::FitStatus::Unknown );
    194 aCopy->setFitHistory( LHCb::Track::FitHistory::Unknown );
    195 aCopy->setType( LHCb::Track::Types::VeloMuon );
    196
    197 float weight = weighteddistance;
    198 // safe the new track in goodCopy if the distance between velo and muon is so far the closest
    199 if ( weight < minweight ) {
    200 minweight = weight;
    201 infiniteMinWeight = false;
    202 goodCopy = std::move( aCopy );
    203 }
    204 }
    205
    206 if ( infiniteMinWeight ) continue; // -- nothing was found
  • Ivan Cambon Bouzas mentioned in merge request Moore!3792

    mentioned in merge request Moore!3792

  • Ivan Cambon Bouzas mentioned in merge request LHCb!4659

    mentioned in merge request LHCb!4659

  • Ivan Cambon Bouzas changed the description

    changed the description

  • added 1 commit

    Compare with previous version

  • added 1 commit

    • 6d58cf0c - fix adding fitted states for UpstreamMuon

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 73 commits

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading