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

Contents of /PamCut/TrkCuts/TrkDedxHCut/TrkDedxHCut.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Mar 18 14:46:11 2010 UTC (14 years, 8 months ago) by pam-fi
Branch: MAIN
CVS Tags: Root_V8, MergedToHEAD_1, nuclei_reproc, MergedFromV8_1, BeforeMergingFromV8_1, V9
Branch point for: V8
Changes since 1.1: +5 -46 lines
File MIME type: text/plain
New upper limit for the selection band (compatible with He lower limit).

1 /*
2 * TrkDedxHCut.h
3 *
4 * Created on: 15-mar-2010
5 * Author: S. Ricciarini
6 */
7
8 /*! @file TrkDedxHCut.h The TrkDedxHCut class definition file */
9
10 #ifndef TRKDEDXHCUT_H_
11 #define TRKDEDXHCUT_H_
12
13 #include "../../PamCutBase/PamCutBase.h"
14
15 /*! @brief The dE/dX cut to select H and anti-H.
16 * This cut discards all the events whose rigidity modulus and dE/dX (both given by TRK) are outside a pre-defined band (lower band: by Nico De Simone; upper band: by Nicola Mori).
17 * Here the rigidity is defined as pc/Ze (GV) where Z is the particle charge (WITH SIGN) and p the momentum modulus: therefore the rigidity can be positive or negative.
18 * CUT DEPENDENCIES: TrkPhysSin for object trkTrack
19 */
20 class TrkDedxHCut: public PamCut {
21
22 public:
23
24 /*! @brief Constructor.
25 *
26 * @param cutName The cut's name.
27 */
28 TrkDedxHCut(const char *cutName) :
29 PamCut(cutName) {
30
31 }
32
33 /*! @brief Destructor. */
34 ~TrkDedxHCut() {
35
36 }
37
38 /*! @brief The rigidity check.
39 *
40 * @param event The event to analyze.
41 * @return #CUTOK if the (rigidity modulus , dE/dX) point is inside the pre-defined band.
42 * @return 0 otherwise.
43 */
44 int Check(PamLevel2 *event);
45
46 private:
47
48 // lower cut line
49 static const int _nLow = 23;
50 static const Double_t _xLow[];
51 static const Double_t _yLow[];
52
53 };
54 #endif /* TRKDEDXHCUT_H_ */

  ViewVC Help
Powered by ViewVC 1.1.23