LCOV - code coverage report
Current view: top level - STEER/STEERBase - AliDummyHandler.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 6 16.7 %
Date: 2016-06-14 17:26:59 Functions: 1 10 10.0 %

          Line data    Source code
       1             : #ifndef ALIDUMMYINPUTHANDLER_H
       2             : #define ALIDUMMYINPUTHANDLER_H
       3             : /* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
       4             :  * See cxx source for full Copyright notice                               */
       5             : 
       6             : /* $Id: AliDummyHandler.h 58219 2012-08-17 14:18:19Z agheata $ */
       7             : 
       8             : //-------------------------------------------------------------------------
       9             : //     Dummy implementation of the input handler e.g. for the case of event-loop steered analysis
      10             : //     Author: Andrei Gheata, Jan Fiete Grosse-Oetringhaus
      11             : //-------------------------------------------------------------------------
      12             : 
      13             : #include "AliInputEventHandler.h"
      14             : 
      15             : class AliDummyHandler : public AliInputEventHandler {
      16             : 
      17             :  public:
      18             :     AliDummyHandler();
      19             :     AliDummyHandler(const char* name, const char* title);
      20             :     virtual ~AliDummyHandler();
      21           0 :     virtual Bool_t       Init(Option_t* opt) { return AliInputEventHandler::Init(opt); }
      22           0 :     virtual Bool_t Init(TTree* tree, Option_t* /*opt*/) { fTree = tree; return kTRUE; }
      23           0 :     Option_t            *GetDataType() const { return "MC"; }
      24             : 
      25           0 :     void                 SetEvent(AliVEvent *e)  { fEvent = e; } 
      26           0 :     AliVEvent           *GetEvent()        const {return fEvent;}
      27             : 
      28             :  protected:
      29             :     AliVEvent    *fEvent;         // Pointer to the event
      30             : 
      31             :  private:
      32             :     AliDummyHandler(const AliDummyHandler& handler);             
      33             :     AliDummyHandler& operator=(const AliDummyHandler& handler);  
      34             : 
      35         176 :     ClassDef(AliDummyHandler, 3);
      36             : };
      37             : 
      38             : #endif

Generated by: LCOV version 1.11