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

Annotation of /PamCut/TrkCuts/TrkDedxHeCut/TrkDedxHeCut.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide 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 pam-fi 1.1 /*
2     * TrkDedxHeCut.h
3     *
4 pam-fi 1.2 * Created on: 28/gen/2010
5     * Author: Nicola Mori
6 pam-fi 1.1 */
7    
8     #ifndef TRKDEDXHECUT_H_
9     #define TRKDEDXHECUT_H_
10    
11     #include "../../PamCutBase/PamCutBase.h"
12    
13 pam-fi 1.2 /*! @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 pam-fi 1.1 */
19     class TrkDedxHeCut: public PamCut {
20    
21     public:
22 pam-fi 1.2
23 pam-fi 1.1 /*! @brief Constructor.
24     *
25     * @param cutName The cut's name.
26     */
27 pam-fi 1.3 TrkDedxHeCut(const char *cutName, const char *trkAlg) :
28     PamCut(cutName), _trkAlg(trkAlg) {
29 pam-fi 1.1 }
30    
31     /*! @brief Destructor. */
32     ~TrkDedxHeCut() {
33     }
34    
35 pam-fi 1.2 /*! @brief The tracker dE/dx vs rigidity check.
36 pam-fi 1.1 *
37     * @param event The event to analyze.
38 pam-fi 1.2 * @return #CUTOK if the event lies inside the helium band
39     * @return 0 otherwise
40 pam-fi 1.1 */
41     int Check(PamLevel2 *event);
42 pam-fi 1.3
43     private:
44    
45     const char *_trkAlg;
46    
47 pam-fi 1.1 };
48 pam-fi 1.2 #endif /* TRKDEDXHECUT_H_ */

  ViewVC Help
Powered by ViewVC 1.1.23