KaliVeda
1.13/01
Heavy-Ion Analysis Toolkit
|
Converts dp2-format grids to KVIDGrids.
Set the name of the class (derived from KVIDGrid) using SetGridClass(), then convert file with Convert("dp2_grids.dat"). The new grids are added to gIDGridManager.
Definition at line 31 of file KVDP2toIDGridConvertor.h.
Public Member Functions | |
KVDP2toIDGridConvertor () | |
Default constructor. More... | |
virtual | ~KVDP2toIDGridConvertor () |
Destructor. More... | |
void | Convert (const Char_t *filename) |
virtual void | SetGridClass (const Char_t *cl) |
Protected Member Functions | |
virtual void | ReadFile (const Char_t *filename) |
Read grids in file and add to fGrids list. More... | |
virtual void | ReadLineCoords (KVIDGrid *, std::ifstream &) |
Protected Attributes | |
TClass * | fGridClass |
class of grid to create from dp2 file More... | |
TList * | fGrids |
list of new grids More... | |
#include <KVDP2toIDGridConvertor.h>
KVDP2toIDGridConvertor::KVDP2toIDGridConvertor | ( | ) |
Default constructor.
Definition at line 24 of file KVDP2toIDGridConvertor.cpp.
|
virtual |
Destructor.
Definition at line 38 of file KVDP2toIDGridConvertor.cpp.
Definition at line 65 of file KVDP2toIDGridConvertor.cpp.
Read grids in file and add to fGrids list.
Definition at line 81 of file KVDP2toIDGridConvertor.cpp.
|
protectedvirtual |
Read coordinates of lines in the order they were created. We assume that the 'ID' lines are first, then the 'OK' lines
Definition at line 167 of file KVDP2toIDGridConvertor.cpp.
Definition at line 53 of file KVDP2toIDGridConvertor.cpp.
|
protected |
class of grid to create from dp2 file
Definition at line 33 of file KVDP2toIDGridConvertor.h.
|
protected |
list of new grids
Definition at line 34 of file KVDP2toIDGridConvertor.h.