KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
KVRawDataReader.h
Go to the documentation of this file.
1 /*
2 $Id: KVRawDataReader.h,v 1.3 2007/06/08 15:49:10 franklan Exp $
3 $Revision: 1.3 $
4 $Date: 2007/06/08 15:49:10 $
5 */
6 
9 
10 #ifndef __KVRAWDATAREADER_H
11 #define __KVRAWDATAREADER_H
12 
13 #include "KVBase.h"
14 #include "KVSeqCollection.h"
15 
16 #include <KVNameValueList.h>
17 
31 class KVRawDataReader : public KVBase {
32 
33 protected:
35 
36 public:
37 
39  virtual ~KVRawDataReader();
40 
41  virtual const KVSeqCollection* GetUnknownParameters() const
42  {
43  return 0;
44  }
45  virtual const KVSeqCollection* GetRawDataParameters() const
46  {
47  return 0;
48  }
49  virtual Bool_t GetNextEvent() = 0;
51 
52  virtual Int_t GetStatus() const
53  {
54  return 0;
55  }
56  virtual TString GetDataFormat() const = 0;
57  virtual Int_t GetRunNumberReadFromFile() const = 0;
58 
59  static KVRawDataReader* OpenFile(const TString& type, const TString& filename);
61  {
62  return fRunInfos;
63  }
64 
65  ClassDef(KVRawDataReader, 0) //Base class for reading raw data
66 };
67 
68 #endif
int Int_t
bool Bool_t
#define ClassDef(name, id)
Base class for KaliVeda framework.
Definition: KVBase.h:135
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
Abstract base class for reading raw (DAQ) data.
static KVRawDataReader * OpenFile(const TString &type, const TString &filename)
virtual Int_t GetRunNumberReadFromFile() const =0
virtual Bool_t GetNextEvent()=0
virtual Int_t GetStatus() const
KVNameValueList fRunInfos
informations on run extracted from file
KVRawDataReader()
Default constructor.
virtual const KVSeqCollection * GetUnknownParameters() const
virtual ~KVRawDataReader()
Destructor.
virtual KVSeqCollection * GetFiredDataParameters() const =0
virtual const KVSeqCollection * GetRawDataParameters() const
const KVNameValueList & GetRunInfos() const
virtual TString GetDataFormat() const =0
KaliVeda extensions to ROOT collection classes.