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

Annotation of /PamCut/TrkCuts/TrkIonCut/TrkIonCut.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (download) (vendor branch)
Wed May 27 13:30:08 2009 UTC (15 years, 6 months ago) by pam-fi
Branch: DEV, MAIN
CVS Tags: v0r00, Root_V8, MergedToHEAD_1, nuclei_reproc, MergedFromV8_1, BeforeMergingFromV8_1, V9, HEAD
Branch point for: V8
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
First import

1 pam-fi 1.1 /*
2     * TrkIonCut.h
3     *
4     * Created on: 13-mar-2009
5     * Author: Nicola Mori, S. Ricciarini
6     */
7    
8     /*! @file TrkIonCut.h The TrkIonCut class definition file */
9    
10     #ifndef TRKIONCUT_H_
11     #define TRKIONCUT_H_
12    
13     #include "../../PamCutBase/PamCutBase.h"
14    
15     /*! @brief The tracker ionization cut.
16     * Cut on dE/dx to select MIP.
17     * CUT DEPENDENCIES: TrkPhysSin for object trkTrack
18     */
19    
20     class TrkIonCut: public PamCut {
21    
22     public:
23     /*! @brief Constructor.
24     *
25     * @param cutName The cut's name.
26     * @param maxRelease The maximum mean ionization (in MIP) in the tracker planes above which an event is discarded. Default: 3.
27     * @param minRelease The minimum mean ionization (in MIP) in the tracker planes below which an event is discarded. Default: 0.
28     */
29     TrkIonCut(const char *cutName, float maxRelease = 3., float minRelease = 0.) :
30     PamCut(cutName), _maxRelease(maxRelease), _minRelease(minRelease) {
31     }
32     /*! @brief Destructor. */
33     ~TrkIonCut() {
34     }
35    
36     /*! @brief The tracker ionization check.
37     *
38     * If the mean energy release in the tracker planes in MIP is greater
39     * than the threshold (constructor's parameter) the event is discarded.
40     * @param event The event to analyze.
41     * @return #CUTOK if mean dE/dx is less than maxRelease and more than minRelease.
42     * @return 0 otherwise.
43     */
44     int Check(PamLevel2 *event);
45    
46     private:
47    
48     float _maxRelease, _minRelease;
49    
50     };
51     #endif /* TRKIONCUT_H_ */

  ViewVC Help
Powered by ViewVC 1.1.23