Skip to content

Commit

Permalink
Merge pull request #92 from kmcdermo/full-det-tracking
Browse files Browse the repository at this point in the history
Fixes to non-root based validation
  • Loading branch information
osschar authored Aug 1, 2017
2 parents 2f23f99 + 87a2347 commit 01094a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mkFit/MkBuilder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ void MkBuilder::quality_process(Track &tkcand)
{
TrackExtra extra(tkcand.label());

if (Config::useCMSGeom || Config::findSeeds)
if (Config::readCmsswSeeds || Config::findSeeds)
{
extra.setMCTrackIDInfo(tkcand, m_event->layerHits_, m_event->simHitsInfo_, m_event->simTracks_, false);
}
Expand All @@ -877,8 +877,8 @@ void MkBuilder::quality_process(Track &tkcand)
{
ptmc = m_event->simTracks_[mctrk].pT() ;
pr = pt / ptmc;
// XXXXMT4K Requires Track::nFoundUniqueLayerHits() or Track::nFoundLayers()
nfoundmc = m_event->simTracks_[mctrk].nFoundHits();
m_event->simTracks_[mctrck].sortHitsByLayer();
nfoundmc = m_event->simTracks_[mctrk].nUniqueLayers();
chi2mc = m_event->simTracks_[mctrk].chi2();//this is actually the number of reco hits in cmssw

++m_cnt;
Expand Down

0 comments on commit 01094a4

Please sign in to comment.