KaliVeda
Toolkit for HIC analysis
|
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 32 of file KVDP2toIDGridConvertor.h.
#include <KVDP2toIDGridConvertor.h>
Public Member Functions | |
KVDP2toIDGridConvertor () | |
Default constructor. | |
virtual | ~KVDP2toIDGridConvertor () |
Destructor. | |
void | Convert (const Char_t *filename) |
virtual void | SetGridClass (const Char_t *cl) |
Private Member Functions | |
virtual void | ReadFile (const Char_t *filename) |
Read grids in file and add to fGrids list. | |
virtual void | ReadLineCoords (KVIDGrid *, std::ifstream &) |
Private Attributes | |
TClass * | fGridClass |
class of grid to create from dp2 file | |
TList * | fGrids |
list of new grids | |
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.
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.
|
private |
class of grid to create from dp2 file
Definition at line 34 of file KVDP2toIDGridConvertor.h.
|
private |
list of new grids
Definition at line 35 of file KVDP2toIDGridConvertor.h.