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 */
6 /* $Id: AliDummyHandler.h 58219 2012-08-17 14:18:19Z agheata $ */
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 //-------------------------------------------------------------------------
13 #include "AliInputEventHandler.h"
15 class AliDummyHandler : public AliInputEventHandler {
19 AliDummyHandler(const char* name, const char* title);
20 virtual ~AliDummyHandler();
21 virtual Bool_t Init(Option_t* opt) { return AliInputEventHandler::Init(opt); }
22 virtual Bool_t Init(TTree* tree, Option_t* /*opt*/) { fTree = tree; return kTRUE; }
23 Option_t *GetDataType() const { return "MC"; }
26 AliDummyHandler(const AliDummyHandler& handler);
27 AliDummyHandler& operator=(const AliDummyHandler& handler);
29 ClassDef(AliDummyHandler, 1);