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