/[PAMELA software]/PamCut/ACCuts/CATCut/CATCut.cpp
ViewVC logotype

Annotation of /PamCut/ACCuts/CATCut/CATCut.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Wed May 27 13:30:09 2009 UTC (15 years, 6 months ago) by pam-fi
Branch point for: DEV, MAIN
Initial revision

1 pam-fi 1.1 /*
2     * CATCut.cpp
3     *
4     * Created on: 13-mar-2009
5     * Author: Sergio Ricciarini, Nicola Mori
6     */
7    
8     /*! @file CATCut.cpp The CATCut class implementation file */
9    
10     #include "CATCut.h"
11    
12     int CATCut::Check(PamLevel2 *event) {
13    
14     if (event->GetAcLevel2()->IsHit("CAT1-M") || event->GetAcLevel2()->IsHit("CAT1-E"))
15     return 0;
16     if (event->GetAcLevel2()->IsHit("CAT2-M") || event->GetAcLevel2()->IsHit("CAT2-E"))
17     return 0;
18     if (event->GetAcLevel2()->IsHit("CAT3-M") || event->GetAcLevel2()->IsHit("CAT3-E"))
19     return 0;
20     if (event->GetAcLevel2()->IsHit("CAT4-M") || event->GetAcLevel2()->IsHit("CAT4-E"))
21     return 0;
22    
23     return CUTOK;
24    
25     }

  ViewVC Help
Powered by ViewVC 1.1.23