source: JEM-EUSO/esaf_cc_at_lal/packages/reconstruction/input/include/TestInputModule.hh @ 114

Last change on this file since 114 was 114, checked in by moretto, 11 years ago

actual version of ESAF at CCin2p3

File size: 910 bytes
Line 
1// ESAF : Euso Simulation and Analysis Framework
2// $Id: TestInputModule.hh 2637 2006-03-29 14:29:36Z thea $
3// Marco Pallavicini created Oct, 16 2003
4
5#ifndef __TESTINPUTMODULE_HH_
6#define __TESTINPUTMODULE_HH_
7
8#include "euso.hh"
9#include "InputModule.hh"
10class RecoRootEvent;
11
12class TestInputModule : public InputModule {
13public:
14    // ctor
15    TestInputModule(const string&);
16
17    // dtor
18    virtual ~TestInputModule();
19
20    // returns one event until event source is empty
21    virtual RecoEvent* GetEvent( const char* = 0);
22   
23    // delete last returned event
24    virtual void DestroyEvent();
25   
26    // init data source
27    virtual Bool_t Init();
28
29    // close data source
30    virtual Bool_t Done();
31   
32    // save root output
33    virtual Bool_t SaveRootData( RecoRootEvent* ) {return kTRUE;}
34
35private:
36    Int_t fCounter;
37    ClassDef(TestInputModule,0)
38};
39
40#endif  /* __TESTINPUTMODULE_HH_ */
41
Note: See TracBrowser for help on using the repository browser.