X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=HLT%2Frec%2FAliHLTOUTDigitReader.h;h=37363b97986669d33c10025fa7a55ddd41884564;hb=a442ba54eec09aefeb47087fd788ee50f55cd1ba;hp=0d5756e7e3df2ff4e08b3f7f673de8d3f5aa0707;hpb=c512382464cdd8bfcef9d34c7134cd9d9376f9f5;p=u%2Fmrichter%2FAliRoot.git diff --git a/HLT/rec/AliHLTOUTDigitReader.h b/HLT/rec/AliHLTOUTDigitReader.h index 0d5756e7e3d..37363b97986 100644 --- a/HLT/rec/AliHLTOUTDigitReader.h +++ b/HLT/rec/AliHLTOUTDigitReader.h @@ -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