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

Contents of /PamCut/TofCuts/TofQualCut/TofQualCut.h

Parent Directory Parent Directory | Revision Log Revision Log


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

1 /*
2 * TofQualCut.h
3 *
4 * Created on: 13-mar-2009
5 * Author: Nicola Mori, S. Ricciarini
6 */
7
8 /*! @file TofQualCut.h The TofQualCut class definition file */
9
10 #ifndef TOFQUALCUT_H_
11 #define TOFQUALCUT_H_
12
13 #include "../../PamCutBase/PamCutBase.h"
14
15
16 /*! @brief The TofQual cut.
17 * This cut ensures that for each TOF plane (each pair of layers) at least one paddle is hit (according to standard TOF definition: both TDC's are hit and both hits are 'good')
18 */
19
20 class TofQualCut: public PamCut {
21
22 public:
23 /*! @brief Constructor. */
24 TofQualCut(const char *cutName): PamCut(cutName){
25 }
26 /*! @brief Destructor. */
27 ~TofQualCut() {
28 }
29
30 /*! @brief The TofQual check.
31 *
32 * @param event The event to analyze.
33 * @return #CUTOK if for each pair of layers at least one paddle is hit
34 * @return 0 otherwise
35 */
36 int Check(PamLevel2 *event);
37
38 private:
39
40 int _nHitPadPair[3]; // Number of hit paddles on each pair of layers
41
42 };
43
44 #endif /* TOFQUALCUT_H_ */

  ViewVC Help
Powered by ViewVC 1.1.23