/[PAMELA software]/PamCut/Collections/SmartCollection/SmartCollection.h
ViewVC logotype

Diff of /PamCut/Collections/SmartCollection/SmartCollection.h

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

revision 1.7 by pam-fi, Tue Oct 27 10:24:00 2009 UTC revision 1.8 by pam-fi, Mon Sep 5 13:00:41 2011 UTC
# Line 50  public: Line 50  public:
50     *             destroy them in its destructor.     *             destroy them in its destructor.
51     */     */
52    SmartCollection(const char* collectionName, bool owns = true) :    SmartCollection(const char* collectionName, bool owns = true) :
53      PamCutCollection(collectionName, owns), _actions(0) {        PamCutCollection(collectionName, owns), _actions(0) {
54    }    }
55    
56    /*! @brief Destructor. */    /*! @brief Destructor. */
# Line 82  public: Line 82  public:
82      return _actions.size();      return _actions.size();
83    }    }
84    
85      /*! @brief The position of specified action.
86       *
87       * This method returns the position of the iAction-th action. For every action
88       * placed before the first cut this will return -1. Otherwise it will return the index
89       * of the cut preceding the action (eg., if action number 3 is after cut number 2,  GetActionPosition(3)
90       * will return 2)
91       *
92       * @param iAction The index of the action (0 = first action)
93       * @return The position of the specified action
94       */
95      int GetActionPosition(unsigned int iAction) {
96        return _actionsPositions[iAction];
97      }
98    
99    /*! @brief The pre-analysis task definition.    /*! @brief The pre-analysis task definition.
100     *     *
101     * This override of the Setup() method calls Setup() for the base class PamCutCollection, and subsequently for each     * This override of the Setup() method calls Setup() for the base class PamCutCollection, and subsequently for each

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.23