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

Contents of /PamCut/TrkCuts/TrkRigMDRCut/TrkRigMDRCut.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Aug 14 10:28:05 2009 UTC (15 years, 3 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
Error occurred while calculating annotation data.
Added to repository.

1 /*
2 * TrkRigMDRCut.cpp
3 *
4 * Created on: 07/ago/2009
5 * Author: Nicola Mori
6 */
7
8 /*! @file TrkRigMDRCut.cpp The TrkRigMDRCut class implementation file. */
9
10 #include "TrkRigMDRCut.h"
11
12 int TrkRigMDRCut::Check(PamLevel2 *event) {
13
14 TrkTrack *trkTrack = event->GetTrack(0)->GetTrkTrack();
15
16 if (trkTrack->GetRigidity() * _MDRFactor > 1./sqrt(trkTrack->coval[4][4]))
17 return 0;
18
19 return CUTOK;
20 }

  ViewVC Help
Powered by ViewVC 1.1.23