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

Diff of /PamCut/TrkCuts/TrkPhSinCut/TrkPhSinCut.h

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

revision 1.1 by pam-fi, Wed May 27 13:30:08 2009 UTC revision 1.2 by pam-fi, Wed Mar 25 17:38:08 2015 UTC
# Line 19  Line 19 
19  class TrkPhSinCut: public PamCut {  class TrkPhSinCut: public PamCut {
20    
21  public:  public:
22        
23    /*! @brief Constructor.    /*! @brief Constructor.
24     *     *
25     * @param cutName The cut's name.     * @param cutName The cut's name.
26       * @param trkAlg        The tracking algorythm used to check the track.
27     * @param sortingMethod The sorting method to be used to select the track.     * @param sortingMethod The sorting method to be used to select the track.
28       * In order to perform consistent tracking cuts, the same tracking algorythm should be set in subsequent cuts
29       * ("STD","EXT","EXTF","NUCSTD","NUCEXT","NUCEXTF")
30     */     */
31    TrkPhSinCut(const char *cutName, const char *sortingMethod) :      TrkPhSinCut(const char *cutName, const char *alg, const char *sortingMethod) :
32      PamCut(cutName), _sortingMethod(sortingMethod) {          PamCut(cutName), trkAlg(alg), _sortingMethod(sortingMethod) {
33    }  
34    //      pamTrack = new PamTrack();
35    
36        }
37    
38    /*   /\*! @brief Constructor. */
39    /*    * */
40    /*    * @param cutName The cut's name. */
41    /*    * @param sortingMethod The sorting method to be used to select the track. */
42    /*    * (standard tracking algorythm is assumed) */
43    /*    *\/ */
44    /*     TrkPhSinCut(const char *cutName, const char *sortingMethod) : */
45    /*      PamCut(cutName), _sortingMethod(sortingMethod) { */
46    /*      _trkAlg = "STD"; */
47    /*     } */
48            
49    /*! @brief Destructor. */    /*! @brief Destructor. */
50    ~TrkPhSinCut() {     ~TrkPhSinCut() {
51    }    }
52    
53    /*! @brief The single physical track check.    /*! @brief The single physical track check.
# Line 41  public: Line 59  public:
59     */     */
60    int Check(PamLevel2 *event);    int Check(PamLevel2 *event);
61    
62    int iTrackTof; ///< TOF_index for TRK-track for the last good event.    const char *trkAlg;///<Tracking algorythm
63    
   /*! @brief The TrkTrack for the last good event.  
    *  
    * When this cut checks an event, it stores its TrkTrack (selected according to the specified sortingMethod). This can then be used by successive cuts.  
    */  
   TrkTrack *trkTrack;  
64    
65    /*! @brief The PamTrack for the last good event.    /*! @brief The PamTrack for the last good event.
66     *     *
67     * When this cut checks an event, it stores its PamTrack (selected according to the specified sortingMethod). This can then be used by successive cuts.     * When this cut checks an event, it stores its PamTrack (selected according to the specified sortingMethod). This can then be used by successive cuts.
68     */     */
69    PamTrack *pamTrack;  //  PamTrack *pamTrack;
70    
71  private:  private:
72    

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

  ViewVC Help
Powered by ViewVC 1.1.23