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

Contents of /PamCut/TrkCuts/TrkDedxNucleiCut/TrkDedxNucleiCut.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Mar 25 17:38:09 2015 UTC (9 years, 8 months ago) by pam-fi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +6 -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 * TrkDedxNucleiCut.h
3 *
4 * Created on: 8/jul/2010
5 * Author: Nicola Mori
6 */
7
8 #ifndef TRKDEDXNUCLEICUT_H_
9 #define TRKDEDXNUCLEICUT_H_
10
11 #include "../../PamCutBase/PamCutBase.h"
12
13 /*! @brief The dE/dX cut to select nuclei (Z >= 2)
14 * This cut keeps all the events whose energy release in tracker exceeds the lower
15 * limit of the He band. This will effectively discard only Z = 1 particles.
16 * The selection algorithm is different from that used in #TrkDedxHeCut: here no smart dE/dx computation
17 * is performed, ie., there's no exclusion of high release clusters nor separate check on X and Y views.
18 * This may result in a little contamination from protons.
19 * CUT DEPENDENCIES: TrkPhSinCut for object TrkTrack
20 */
21 class TrkDedxNucleiCut: public PamCut {
22
23 public:
24
25 /*! @brief Constructor.
26 *
27 * @param cutName The cut's name.
28 */
29 TrkDedxNucleiCut(const char *cutName, const char *trkAlg) :
30 PamCut(cutName), _trkAlg(trkAlg) {
31 }
32
33 /*! @brief Destructor. */
34 ~TrkDedxNucleiCut() {
35 }
36
37 /*! @brief The tracker dE/dx vs rigidity check.
38 *
39 * @param event The event to analyze.
40 * @return #CUTOK if the event lies above the lower limit of the helium band.
41 * @return 0 otherwise
42 */
43 int Check(PamLevel2 *event);
44
45 private:
46
47 const char *_trkAlg;
48 };
49 #endif /* TRKDEDXNUCLEICUT_H_ */

  ViewVC Help
Powered by ViewVC 1.1.23