+ /**
+ * Align all ESD to the same number of events.
+ * The function adds empty events to all ESD files if their event number
+ * does not match the specified one.
+ * @param eventno the desired event no
+ * @return neg. error code if failed
+ */
+ int PadESDs(int eventno);
+
+ /**
+ * Set the target directory for the ESD files.
+ */
+ void SetDirectory(const char* directory);
+
+ /**
+ * Get the list of the internally created files.
+ * Returns a blank separated list of the file names.
+ */
+ TString GetFileNames(AliHLTComponentDataType dt=kAliHLTAnyDataType) const;
+
+ /**
+ * Embed an ESD into a TTree object.
+ * The tree object needs to be deleted by the caller.
+ */
+ static TTree* EmbedIntoTree(AliESDEvent* pESD, const char* name="esdTree", const char* title="Tree with HLT ESD objects");
+