NSCL DDAS  1.0
Support for XIA DDAS at the NSCL
 All Classes Files Functions Variables Macros Pages
RootConverter2.h
1 
2 
3 #ifndef ROOTCONVERTER2_H
4 #define ROOTCONVERTER2_H
5 
6 #include <string>
7 
8 #ifndef CONVERTER_H
9 #include "Converter.h"
10 #endif
11 
12 #include <stdint.h>
13 
14 class DDASEvent;
15 class ddaschannel;
16 
18 
51 class RootConverter2 : public Converter
52 {
53 
54  private:
55  DDASEvent *m_ddasevent;
57  public:
62 
68  virtual ~RootConverter2();
69 
79  virtual void Initialize(std::string filein, std::string fileout);
80 
91  virtual void DumpData(const CRingItem& item);
92 
93  private:
94 
107  ddaschannel* ExtractDDASChannelFromEVBFragment(const uint32_t*& body_ptr);
108 
109 };
110 
111 #endif