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

Contents of /PamCut/TrkCuts/TrkDedxHeCut/TrkDedxHeCut.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Mar 25 17:38:08 2015 UTC (9 years, 8 months ago) by pam-fi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +7 -2 lines
File MIME type: text/plain
Port to 10th reduction.

Some cuts have been modified to use the extended track objects introduced with 10th reduction software. Some others have still to be ported.
Git ref: 4bd0c70baf73c56bddc08dca365cbff243ad8bc8
(Nicola)

1 /*
2 * TrkDedxHeCut.h
3 *
4 * Created on: 28/gen/2010
5 * Author: Nicola Mori
6 */
7
8 #ifndef TRKDEDXHECUT_H_
9 #define TRKDEDXHECUT_H_
10
11 #include "../../PamCutBase/PamCutBase.h"
12
13 /*! @brief The dE/dX cut to select He
14 * This cut discards all the events whose rigidity modulus and dE/dX (both given by TRK) are outside a pre-defined band
15 * (defined by E. Vannuccini and N. Mori). The function defining the upper and lower limits of the band is: dE/dx = a + b/R^2,
16 * where a and b are parameters which take different values for the upper and lower limit.
17 * CUT DEPENDENCIES: TrkPhSinCut for object TrkTrack
18 */
19 class TrkDedxHeCut: public PamCut {
20
21 public:
22
23 /*! @brief Constructor.
24 *
25 * @param cutName The cut's name.
26 */
27 TrkDedxHeCut(const char *cutName, const char *trkAlg) :
28 PamCut(cutName), _trkAlg(trkAlg) {
29 }
30
31 /*! @brief Destructor. */
32 ~TrkDedxHeCut() {
33 }
34
35 /*! @brief The tracker dE/dx vs rigidity check.
36 *
37 * @param event The event to analyze.
38 * @return #CUTOK if the event lies inside the helium band
39 * @return 0 otherwise
40 */
41 int Check(PamLevel2 *event);
42
43 private:
44
45 const char *_trkAlg;
46
47 };
48 #endif /* TRKDEDXHECUT_H_ */

  ViewVC Help
Powered by ViewVC 1.1.23