PamCut: TrkCuts/TrkIonCut/TrkIonCut.cpp Source File

- Main Page
- Classes
- Files

- File List
- File Members

# TrkCuts/TrkIonCut/TrkIonCut.cpp

Go to the documentation of this file.

    00001 /*
    00002  * TrkIonCut.cpp
    00003  *
    00004  *  Created on: 13-mar-2009
    00005  *      Author: Sergio Ricciarini, Nicola Mori
    00006  */
    00007
    00010 #include "TrkIonCut.h"
    00011
    00012 int TrkIonCut::Check(PamLevel2 *event) {
    00013
    00014   TrkTrack *trkTrack = event->GetTrack(0)->GetTrkTrack();
    00015
    00016   if ( ! (trkTrack->GetDEDX() < _maxRelease && trkTrack->GetDEDX() > _minRelease) )
    00017     return 0;
    00018
    00019   return CUTOK;
    00020 }