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

Annotation of /PamCut/TrkCuts/TrkIdCut/TrkIdCut.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Wed May 27 13:30:09 2009 UTC (15 years, 6 months ago) by pam-fi
Branch point for: DEV, MAIN
Initial revision

1 pam-fi 1.1 /*
2     * TrkIdCut.cpp
3     *
4     * Created on: 13-mar-2009
5     * Author: Sergio Ricciarini, Nicola Mori
6     */
7    
8     /*! @file TrkIdCut.cpp The TrkIdCut class implementation file */
9    
10     #include "TrkIdCut.h"
11    
12     int TrkIdCut::Check(PamLevel2 *event) {
13    
14     PamTrack *pamTrack = event->GetTrack(0);
15    
16     if (pamTrack->GetTrkTrack()->HasImage()) { // if there are 2 geometric tracks
17     if (!(pamTrack->IsSolved()))
18     return 0;
19     }
20    
21     return CUTOK;
22     }

  ViewVC Help
Powered by ViewVC 1.1.23