]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/rec/AliHLTReconstructor.h
- AliHLTReconstructor: added helper functions to run HLTOUT processing stand alone
[u/mrichter/AliRoot.git] / HLT / rec / AliHLTReconstructor.h
index 3fad1a6fb32e32092116da5a3cdeddcda7f762f0..725ca6abe97af35568d0938497da8b96f5f11469 100644 (file)
@@ -52,13 +52,19 @@ class AliHLTEsdManager;
  */
 class AliHLTReconstructor: public AliReconstructor, public AliHLTReconstructorBase {
 public:
+  /** standard constructor */
   AliHLTReconstructor();
+  /** constructor */
+  AliHLTReconstructor(const char* options);
   /** destructor */
   virtual ~AliHLTReconstructor();
 
   /** init the reconstructor */
   void Init();
 
+  /** init the reconstructor */
+  void Init(const char* options);
+
   /**
    * This Reconstructor function is not applicable for the AliHLTReconstructor
    * as it gets a detector specific digits tree. But HLT processes all detectors.
@@ -103,6 +109,33 @@ public:
    */
   void ProcessHLTOUT(AliHLTOUT* pHLTOUT, AliESDEvent* esd) const;
 
+  /**
+   * Process HLTOUT data.
+   * Open digit file and process the HLTOUT digit data.
+   * This function is mostly intended for debugging purposes and stand-alone
+   * processing of the output from the simulation. Loops over all events.
+   * @param digitFile        path of the digit file
+   * @param pEsd             optional ESD to be filled
+   */
+  void ProcessHLTOUT(const char* digitFile="HLT.Digits.root", AliESDEvent* pEsd=NULL) const;
+
+  /**
+   * Process HLTOUT data.
+   * Process the HLTOUT from the raw reader.
+   * This function is mostly intended for debugging purposes and stand-alone
+   * processing of simulated or real raw data. 
+   * \em Note: Loops over all events, i.e. the current event of the the raw
+   * reader will change. Not to be called inside the normal AliRoot processsing.
+   * @param pRawReader       raw reader instance
+   * @param pEsd             optional ESD to be filled
+   */
+  void ProcessHLTOUT(AliRawReader* pRawReader, AliESDEvent* pEsd=NULL) const;
+
+  /**
+   * Print a short info about the HLTOUT content.
+   */
+  void PrintHLTOUTContent(AliHLTOUT* pHLTOUT) const;
+
 private:
   /** copy constructor prohibited */
   AliHLTReconstructor(const AliHLTReconstructor& src);