NSCL DDAS  1.0
Support for XIA DDAS at the NSCL
 All Classes Namespaces Files Functions Variables Macros Pages
RootConvert.h
1 
7 //root converter
8 
9 #ifndef ROOTCONVERTER_H
10 #define ROOTCONVERTER_H
11 
12 #include <string>
13 
14 #ifndef CONVERTER_H
15 #include "Converter.h"
16 #endif
17 
18 class ddaschannel;
19 class CRingItem;
20 
22 
46 class RootConverter : public Converter
47 {
48 
49  private:
50  ddaschannel *dchan;
52  public:
55  RootConverter();
56 
63  virtual ~RootConverter();
64 
74  virtual void Initialize(std::string filein, std::string fileout);
75 
87  virtual void DumpData(const CRingItem& item);
88 
89 };
90 
91 #endif
Encapsulation of a generic DDAS event.
Definition: ddaschannel.h:41
virtual void Initialize(std::string filein, std::string fileout)
Adds dchan branch to tree and associates it with the local ddaschannel object.
Definition: RootConvert.cpp:26
virtual void DumpData(const CRingItem &item)
Conversion of CRingItem data and filling of the tree.
Definition: RootConvert.cpp:34
virtual ~RootConverter()
Default destructor.
Definition: RootConvert.cpp:18
Converter for data formats < NSCLDAQ 10.2.
Definition: RootConvert.h:46
Base class for all converter objects.
Definition: Converter.h:37
RootConverter()
Default constructor.
Definition: RootConvert.cpp:16