*/
AliForwardMCMultiplicityTask();
/**
- * Copy constructor
- *
- * @param o Object to copy from
+ * @{
+ * @name Interface methods
*/
- AliForwardMCMultiplicityTask(const AliForwardMCMultiplicityTask& o);
/**
- * Assignment operator
- *
- * @param o Object to assign from
+ * Called before processing a single event - should not do anything
+ * but clear data, etc.
*
- * @return Reference to this object
- */
- AliForwardMCMultiplicityTask&
- operator=(const AliForwardMCMultiplicityTask& o);
- /**
- * @{
- * @name Interface methods
+ * @return true on success
*/
+ virtual Bool_t PreEvent();
/**
* Process each event
*
- * @param option Not used
+ * @param esd ESD event
*/
- virtual void UserExec(Option_t* option);
+ virtual Bool_t Event(AliESDEvent& esd);
/**
* @}
*/
* @}
*/
protected:
+ /**
+ * Copy constructor
+ *
+ * @param o Object to copy from
+ */
+ AliForwardMCMultiplicityTask(const AliForwardMCMultiplicityTask& o);
+ /**
+ * Assignment operator
+ *
+ * @param o Object to assign from
+ *
+ * @return Reference to this object
+ */
+ AliForwardMCMultiplicityTask&
+ operator=(const AliForwardMCMultiplicityTask& o);
/**
* Initialize members based on eta and vertex axis - only available
* after first event - called from SetupForData.
* @param pe @f$\eta@f$ axis
* @param pv Interaction point Z-coordinate axis
*/
- virtual void InitMembers(const TAxis* pe, const TAxis* pv);
+ virtual void InitMembers(const TAxis& pe, const TAxis& pv);
/**
* Create output branches - called from UserCreateOutputObjects
*/