--- PamCut/TrkCuts/TrkPhSinCut/TrkPhSinCut.h 2009/05/27 13:30:08 1.1.1.1 +++ PamCut/TrkCuts/TrkPhSinCut/TrkPhSinCut.h 2015/03/25 17:38:08 1.2 @@ -19,17 +19,35 @@ class TrkPhSinCut: public PamCut { public: - + /*! @brief Constructor. * * @param cutName The cut's name. + * @param trkAlg The tracking algorythm used to check the track. * @param sortingMethod The sorting method to be used to select the track. + * In order to perform consistent tracking cuts, the same tracking algorythm should be set in subsequent cuts + * ("STD","EXT","EXTF","NUCSTD","NUCEXT","NUCEXTF") */ - TrkPhSinCut(const char *cutName, const char *sortingMethod) : - PamCut(cutName), _sortingMethod(sortingMethod) { - } + TrkPhSinCut(const char *cutName, const char *alg, const char *sortingMethod) : + PamCut(cutName), trkAlg(alg), _sortingMethod(sortingMethod) { + +// pamTrack = new PamTrack(); + + } + +/* /\*! @brief Constructor. */ +/* * */ +/* * @param cutName The cut's name. */ +/* * @param sortingMethod The sorting method to be used to select the track. */ +/* * (standard tracking algorythm is assumed) */ +/* *\/ */ +/* TrkPhSinCut(const char *cutName, const char *sortingMethod) : */ +/* PamCut(cutName), _sortingMethod(sortingMethod) { */ +/* _trkAlg = "STD"; */ +/* } */ + /*! @brief Destructor. */ - ~TrkPhSinCut() { + ~TrkPhSinCut() { } /*! @brief The single physical track check. @@ -41,19 +59,14 @@ */ int Check(PamLevel2 *event); - int iTrackTof; ///< TOF_index for TRK-track for the last good event. + const char *trkAlg;///