//----------------------------------------------------------- // File and Version Information: // // // Description: // This class is a file processing interface for a // TpcDevmapCyl class. // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Felix Boehmer TUM (original author) // // //----------------------------------------------------------- #ifndef TPCDEVMAPCYLLOADER_H #define TPCDEVMAPCYLLOADER_H //Collaborating Class Headers ------------------------------- class TpcDevmapCyl; #include #include "TVector3.h" class TpcDevmapCylLoader { public: //Constructors / Destructors ------------------ TpcDevmapCylLoader(TpcDevmapCyl*, const char* const); ~TpcDevmapCylLoader(); //Methods int load(); int loadinv(); int getLengthR(){return _lengthr;} int getLengthZ(){return _lengthz;} void getValues(double &rmax, double &rmin, double &zmax, double &zmin, double &rwidth, double &zwidth); void getValues(double &rmax, double &rmin, double &zmax, double &zmin, double &rwidth, double &zwidth, double &vdrift); private: const char* ffileName; TpcDevmapCyl* fdevmap; std::vector*>* ffieldmap; std::vector*>* fsetmap; TVector3 interpol(int rbin, int zbin, bool inv=false);//, double &x, double &y, double &z); int something(); double fvDrift; int _lengthr; int _lengthz; double _rMin; double _rMax; double _zMin; double _zMax; double _rWidth; double _zWidth; int _maxRbin; int _maxZbin; }; #endif