/[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.3 by pam-fi, Fri Jun 5 13:14:35 2009 UTC revision 1.6 by pam-fi, Fri Aug 14 10:31:48 2009 UTC
# Line 66  public: Line 66  public:
66     */     */
67    CollectionAction *GetAction(unsigned int iAction);    CollectionAction *GetAction(unsigned int iAction);
68    
69      /*! @brief Searches for an action by name.
70       *
71       * @param actionName The name of the action to search for.
72       * @return pointer to the desired action; NULL if the specified action cannot be found or if no actions are present.
73       */
74      CollectionAction *GetAction(const char *actionName);
75    
76      /*! @brief The number of actions in the collection.
77       *
78       * @return The number of actions currently in the collection.
79       */
80      unsigned int GetActionsSize(){
81        return _actions.size();
82      }
83    
84    /*! @brief The pre-analysis task definition.    /*! @brief The pre-analysis task definition.
85     *     *
86     * 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
# Line 93  public: Line 108  public:
108    
109  protected:  protected:
110    
111      /*! @brief The vector containing the actions */
112    std::vector<CollectionAction*> _actions;    std::vector<CollectionAction*> _actions;
113    
114      /*! The vector of actions' positions
115       *
116       * An action is placed after N cuts, so that the SmartCollection, after applying N cuts, has to
117       * perform the action. The numbers N for each action are stored here: the element i is N for the
118       * i-th action in #_actions.
119       */
120    std::vector<unsigned int> _actionsPositions;    std::vector<unsigned int> _actionsPositions;
121    
122  };  };

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.23