]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/BASE/util/AliHLTFileWriter.h
- introduced module Ids for agents
[u/mrichter/AliRoot.git] / HLT / BASE / util / AliHLTFileWriter.h
index 8ab5de342f93e107c40c25841777518eb4d48354..14cdff22e2e7b8d67bb968b04f22044c223d42a9 100644 (file)
@@ -172,6 +172,16 @@ class AliHLTFileWriter : public AliHLTDataSink  {
    */
   int CheckMode(Short_t mode) const;
 
+  /**
+   * Get the currently set file extension.
+   */
+  TString GetExtension() {return fExtension;}
+
+  /**
+   * Set the file extension.
+   */
+  void SetExtension(const char* extension) {fExtension=extension!=NULL?extension:"";}
+
   /**
    * Working modes of the writer
    * @internal