StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StDAQMaker.h
1 
6 #ifndef STAR_StDAQMaker
7 #define STAR_StDAQMaker
8 
9 #ifndef StMaker_H
10 #include "StMaker.h"
11 #endif
12 #include "StIOInterFace.h"
13 
14 // Forward declarations
15 class StDAQReader;
16 class TObjectSet;
17 class StRtsReaderMaker;
18 
19 class StDAQMaker : public StIOInterFace {
20  private:
21  StEvtHddr *fEvtHddr;
22  StDAQReader *fDAQReader;
23  TObjectSet *fDAQReaderSet;
24  StRtsReaderMaker *fRtsMaker;
25 
26  public:
27  StDAQMaker(const char *name="DAQInput",const char *inputFile=0);
28  virtual ~StDAQMaker();
29  virtual Int_t Init();
30  virtual Int_t Open(const char *file=0);
31  virtual void Close(Option_t *opt=0);
32  virtual Int_t Make();
33  virtual Int_t MakeRead(){return Make();};
34  virtual Int_t MakeRead(const StUKey &){return MakeRead();}
35  virtual Int_t Skip(Int_t Nskip=1);
36  void Clear(const char *opt="");
38  void SetBranch(const Char_t*,const Char_t*,const Char_t*, const Option_t*){};
39 
40  virtual const char *GetCVS() const
41  {static const char cvs[]="Tag $Name: $ $Id: StDAQMaker.h,v 1.14 2014/08/06 11:42:55 jeromel Exp $ built " __DATE__ " " __TIME__ ; return cvs;}
42 
43  ClassDef(StDAQMaker, 0) //
44 };
45 
46 #endif
void SetBranch(const Char_t *, const Char_t *, const Char_t *, const Option_t *)
for compatability with StIOInterFace
Definition: StDAQMaker.h:38
virtual Int_t Make()
Definition: StDAQMaker.cxx:66
Definition: StFileI.h:13
StDAQMaker(const char *name="DAQInput", const char *inputFile=0)
pointer to the RTS_READER
Definition: StDAQMaker.cxx:19