]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/BASE/AliHLTGlobalTriggerDecision.h
Installation of additional header
[u/mrichter/AliRoot.git] / HLT / BASE / AliHLTGlobalTriggerDecision.h
index 512de8b8b30087ae70af7acff42d53bf72105134..96a89cd08c83b5de2a22be6c3ba09180d50e1056 100644 (file)
@@ -219,6 +219,33 @@ class AliHLTGlobalTriggerDecision : public AliHLTTriggerDecision
    */
   virtual void Clear(Option_t* option = "C");
   
+  /**
+   * Finds a named input object from the list of contributing triggers and other input objects.
+   * i.e. Both the arrays returned by TriggerInputs() and InputObjects() will be searched,
+   * but the contributing triggers will be searched first.
+   * \param  name  The name of the object to match as returned by the objects GetName() method.
+   * \returns a pointer to the object found or NULL if none was found.
+   * The method is inherited from TObject.
+   */
+  virtual /*const*/ TObject* FindObject(const char* name) const;
+  
+  /**
+   * Finds a matching object from the list of contributing triggers and other input objects
+   * by comparing the given object to objects in the lists with the IsEqual() method.
+   * i.e. Both the arrays returned by TriggerInputs() and InputObjects() will be searched,
+   * but the contributing triggers will be searched first.
+   * \param  obj  The object to match to with the IsEqual() method.
+   * \returns a pointer to the object found or NULL if none was found.
+   * The method is inherited from TObject.
+   */
+  virtual /*const*/ TObject* FindObject(const TObject* obj) const;
+  
+  /**
+   * This method is called in the streamer to mark the entries in
+   * fInputObjects as owned and deletable.  MUST be public for
+   * streamer evolution to work.
+   */
+  void MarkInputObjectsAsOwned();
  private:
   
   /**
@@ -227,6 +254,7 @@ class AliHLTGlobalTriggerDecision : public AliHLTTriggerDecision
    */
   void DeleteInputObjects();
   
+  
   TClonesArray fContributingTriggers;  /// The list of contributing trigger decisions from all AliHLTTrigger components that were considered.
   TObjArray fInputObjects;  /// The list of other input objects.
   TArrayL64 fCounters;  /// Event trigger counters. One counter for each trigger class in the global trigger.