]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/BASE/util/AliHLTRootFilePublisherComponent.h
enhanced functionality to publish multiple equipment ids and insert empty blocks...
[u/mrichter/AliRoot.git] / HLT / BASE / util / AliHLTRootFilePublisherComponent.h
index 66b2d5eff6c68d4ded73672ea4d9ddf0f2c7c3e4..cac5b69f79859154d306163245d8e99d4383b94b 100644 (file)
@@ -3,7 +3,8 @@
 
 #ifndef ALIHLTROOTFILEPUBLISHERCOMPONENT_H
 #define ALIHLTROOTFILEPUBLISHERCOMPONENT_H
-/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+/* This file is property of and copyright by the ALICE HLT Project        * 
+ * ALICE Experiment at CERN, All rights reserved.                         *
  * See cxx source for full Copyright notice                               */
 
 /** @file   AliHLTRootFilePublisherComponent.h
 
 /**
  * @class AliHLTRootFilePublisherComponent
- * An HLT data source component which publishes data from one or a sequence
- * of files.<br>
+ * \Note: This component is not what it pretends to be. So far it was just
+ * used for debugging purpose. If you need a component like this make a
+ * feature request at                                                  <br>
+ * https://savannah.cern.ch/projects/alicehlt/
+ * and assign it to richterm.                                          <br>
+ * Any contributions are of course welcome.
  *
  * Component ID: \b RootFilePublisherComponent <br>
  * Library: \b libHLTBase (in order to use the component from the external
@@ -37,10 +42,6 @@ class AliHLTRootFilePublisherComponent : public AliHLTFilePublisher  {
  public:
   /** standard constructor */
   AliHLTRootFilePublisherComponent();
-  /** not a valid copy constructor, defined according to effective C++ style */
-  AliHLTRootFilePublisherComponent(const AliHLTRootFilePublisherComponent&);
-  /** not a valid assignment op, but defined according to effective C++ style */
-  AliHLTRootFilePublisherComponent& operator=(const AliHLTRootFilePublisherComponent&);
   /** destructor */
   virtual ~AliHLTRootFilePublisherComponent();
 
@@ -51,8 +52,8 @@ class AliHLTRootFilePublisherComponent : public AliHLTFilePublisher  {
 
   /**
    * Open all files.
-   * Opens all files from the file name list @ref fFileNames and adds TFile
-   * opjects to the TFiles list.
+   * Opens all files for all events from the event list @ref fEvents and adds TFile
+   * opjects to the internal list.
    */
   int OpenFiles();
 
@@ -65,17 +66,16 @@ class AliHLTRootFilePublisherComponent : public AliHLTFilePublisher  {
    * to use the low-level method.
    * @param evtData       event data structure
    * @param trigData     trigger data structure
-   * @param outputPtr    pointer to target buffer
-   * @param size         <i>input</i>: size of target buffer
-   *                     <i>output</i>:size of produced data
-   * @param outputBlocks  list to receive output block descriptors
+   * @param outputPtr     not used
+   * @param size          not used
+   * @param outputBlocks  not used
    * @return
    */
   int GetEvent( const AliHLTComponentEventData& evtData,
                AliHLTComponentTriggerData& trigData,
                AliHLTUInt8_t* outputPtr, 
                AliHLTUInt32_t& size,
-               vector<AliHLTComponentBlockData>& outputBlocks );
+               vector<AliHLTComponentBlockData>& outputBlocks);
 
   /**
    * Scan one argument and adjacent parameters.
@@ -91,6 +91,10 @@ class AliHLTRootFilePublisherComponent : public AliHLTFilePublisher  {
   virtual int ScanArgument(int argc, const char** argv);
 
  private:
+  /** copy constructor prohibited */
+  AliHLTRootFilePublisherComponent(const AliHLTRootFilePublisherComponent&);
+  /** assignment operator prohibited */
+  AliHLTRootFilePublisherComponent& operator=(const AliHLTRootFilePublisherComponent&);
 
   ClassDef(AliHLTRootFilePublisherComponent, 0)
 };