Parent Directory | Revision Log
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 |