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

Diff of /PamCut/CaloCuts/CaloNotIntCut/CaloNotIntCut.h

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

revision 1.1 by pam-fi, Wed May 27 13:30:09 2009 UTC revision 1.2 by pam-fi, Tue Oct 27 18:20:18 2009 UTC
# Line 15  Line 15 
15    
16  /*! @brief The non-interacting track cut.  /*! @brief The non-interacting track cut.
17   * This check discards all the events who interacts in the calorimeter. It is possible to choose the track to use for   * This check discards all the events who interacts in the calorimeter. It is possible to choose the track to use for
18   * the check. To improve computation speed, Check does NOT computes the track for the event; the track information   * the check. To improve computation speed, Check does NOT compute the track for the event; the track information
19   * is supposed to lie in some external object, whose address has to be passed to the constructor. The user is then   * is supposed to lie in some external object, whose address has to be passed to the constructor. The user is then
20   * demanded to fill this external object with the proper track information for the current event before calling Check   * demanded to fill this external object with the proper track information for the current event before calling Check
21   * or ApplyCut.   * or ApplyCut.
22   * Currently, only the check with the calorimeter track is implemented.   * Currently, the checks with the calorimeter L2 track and with CaloAxis track are implemented.
23   *   *
24   * CUT DEPENDENCIES: CaloTrackCut for the existence of the track (it can also provide the CaloAxis objects).   * CUT DEPENDENCIES: CaloTrackCut for the existence of the track (it can also provide the CaloAxis objects).
25   */   */
# Line 27  Line 27 
27  class CaloNotIntCut: public PamCut {  class CaloNotIntCut: public PamCut {
28    
29  public:  public:
30    /*! @brief Constructor for tracker track.    /*! @brief Constructor for calorimeter L2 track.
31     * Use this constructor if you want to use the tracker track to perform the     * Use this constructor if you want to use the L2 calorimeter track to perform the
32     * non-interaction check.     * non-interaction check.
33     *     *
    * NOTE: Check() for this constructor is not implemented yet.  
    *  
34     * @param cutName The name of the cut.     * @param cutName The name of the cut.
35     * @param trkTrack Pointer to the tracker track object.     * @param pamTrack Pointer to the Pamela track object.
36     * * @param qRatioMin The minimum threshold for the ratio between track charge and total charge in CALO.     * @param qRatioMin The minimum threshold for the ratio between track charge and total charge in CALO.
37     */     */
38    CaloNotIntCut(const char *cutName, TrkTrack *trkTrack, float qRatioMin=0.8) :    CaloNotIntCut(const char *cutName, PamTrack *pamTrack, float qRatioMin=0.8) :
39      PamCut(cutName), _trkTrack(trkTrack), _xCaloAxis(NULL), _yCaloAxis(NULL), _qRatioMin(qRatioMin) {      PamCut(cutName), _pamTrack(pamTrack), _xCaloAxis(NULL), _yCaloAxis(NULL), _qRatioMin(qRatioMin) {
40    }    }
41    
42    /*! @brief Constructor for calorimeter track.    /*! @brief Constructor for calorimeter track.
43     * Use this constructor if you want to use the calorimeter track to perform the     * Use this constructor if you want to use the CaloAxis track to perform the
44     * non-interaction check.     * non-interaction check.
45     *     *
46     * @param cutName The name of the cut.     * @param cutName The name of the cut.
# Line 52  public: Line 50  public:
50     * @return     * @return
51     */     */
52    CaloNotIntCut(const char *cutName, CaloAxis *xCaloAxis, CaloAxis *yCaloAxis, float qRatioMin=0.8) :    CaloNotIntCut(const char *cutName, CaloAxis *xCaloAxis, CaloAxis *yCaloAxis, float qRatioMin=0.8) :
53      PamCut(cutName), _trkTrack(NULL), _xCaloAxis(xCaloAxis), _yCaloAxis(yCaloAxis), _qRatioMin(qRatioMin) {      PamCut(cutName), _pamTrack(NULL), _xCaloAxis(xCaloAxis), _yCaloAxis(yCaloAxis), _qRatioMin(qRatioMin) {
54    }    }
55    
56    //TODO: aggiungere il costruttore per il TOF.    //TODO: aggiungere il costruttore per il TOF.
# Line 72  public: Line 70  public:
70    
71  private:  private:
72    
73    TrkTrack *_trkTrack;    PamTrack *_pamTrack;
74    CaloAxis *_xCaloAxis, *_yCaloAxis;    CaloAxis *_xCaloAxis, *_yCaloAxis;
75    float _qRatioMin;    float _qRatioMin;
76    

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

  ViewVC Help
Powered by ViewVC 1.1.23