/[PAMELA software]/PamCut/PamCutBase/PamCutBase.h
ViewVC logotype

Diff of /PamCut/PamCutBase/PamCutBase.h

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

revision 1.2 by pam-fi, Fri May 29 10:10:28 2009 UTC revision 1.4 by pam-fi, Wed Jun 17 12:58:00 2009 UTC
# Line 197  public: Line 197  public:
197     *  Like in the mother class, this method performs a basic check on the current event: it calls     *  Like in the mother class, this method performs a basic check on the current event: it calls
198     *  Check() for each cut previously added with AddCut(), exiting if one of them is not satisfied.     *  Check() for each cut previously added with AddCut(), exiting if one of them is not satisfied.
199     *     *
200       *  @param event The event to analyze.
201     *  @return the index of the failed cut (range: [0, \#cuts-1], see AddCut()); #CUTOK if the event     *  @return the index of the failed cut (range: [0, \#cuts-1], see AddCut()); #CUTOK if the event
202     *  satisfies all the cuts.     *  satisfies all the cuts.
203     */     */
# Line 223  public: Line 224  public:
224     * */     * */
225    PamCut *GetCut(unsigned int iCut);    PamCut *GetCut(unsigned int iCut);
226    
227      /*! @brief Searches for a cut by name.
228       *
229       *  The return value of this method is a pointer to a PamCut object; hence, to use the specific method of
230       *  derived cuts it must be cast to the proper cut class.
231       *
232       * @param cutName The name of the cut to search for.
233       *  @return pointer to the iCut-th cut; NULL if the specified cut cannot be found or if no cuts are present.
234       * */
235      PamCut *GetCut(const char *cutName);
236    
237    /*! @brief The number of cuts contained in the collection.    /*! @brief The number of cuts contained in the collection.
238     *     *
239     * @return The number of cuts     * @return The number of cuts

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

  ViewVC Help
Powered by ViewVC 1.1.23