KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
KVDP2toIDGridConvertor.h
Go to the documentation of this file.
1 /*
2 $Id: KVDP2toIDGridConvertor.h,v 1.1 2008/10/13 14:25:08 franklan Exp $
3 $Revision: 1.1 $
4 $Date: 2008/10/13 14:25:08 $
5 */
6 
9 
10 #ifndef __KVDP2TOIDGRIDCONVERTOR_H
11 #define __KVDP2TOIDGRIDCONVERTOR_H
12 
13 #include "Riostream.h"
14 #include "KVString.h"
15 #include "TClass.h"
16 
17 class KVIDGrid;
18 class TList;
19 
32 protected:
35  virtual void ReadLineCoords(KVIDGrid*, std::ifstream&);
36  virtual void ReadFile(const Char_t* filename);
37 
38 public:
40  virtual ~KVDP2toIDGridConvertor();
41 
42  virtual void SetGridClass(const Char_t* cl);
43  void Convert(const Char_t* filename);
44 
45  ClassDef(KVDP2toIDGridConvertor, 1) //Converts dp2-format grids to KVIDGrids
46 };
47 
48 #endif
char Char_t
#define ClassDef(name, id)
Converts dp2-format grids to KVIDGrids.
KVDP2toIDGridConvertor()
Default constructor.
virtual void SetGridClass(const Char_t *cl)
TList * fGrids
list of new grids
TClass * fGridClass
class of grid to create from dp2 file
virtual ~KVDP2toIDGridConvertor()
Destructor.
virtual void ReadFile(const Char_t *filename)
Read grids in file and add to fGrids list.
void Convert(const Char_t *filename)
virtual void ReadLineCoords(KVIDGrid *, std::ifstream &)
Abstract base class for 2D identification grids in e.g. (dE,E) maps.
Definition: KVIDGrid.h:73
const long double cl
Definition: KVUnits.h:85