LCOV - code coverage report
Current view: top level - HLT/BASE/util - AliHLTFXSFileWriter.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 1 100.0 %
Date: 2016-06-14 17:26:59 Functions: 1 5 20.0 %

          Line data    Source code
       1             : // -*- Mode: C++ -*-
       2             : // $Id$
       3             : 
       4             : #ifndef ALIHLTFXSFILEWRITER_H
       5             : #define ALIHLTFXSFILEWRITER_H
       6             : //* This file is property of and copyright by the                          * 
       7             : //* ALICE Experiment at CERN, All rights reserved.                         *
       8             : //* See cxx source for full Copyright notice                               *
       9             : 
      10             : /// @file   AliHLTFXSFileWriter.h
      11             : /// @author Timo Breitner
      12             : /// @date   
      13             : /// @brief  An HLT FXS file dump (data sink) component.
      14             : ///
      15             : 
      16             : #include "AliHLTDataSink.h"
      17             : #include <TString.h>
      18             : 
      19             : class AliHLTFXSFileWriter : public AliHLTDataSink  {
      20             :  public:
      21             :   /** standard constructor */
      22             :   AliHLTFXSFileWriter();
      23             :   /** destructor */
      24             :   virtual ~AliHLTFXSFileWriter();
      25             : 
      26             :   virtual const char* GetComponentID();
      27             :   virtual void GetInputDataTypes( AliHLTComponentDataTypeList& list);
      28             :   virtual AliHLTComponent* Spawn();
      29             : 
      30             :   static const Int_t gkCalibObjectMaxVersion;
      31             : 
      32             :  protected:
      33             :   /**
      34             :    * Init method.
      35             :    */
      36             :   int DoInit( int argc, const char** argv );
      37             : 
      38             :   /**
      39             :    * Data processing method for the component.
      40             :    * The function can be overloaded by other file writer components.
      41             :    * @param evtData       event data structure
      42             :    * @param trigData      trigger data structure
      43             :    */
      44             :   virtual int DumpEvent( const AliHLTComponentEventData& evtData,
      45             :                          AliHLTComponentTriggerData& trigData );
      46             : 
      47             :   /**
      48             :    * Get the target directory
      49             :    */
      50             :   TString GetDirectory() {return fDirectory;}
      51             : 
      52             : 
      53             :  private:
      54             :   /** copy constructor prohibited */
      55             :   AliHLTFXSFileWriter(const AliHLTFXSFileWriter&);
      56             :   /** assignment operator prohibited */
      57             :   AliHLTFXSFileWriter& operator=(const AliHLTFXSFileWriter&);
      58             : 
      59             :   /** target directory */
      60             :   TString    fDirectory;                                           // see above
      61             :   /** base name of the event sub directories */
      62             :   
      63           8 :   ClassDef(AliHLTFXSFileWriter, 0)
      64             : };
      65             : #endif

Generated by: LCOV version 1.11