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

Contents of /PamCut/TofCuts/TofDedxS1Cut/TofDedxS1Cut.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Sep 5 13:41:04 2011 UTC (13 years, 2 months ago) by pam-fi
Branch: MAIN
CVS Tags: V9, HEAD
Changes since 1.1: +13 -13 lines
File MIME type: text/plain
Cut reworked.

The cut has been reworked. It now does a simple dEdx_<S1> vs R check to cut away particles heavier that protons. The computation of mean energy release on S1 has been patched to exclude PMT 9 (S115b) which gives non-reliable values for dEdx.

1 /*
2 * TofDedxS1Cut.h
3 *
4 * Created on: 13-mar-2009
5 * Author: Nicola Mori, S. Ricciarini
6 * Reworked on: 21-jul-2011
7 * Author: Nicola Mori, Valeria Di Felice
8 */
9
10 /*! @file TofDedxS1Cut.h The TofDedxS1Cut class definition file */
11
12 #ifndef TOFDEDXS1CUT_H_
13 #define TOFDEDXS1CUT_H_
14
15 #include "../../PamCutBase/PamCutBase.h"
16
17
18 /*! @brief A cut on energy release on S1.
19 *
20 * This cut discards events whose mean dE/dx on S11+S12 is greater than a specified functional form.
21 * Currently, this functional form is:
22 *
23 * <dE/dx> < (3.102 - 2.6*TMath::Log(R))*(R<1.05) + 3.*(R=1.05)
24 *
25 * Since this cut uses the rigidity, it is necessary to enforce the existence of a physical track
26 * using #TrkPhsinCut before using this cut.
27 */
28
29 class TofDedxS1Cut: public PamCut {
30
31 public:
32 /*! @brief Constructor.
33 *
34 * @param cutName The cut's name.
35 *
36 */
37 TofDedxS1Cut(const char *cutName):
38 PamCut(cutName){
39 }
40 /*! @brief Destructor. */
41 ~TofDedxS1Cut() {
42 }
43
44 /*! @brief The TofDedxS1 check.
45 *
46 * @param event The event to analyze.
47 * @return #CUTOK if <dE/dx> is lesser that the threshold function.
48 * @return 0 otherwise
49 */
50 int Check(PamLevel2 *event);
51
52 private:
53
54 };
55
56 #endif /* TOFDEDXS1CUT_H_ */

  ViewVC Help
Powered by ViewVC 1.1.23