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

Diff of /PamCut/TrkCuts/TrkYSensCut/TrkYSensCut.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by pam-fi, Thu May 6 17:08:02 2010 UTC revision 1.1.2.1 by pam-fi, Thu May 6 17:08:02 2010 UTC
# Line 0  Line 1 
1    /*
2     * TrkRigCut.h
3     *
4     *  Created on: 09-apr-2010
5     *      Author: S. Ricciarini
6     */
7    
8    /*! @file TrkYSensCut.h The TrkYSensCut class definition file */
9    
10    #ifndef TRKYSENSCUT_H_
11    #define TRKYSENSCUT_H_
12    
13    #include "../../PamCutBase/PamCutBase.h"
14    
15    /*! @brief The TRK Y sensor cut.
16     * This cut selects only events for which the TRK hit sensor id. sensorId.
17     */
18    class TrkYSensCut: public PamCut {
19    
20    public:
21      /*! @brief Constructor.
22       *
23       * @param cutName The cut's name.
24       * @param sensor The TRK sensor id. along Y (0-1 for increasing Y)
25       */
26      TrkYSensCut(const char *cutName, Int_t sensorId) :
27        PamCut(cutName), _sensorId(sensorId) {
28      }
29      /*! @brief Destructor. */
30      ~TrkYSensCut() {
31      }
32    
33      /*! @brief The rigidity check.
34       *
35       * @param event The event to analyze.
36       * @return #CUTOK if the rigidity is greater than the threshold
37       * @return 0 otherwise.
38       */
39      int Check(PamLevel2 *event);
40    
41    private:
42    
43      Int_t _sensorId;
44    
45    };
46    #endif /* TRKYSENSCUT_H_ */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.2.1

  ViewVC Help
Powered by ViewVC 1.1.23