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

Annotation of /PamCut/TrkCuts/TrkRigGeoCut/TrkRigGeoCut.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Wed Mar 25 17:38:08 2015 UTC (9 years, 8 months ago) by pam-fi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +7 -4 lines
Port to 10th reduction.

Some cuts have been modified to use the extended track objects introduced with 10th reduction software. Some others have still to be ported.
Git ref: 4bd0c70baf73c56bddc08dca365cbff243ad8bc8
(Nicola)

1 pam-fi 1.1 /*
2     * TrkRigGeoCut.cpp
3     *
4     * Created on: 25-mar-2009
5     * Author: Nicola Mori
6     */
7    
8     /*! @file TrkRigGeoCut.cpp The TrkRigGeoCut class implementation file */
9    
10     #include "TrkRigGeoCut.h"
11    
12     int TrkRigGeoCut::Check(PamLevel2 *event) {
13    
14 pam-fi 1.2 if(event->GetNTracks(_trkAlg)==0)return 0;
15     ExtTrack *track = event->GetTrack(0,_trkAlg)->GetExtTrack();
16 pam-fi 1.1
17 pam-fi 1.2 if (track->GetRigidity() < _thresholdCoeff * event->GetOrbitalInfo()->GetCutoffSVL()) {
18     return 0;
19     }
20    
21     return CUTOK;
22 pam-fi 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.23