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

Annotation of /PamCut/TrkCuts/TrkRigMDRCut/TrkRigMDRCut.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Fri Aug 14 10:28:05 2009 UTC (15 years, 4 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 pam-fi 1.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