Parent Directory | Revision Log
Added to repository.
1 | pam-fi | 1.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 |