PamCut: TrkCuts/TrkIdCut/TrkIdCut.cpp Source File

- Main Page
- Classes
- Files

- File List
- File Members

# TrkCuts/TrkIdCut/TrkIdCut.cpp

Go to the documentation of this file.

    00001 /*
    00002  * TrkIdCut.cpp
    00003  *
    00004  *  Created on: 13-mar-2009
    00005  *      Author: Sergio Ricciarini, Nicola Mori
    00006  */
    00007
    00010 #include "TrkIdCut.h"
    00011
    00012 int TrkIdCut::Check(PamLevel2 *event) {
    00013
    00014   PamTrack *pamTrack = event->GetTrack(0);
    00015
    00016   if (pamTrack->GetTrkTrack()->HasImage()) { // if there are 2 geometric tracks
    00017     if (!(pamTrack->IsSolved()))
    00018       return 0;
    00019   }
    00020
    00021   return CUTOK;
    00022 }