/[PAMELA software]/PamCut/ACCuts/CASCut/CASCut.h
ViewVC logotype

Contents of /PamCut/ACCuts/CASCut/CASCut.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri May 27 14:05:31 2011 UTC (13 years, 6 months ago) by pam-fi
Branch: MAIN
CVS Tags: V9, HEAD
File MIME type: text/plain
Added to repository.

1 /*
2 * CASCut.h
3 *
4 * Created on: 13-may-2011
5 * Author: Sergio Ricciarini
6 */
7
8 /*! @file CASCut.h The CASCut class definition file */
9
10 #ifndef CASCUT_H_
11 #define CASCUT_H_
12
13 #include "../../PamCutBase/PamCutBase.h"
14
15 /*! @brief The CAS cut.
16 * An event survives this cut only if no CAS scintillator has signal.
17 */
18
19 class CASCut: public PamCut {
20
21 public:
22 /*! @brief Constructor.
23 *
24 * @param cutName The cut's name.
25 */
26 CASCut(const char *cutName) :
27 PamCut(cutName) {
28 }
29 /*! @brief Destructor. */
30 ~CASCut() {
31 }
32
33 /*! @brief The CAS check.
34 *
35 * @param event The event to analyze.
36 * @return #CUTOK if all the CAS scintillators show no signal
37 * @return 0 if there's a signal on at least one scintillator
38 */
39 int Check(PamLevel2 *event);
40 };
41 #endif /* CASCUT_H_ */

  ViewVC Help
Powered by ViewVC 1.1.23