/[PAMELA software]/PamCut/TrkCuts/TrkChi2XDeflTimeCut/TrkChi2XDeflTimeCut.cpp
ViewVC logotype

Diff of /PamCut/TrkCuts/TrkChi2XDeflTimeCut/TrkChi2XDeflTimeCut.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by pam-fi, Thu Nov 12 15:56:52 2009 UTC revision 1.2 by pam-fi, Wed Mar 25 17:38:09 2015 UTC
# Line 8  Line 8 
8  #include "TrkChi2XDeflTimeCut.h"  #include "TrkChi2XDeflTimeCut.h"
9    
10  double TrkChi2XDeflTimeCut::_GetChi2(PamLevel2 *event){  double TrkChi2XDeflTimeCut::_GetChi2(PamLevel2 *event){
11    return event->GetTrack(0)->GetTrkTrack()->GetChi2X();  //  return event->GetTrack(0)->GetTrkTrack()->GetChi2X();
12        return (event->GetNTracks(_trkAlg)<=0 ? -1. : event->GetTrack(0,_trkAlg)->GetExtTrack()->GetChi2X());
13  }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.23