/[PAMELA software]/PamCut/TofCuts/TofDedxHeCut/TofDedxHeCut.h
ViewVC logotype

Annotation of /PamCut/TofCuts/TofDedxHeCut/TofDedxHeCut.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Fri Aug 14 10:30:49 2009 UTC (15 years, 4 months ago) by pam-fi
Branch: MAIN
Changes since 1.1: +5 -2 lines
File MIME type: text/plain
Support for TOF standalone added; calibration refined.

1 pam-fi 1.1 /*
2     * TofDedxHeCut.h
3     *
4     * Created on: 03/ago/2009
5     * Author: Nicola Mori
6     */
7    
8     /*! @file TofDedxHeCut.h The TofDedxHeCut.h class definition file. */
9    
10     #ifndef TOFDEDXHECUT_H_
11     #define TOFDEDXHECUT_H_
12    
13     #include "../../PamCutBase/PamCutBase.h"
14    
15     /*! @brief Cutting a band dE/dx vs. Beta for Helium.
16     * This cut discards events where TOF dE/dx vs. Beta are outside the helium "corridor". This corridor is currently
17     * defined by:
18     *
19     * dE/dx > 1 / (0.2 * (beta - 0.05)) - 2.
20     * dE/dx < 1 / (0.25 * (beta - 0.1))
21     * dE/dx > 11. * beta - 7.7
22     *
23     * dE/dx is the mean of the energy releases on S11, S12, S21, S22.
24     */
25     class TofDedxHeCut: public PamCut {
26    
27     public:
28     /*! @brief Constructor.
29     *
30     * @param cutName The cut's name.
31 pam-fi 1.2 * @param standAlone If true, the cut will use the standalone measure of beta; otherwise it will use the
32     * physical track.
33 pam-fi 1.1 */
34 pam-fi 1.2 TofDedxHeCut(const char *cutName, bool standAlone = true) :
35     PamCut(cutName), _standAlone(standAlone) {
36 pam-fi 1.1 }
37     /*! @brief Destructor. */
38     ~TofDedxHeCut() {
39    
40     }
41    
42     /*! @brief The dE/dx vs. beta Helium check.
43     *
44     * @param event The event to analyze.
45     * @return #CUTOK if event is inside helium "corridor".
46     * @return 0 otherwise.
47     */
48     int Check(PamLevel2 *event);
49    
50     private:
51    
52 pam-fi 1.2 bool _standAlone;
53 pam-fi 1.1 };
54    
55     #endif /* TOFDEDXHECUT_H_ */

  ViewVC Help
Powered by ViewVC 1.1.23