KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVDP2toIDGridConvertor.h
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
17class KVIDGrid;
18class TList;
19
33protected:
36 virtual void ReadLineCoords(KVIDGrid*, std::ifstream&);
37 virtual void ReadFile(const Char_t* filename);
38
39public:
42
43 virtual void SetGridClass(const Char_t* cl);
44 void Convert(const Char_t* filename);
45
46 ClassDef(KVDP2toIDGridConvertor, 1) //Converts dp2-format grids to KVIDGrids
47};
48
49#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:74