/[PAMELA software]/PamCut/CaloCuts/CaloTrackCut/CaloTrackCut.h
ViewVC logotype

Annotation of /PamCut/CaloCuts/CaloTrackCut/CaloTrackCut.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Wed May 27 13:30:09 2009 UTC (15 years, 6 months ago) by pam-fi
Branch: MAIN
Branch point for: DEV
File MIME type: text/plain
Initial revision

1 pam-fi 1.1 /*
2     * CaloTrackCut.h
3     *
4     * Created on: 17-mar-2009
5     * Author: Nicola Mori
6     */
7    
8     /*! @file CaloTrackCut.h The CaloTrackCut class definition file */
9    
10     #ifndef CALOTRACKCUT_H_
11     #define CALOTRACKCUT_H_
12    
13     #include "../../PamCutBase/PamCutBase.h"
14     #include "../../CaloAxis2.h"
15    
16     /*! @brief The calorimeter track cut.
17     * Checks for the existence of a track in the calorimeter, using the CaloAxis routine.
18     * WARNING: Check() assumes that level 1 data for the calorimeter exists.
19     */
20    
21     class CaloTrackCut: public PamCut {
22    
23     public:
24     /*! @brief Constructor.
25     *
26     * @param cutName The cut's name.
27     */
28     CaloTrackCut(const char *cutName) :
29     PamCut(cutName) {
30     }
31     /*! @brief Destructor. */
32     ~CaloTrackCut() {
33     }
34    
35     /*! @brief The calorimeter track check.
36     *
37     * @param event The event to analyze.
38     * @return #CUTOK if it is possible to identify a meaningful (chi2 > 0) track in the calorimeter.
39     * @return 0 otherwise.
40     */
41     int Check(PamLevel2 *event);
42    
43     /*!@{*/
44     /*! @brief The CaloAxis objects for the last track.
45     * These objects stores information about the track of the last examined event.
46     */
47     CaloAxis xCaloAxis;
48     CaloAxis yCaloAxis;
49     /*!@}*/
50     };
51    
52     #endif /* CALOTRACKCUT_H_ */

  ViewVC Help
Powered by ViewVC 1.1.23