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

Contents of /PamCut/TrkCuts/TrkRigCut/TrkRigCut.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Wed May 27 13:30:08 2009 UTC (15 years, 6 months ago) by pam-fi
Branch: DEV
CVS Tags: v0r00, Root_V8, MergedToHEAD_1, MergedFromV8_1, BeforeMergingFromV8_1
Branch point for: V8
Changes since 1.1: +0 -0 lines
First import

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

  ViewVC Help
Powered by ViewVC 1.1.23