]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/BASE/AliHLTModuleAgent.h
Moving required CMake version from 2.8.4 to 2.8.8
[u/mrichter/AliRoot.git] / HLT / BASE / AliHLTModuleAgent.h
index ca1c8030363ff42de5e7c6572f37a4700bc3fc5d..0513a23faf3fbb13b331cf537f76190f736a3729 100644 (file)
@@ -67,6 +67,9 @@ class AliHLTModulePreprocessor;
  *
  * @section alihltmoduleagent_interface Agent interface
  * The child can implement the following functions:
+ * - @ref GetDetectorMask                                                   <br>
+ *       DetectorMask for which reconstruction is run.
+ *
  * - @ref CreateConfigurations                                              <br>
  *       Create HLT configuration forming an HLT analysis chain.            <br>
  *       Reconstruction of raw data or simulated data from digits needs
@@ -159,6 +162,11 @@ class AliHLTModuleAgent : public TObject, public AliHLTLogging {
    */
   int ActivateComponentHandler(AliHLTComponentHandler* pHandler);
 
+  /**
+   * Return detector mask for which reconstruction is run in this module.
+   */
+  virtual UInt_t GetDetectorMask() const;
+
   /**
    * Register all configurations belonging to this module with the
    * AliHLTConfigurationHandler. The agent can adapt the configurations
@@ -277,7 +285,8 @@ class AliHLTModuleAgent : public TObject, public AliHLTLogging {
     AliHLTOUTHandlerDesc(const AliHLTOUTHandlerDesc& src) 
       : fHType(src.fHType), fDt(src.fDt), fModule(src.fModule) {}
 
-    const AliHLTOUTHandlerDesc& operator=(const AliHLTOUTHandlerDesc& src) {
+    AliHLTOUTHandlerDesc& operator=(const AliHLTOUTHandlerDesc& src) {
+      if (this==&src) return *this;
       fHType=src.fHType; fDt=src.fDt; fModule=src.fModule; return *this;
     }
 
@@ -379,6 +388,13 @@ class AliHLTModuleAgent : public TObject, public AliHLTLogging {
     return GetReconstructionChains(NULL,runloader);
   }
 
+  /**
+   * Get current component handler
+   */
+  AliHLTComponentHandler* GetComponentHandler() const {
+    return fpComponentHandler;
+  }
+
  protected:
 
  private: