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

Annotation of /PamCut/TofCuts/TofTopS1Cut/TofTopS1Cut.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Wed May 27 13:30:09 2009 UTC (15 years, 6 months ago) by pam-fi
Branch: MAIN
Branch point for: DEV
File MIME type: text/plain
Initial revision

1 pam-fi 1.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 PMT's on S1 are hit.
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