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

Contents of /PamCut/TrkCuts/TrkDOFCut/TrkDOFCut.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Sep 25 15:36:46 2009 UTC (15 years, 2 months ago) by pam-fi
Branch: MAIN
CVS Tags: Root_V8, MergedToHEAD_1, nuclei_reproc, MergedFromV8_1, BeforeMergingFromV8_1, V9, HEAD
Branch point for: V8
Added to repository.

1 /*
2 * TrkDOFCut.cpp
3 *
4 * Created on: 04/set/2009
5 * Author: Nicola Mori
6 */
7
8 /*! @file TrkDOFCut.cpp The TrkDOFCut class implementation file */
9
10 #include "TrkDOFCut.h"
11
12 int TrkDOFCut::Check(PamLevel2 *event) {
13
14 if (event->GetTrack(0)->GetTrkTrack()->GetNtot() < _minDOF || event->GetTrack(0)->GetTrkTrack()->GetNtot() > _maxDOF)
15 return 0;
16
17 return CUTOK;
18 }

  ViewVC Help
Powered by ViewVC 1.1.23