/[PAMELA software]/PamCut/TofCuts/TofTopS1Cut/TofTopS1Cut.h
ViewVC logotype

Contents of /PamCut/TofCuts/TofTopS1Cut/TofTopS1Cut.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Mar 18 14:45:32 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
Changes since 1.1: +1 -1 lines
File MIME type: text/plain
Comments improved.

1 /*
2 * TofTopS1Cut.h
3 *
4 * Created on: 13-mar-2009
5 * Author: Nicola Mori
6 */
7
8 /*! @file PktQualCut.h The PktQualCut class definition file */
9
10 #ifndef TOFTOPS1CUT_H_
11 #define TOFTOPS1CUT_H_
12
13 #include "../../PamCutBase/PamCutBase.h"
14
15
16 /*! @brief The TofTopS1 cut.
17 * This cut ensures that no more than 2 PMTs are hit for S11 and S12.
18 */
19
20 class TofTopS1Cut: public PamCut {
21
22 public:
23 /*! @brief Constructor. */
24 TofTopS1Cut(const char *cutName): PamCut(cutName){
25 }
26 /*! @brief Destructor. */
27 ~TofTopS1Cut() {
28 }
29
30 /*! @brief The TofTopS1 check.
31 *
32 * @param event The event to analyze.
33 * @return #CUTOK if no more than 2 PMTs are hit on each layer of S1
34 * @return 0 otherwise
35 */
36 int Check(PamLevel2 *event);
37
38 private:
39
40 int _nHitPmtPl[2]; // Number of hit PMT on each layer of S1
41
42 };
43
44 #endif /* TOFTOPS1CUT_H_ */

  ViewVC Help
Powered by ViewVC 1.1.23