]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/rec/AliHLTOUTDigitReader.h
bug https://savannah.cern.ch/bugs/?69885
[u/mrichter/AliRoot.git] / HLT / rec / AliHLTOUTDigitReader.h
index 0d5756e7e3df2ff4e08b3f7f673de8d3f5aa0707..37363b97986669d33c10025fa7a55ddd41884564 100644 (file)
@@ -14,6 +14,7 @@
 */
 
 #include "AliHLTOUTHomerCollection.h"
+#include "TString.h"
 
 class AliRawReader;
 class AliHLTHOMERReader;
@@ -27,8 +28,8 @@ class TArrayC;
  */
 class AliHLTOUTDigitReader : public AliHLTOUTHomerCollection {
  public:
-  /** standard constructor */
-  AliHLTOUTDigitReader(int event=-1, AliHLTEsdManager* pEsdManager=NULL);
+  /** constructor */
+  AliHLTOUTDigitReader(int event=-1, AliHLTEsdManager* pEsdManager=NULL, const char* digitFile="HLT.Digits.root");
   /** destructor */
   virtual ~AliHLTOUTDigitReader();
 
@@ -60,6 +61,22 @@ class AliHLTOUTDigitReader : public AliHLTOUTHomerCollection {
    */
   int CloseTree();
 
+  /**
+   * Set the RunLoader as parameter
+   * The function is for internal use only in conjunction with the
+   * AliHLTOUT::New() functions.
+   */
+  void SetParam(TTree* pDigitTree, int event=-1);
+
+  /**
+   * Set name of the digit file as parameter
+   * Overloaded from AliHLTOUT
+   */ 
+  void SetParam(const char* filename, int event=-1);
+
+  /** name of the digit file */
+  TString fDigitFileName; //! transient
+
   /** the root file for the HLT 'digit' output */
   TFile* fpDigitFile; //!transient