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

Contents of /PamCut/ACCuts/CARDCut/CARDCut.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Wed May 27 13:30:09 2009 UTC (15 years, 6 months ago) by pam-fi
Branch: DEV, MAIN
CVS Tags: v0r00, Root_V8, MergedToHEAD_1, nuclei_reproc, MergedFromV8_1, BeforeMergingFromV8_1, V9, HEAD
Branch point for: V8
Changes since 1.1: +0 -0 lines
Error occurred while calculating annotation data.
First import

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

  ViewVC Help
Powered by ViewVC 1.1.23