#ifndef ALIHLTOUTDIGITREADER_H
#define ALIHLTOUTDIGITREADER_H
-//* This file is property of and copyright by the ALICE HLT Project *
+//* This file is property of and copyright by the *
//* ALICE Experiment at CERN, All rights reserved. *
-//* See cxx source for full Copyright notice */
+//* See cxx source for full Copyright notice *
-/** @file AliHLTOUTDigitReader.h
- @author Matthias Richter
- @date
- @brief HLTOUT data wrapper for simulated AliRoot HLT digit data.
-*/
+/// @file AliHLTOUTDigitReader.h
+/// @author Matthias Richter
+/// @date
+/// @brief HLTOUT data wrapper for simulated AliRoot HLT digit data.
+///
#include "AliHLTOUTHomerCollection.h"
+#include "TString.h"
class AliRawReader;
class AliHLTHOMERReader;
*/
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();
Bool_t ReadNextData(UChar_t*& data);
int Reset();
int GetDataSize();
- const AliRawDataHeader* GetDataHeader();
+ AliHLTCDHWrapper GetDataHeader();
void SelectEquipment(int equipmentType, int minEquipmentId = -1, int maxEquipmentId = -1);
int GetEquipmentId();
*/
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
/** number of DDL objects -> size of the arrays */
int fNofDDLs; //!transient
- /** current position in the array */
- int fCurrent; //!transient
+ /** current position in the array of DDLs*/
+ int fCurrentLink; //!transient
ClassDef(AliHLTOUTDigitReader, 0)
};