/[PAMELA software]/PamCut/TofCuts/TofBetaCut/TofBetaCut.cpp
ViewVC logotype

Annotation of /PamCut/TofCuts/TofBetaCut/TofBetaCut.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Wed Jun 10 15:48:17 2009 UTC (15 years, 6 months ago) by pam-fi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Removed because of overlap with TofBetaRangeCut

1 pam-fi 1.1 /*
2     * TofBetaCut.cpp
3     *
4     * Created on: 13-mar-2009
5     * Author: Sergio Ricciarini, Nicola Mori
6     */
7    
8     /*! @file TofBetaCut.cpp The TofBetaCut class implementation file */
9    
10     #include "TofBetaCut.h"
11    
12     int TofBetaCut::Check(PamLevel2 *event) {
13    
14     int iTrackTof=0; // index initialized to 0 (TOF stand-alone track)
15     if (! (_trackTof==0) ) {
16     iTrackTof=*_trackTof;
17     }
18    
19     beta = event->GetToFLevel2()->CalcBeta(iTrackTof,_resMax,_qualCut,_chi2Cut);
20    
21     if( ! (beta < 100.) ) // NOTE: beta=100 means beta calculation was not successful
22     return 0;
23    
24     return CUTOK;
25    
26     }

  ViewVC Help
Powered by ViewVC 1.1.23