/[PAMELA software]/PamCut/TrkCuts/TrkYSensCut/TrkYSensCut.h
ViewVC logotype

Contents of /PamCut/TrkCuts/TrkYSensCut/TrkYSensCut.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.2.2 - (show annotations) (download)
Tue Jun 29 07:51:48 2010 UTC (14 years, 5 months ago) by pam-fi
Branch: V8
CVS Tags: MergedToHEAD_1, nuclei_reproc
Changes since 1.1.2.1: +1 -1 lines
File MIME type: text/plain
Small fix in documentation.

1 /*
2 * TrkRigCut.h
3 *
4 * Created on: 09-apr-2010
5 * Author: S. Ricciarini
6 */
7
8 /*! @file TrkYSensCut.h The TrkYSensCut class definition file */
9
10 #ifndef TRKYSENSCUT_H_
11 #define TRKYSENSCUT_H_
12
13 #include "../../PamCutBase/PamCutBase.h"
14
15 /*! @brief The TRK Y sensor cut.
16 * This cut selects only events for which the TRK hit sensor id. sensorId.
17 */
18 class TrkYSensCut: public PamCut {
19
20 public:
21 /*! @brief Constructor.
22 *
23 * @param cutName The cut's name.
24 * @param sensorId The TRK sensor id. along Y (0-1 for increasing Y)
25 */
26 TrkYSensCut(const char *cutName, Int_t sensorId) :
27 PamCut(cutName), _sensorId(sensorId) {
28 }
29 /*! @brief Destructor. */
30 ~TrkYSensCut() {
31 }
32
33 /*! @brief The rigidity check.
34 *
35 * @param event The event to analyze.
36 * @return #CUTOK if the rigidity is greater than the threshold
37 * @return 0 otherwise.
38 */
39 int Check(PamLevel2 *event);
40
41 private:
42
43 Int_t _sensorId;
44
45 };
46 #endif /* TRKYSENSCUT_H_ */

  ViewVC Help
Powered by ViewVC 1.1.23