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

Contents of /PamCut/TrkCuts/TrkRigMDRCut/TrkRigMDRCut.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Aug 14 10:28:05 2009 UTC (15 years, 3 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
File MIME type: text/plain
Added to repository.

1 /*
2 * TrkRigMDRCut.h
3 *
4 * Created on: 07/ago/2009
5 * Author: Nicola Mori
6 */
7
8 /*! @file TrkRigMDRCut.h The TrkRigMDRCut class definition file */
9
10 #ifndef TRKRIGMDRCUT_H_
11 #define TRKRIGMDRCUT_H_
12
13 #include "../../PamCutBase/PamCutBase.h"
14
15 /*! @brief The rigidity cut.
16 * This cut discards all the events whose absolute rigidity multiplied by a constant
17 * factor is greater than the MDR.
18 */
19 class TrkRigMDRCut: public PamCut {
20
21 public:
22 /*! @brief Constructor.
23 *
24 * @param cutName The cut's name.
25 * @param MDRFactor The MDR Factor (see #Check).
26 */
27 TrkRigMDRCut(const char *cutName, float MDRFactor = 1.) :
28 PamCut(cutName), _MDRFactor(MDRFactor) {
29 }
30 /*! @brief Destructor. */
31 ~TrkRigMDRCut() {
32 }
33
34 /*! @brief The rigidity check.
35 *
36 * @param event The event to analyze.
37 * @return #CUTOK if |R|*MDRFactor <= MDR
38 * @return 0 otherwise.
39 */
40 int Check(PamLevel2 *event);
41
42 private:
43
44 float _MDRFactor;
45
46 };
47 #endif /* TRKRIGMDRCUT_H_ */

  ViewVC Help
Powered by ViewVC 1.1.23