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

Contents of /PamCut/TrkCuts/TrkChi2XDeflTimeCut/TrkChi2XDeflTimeCut.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Mar 25 17:38:09 2015 UTC (9 years, 8 months ago) by pam-fi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -1 lines
Error occurred while calculating annotation data.
Port to 10th reduction.

Some cuts have been modified to use the extended track objects introduced with 10th reduction software. Some others have still to be ported.
Git ref: 4bd0c70baf73c56bddc08dca365cbff243ad8bc8
(Nicola)

1 /*
2 * TrkChi2DeflTimeCut.cpp
3 *
4 * Created on: 6-oct-2009
5 * Author: S. Ricciarini
6 */
7
8 #include "TrkChi2XDeflTimeCut.h"
9
10 double TrkChi2XDeflTimeCut::_GetChi2(PamLevel2 *event){
11 // return event->GetTrack(0)->GetTrkTrack()->GetChi2X();
12 return (event->GetNTracks(_trkAlg)<=0 ? -1. : event->GetTrack(0,_trkAlg)->GetExtTrack()->GetChi2X());
13 }

  ViewVC Help
Powered by ViewVC 1.1.23