Parent Directory | Revision Log
Support for external CaloAxis library added.
1 | pam-fi | 1.1 | /* |
2 | * CaloCrossCut.cpp | ||
3 | * | ||
4 | * Created on: 19-mar-2009 | ||
5 | * Author: Sergio Ricciarini, Nicola Mori | ||
6 | */ | ||
7 | |||
8 | /*! @file CaloCrossCut.cpp The CaloCrossCut class implementation file */ | ||
9 | |||
10 | pam-fi | 1.1.1.1.2.1 | #ifndef NO_CALOAXIS |
11 | |||
12 | pam-fi | 1.1 | #include "CaloCrossCut.h" |
13 | |||
14 | int CaloCrossCut::Check(PamLevel2 *event) { | ||
15 | |||
16 | if (! (_xCaloAxis->GetQ(21) > 0 && _yCaloAxis->GetQ(21) > 0) ) | ||
17 | return 0; | ||
18 | |||
19 | return CUTOK; | ||
20 | } | ||
21 | pam-fi | 1.1.1.1.2.1 | |
22 | #endif /* NO_CALOAXIS */ |
ViewVC Help | |
Powered by ViewVC 1.1.23 |