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

Contents of /PamCut/TrkCuts/TrkChi2XDeflTimeCut/TrkChi2XDeflTimeCut.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Nov 12 15:56:53 2009 UTC (15 years, 1 month ago) by pam-fi
Branch: MAIN
CVS Tags: Root_V8, MergedToHEAD_1, nuclei_reproc, MergedFromV8_1, BeforeMergingFromV8_1
Branch point for: V8
File MIME type: text/plain
Added to repository.

1 /*
2 * TrkChi2XDeflTimeCut.h
3 *
4 * Created on: 6-oct-2009
5 * Author: S. Ricciarini
6 */
7
8 /*! @file TrkChi2XDeflTimeCut.h The TrkChi2XDeflTimeCut class definition file */
9
10 #ifndef TRKCHI2XDEFLTIMECUT_H_
11 #define TRKCHI2XDEFLTIMECUT_H_
12
13 #include "../TrkChi2DeflTimeCut/TrkChi2DeflTimeCut.h"
14
15 /*! @brief The tracker chi2 for X view vs deflection cut.
16 *
17 * Events whose track has been fitted with a chi2 greater than Chi2(eta) are discarded.
18 * Chi2(eta) is a function which gives the maximum value of chi2 associated to a certain
19 * deflection eta; in current implementation it is parameterized as:
20 *
21 * Chi2(eta) = p0 + p1 * eta^2 + p2 * eta ^4
22 *
23 * where p0, p1 and p2 are parameters. These are read from a file, and are supposed to be
24 * computed month by month.
25 *
26 */
27
28 class TrkChi2XDeflTimeCut: public TrkChi2DeflTimeCut {
29
30 public:
31 /*! @brief Constructor.
32 *
33 * @param cutName The cut's name.
34 * @param calibFile Path for the calibration file. The format of the file's rows is:
35 * YYMM efficiency p0 p1 p2
36 */
37 TrkChi2XDeflTimeCut(const char *cutName, const char *calibFile) :
38 TrkChi2DeflTimeCut(cutName, calibFile) {
39 }
40
41 /*! @brief Destructor. */
42 ~TrkChi2XDeflTimeCut() {
43 }
44
45 private:
46 double _GetChi2(PamLevel2 *event);
47
48 };
49 #endif /* TRKCHI2XDEFLTIMECUT_H_ */

  ViewVC Help
Powered by ViewVC 1.1.23