/[PAMELA software]/PamCut/NDCuts/NDnTrigCut/NDnTrigCut.cpp
ViewVC logotype

Contents of /PamCut/NDCuts/NDnTrigCut/NDnTrigCut.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Mar 9 18:01:08 2010 UTC (14 years, 8 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 /*
2 * NDnTrigCut.cpp
3 *
4 * Created on: 25-feb-2010
5 * Author: S. Ricciarini
6 */
7
8 /*! @file NDnTrigCut.cpp The NDnTrigCut class implementation file */
9
10 #include "NDnTrigCut.h"
11
12 int NDnTrigCut::Check(PamLevel2 *event) {
13
14 Float_t n=event->GetNDLevel2()->trigPhysics;
15 if (! (_nMin<=n && n<=_nMax) ) {
16
17 // cout << "KO " << n << endl;
18 return 0;
19 }
20
21 // cout << "OK " << n << endl;
22
23 return CUTOK;
24 }

  ViewVC Help
Powered by ViewVC 1.1.23