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

Contents of /PamCut/TrkCuts/TrkIonCut/TrkIonCut.cpp

Parent Directory Parent Directory | Revision Log Revision Log


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

1 /*
2 * TrkIonCut.cpp
3 *
4 * Created on: 13-mar-2009
5 * Author: Sergio Ricciarini, Nicola Mori
6 */
7
8 /*! @file TrkIonCut.cpp The TrkIonCut class implementation file */
9
10 #include "TrkIonCut.h"
11
12 int TrkIonCut::Check(PamLevel2 *event) {
13
14 TrkTrack *trkTrack = event->GetTrack(0)->GetTrkTrack();
15
16 if ( ! (trkTrack->GetDEDX() < _maxRelease && trkTrack->GetDEDX() > _minRelease) )
17 return 0;
18
19 return CUTOK;
20 }

  ViewVC Help
Powered by ViewVC 1.1.23