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

Contents of /PamCut/TrkCuts/TrkMDRCut/TrkMDRCut.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Oct 29 09:40:51 2009 UTC (15 years, 1 month 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 * TrkMDRCut.cpp
3 *
4 * Created on:23-apr-2009
5 * Author: S. Ricciarini
6 */
7
8 /*! @file TrkMDRCut.cpp The TrkRigGeoCut class implementation file */
9
10 #include "TrkMDRCut.h"
11
12 int TrkMDRCut::Check(PamLevel2 *event) {
13
14 TrkTrack *trkTrack = event->GetTrack(0)->GetTrkTrack();
15
16 float MDRMod = pow(1./trkTrack->coval[4][4],0.5);
17
18 // cout << MDRMod << endl;
19
20 if (MDRMod <= fabs(_MDRMin)) {
21 return 0;
22 }
23
24 // cout << " OK " << endl;
25
26 return CUTOK;
27
28 }

  ViewVC Help
Powered by ViewVC 1.1.23