KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVRawDataReader.h
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
31class KVRawDataReader : public KVBase {
32
33protected:
35
36public:
37
39 virtual ~KVRawDataReader();
40
41 virtual Bool_t GetNextEvent() = 0;
42 virtual Int_t GetStatus() const
43 {
44 return 0;
45 }
46 virtual TString GetDataFormat() const = 0;
47 virtual Int_t GetRunNumberReadFromFile() const = 0;
48
49 static KVRawDataReader* OpenFile(const TString& type, const TString& filename);
51 {
52 return fRunInfos;
53 }
54
55 ClassDef(KVRawDataReader, 0) //Base class for reading raw data
56};
57
58#endif
int Int_t
bool Bool_t
#define ClassDef(name, id)
Base class for KaliVeda framework.
Definition KVBase.h:142
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
const KVNameValueList & GetRunInfos() const
KVRawDataReader()
Default constructor.
virtual ~KVRawDataReader()
Destructor.
virtual TString GetDataFormat() const =0