//----------------------------------------------------------- // // Description: // Implementation of PndTpcAbsField for a Map (cylindrical // symmetry) of drift deviations relative to a straight // line. // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Cristoforo Simonetto TUM (original author) // Felix Boehmer TUM // //----------------------------------------------------------- #ifndef TPCDEVMAPCYL_H #define TPCDEVMAPCYL_H // Base Class Headers ---------------- #include "PndTpcFieldCylGrid.h" // Collaborating Class Headers ------- #include "PndTpcDevmapCylLoader.h" // Collaborating Class Declarations -- class PndTpcDevmapCyl : public PndTpcFieldCylGrid { friend class PndTpcDevmapCylLoader; public: // Constructors/Destructors --------- PndTpcDevmapCyl(const char* const, double); //TODO: redesign, get vDrift from param management virtual ~PndTpcDevmapCyl(); // Operators virtual void print(std::ostream&) const; // Accessors ----------------------- virtual TVector3 value(const TVector3&) const; const double vDrift(){return fvDrift;} bool loaded() const {return floaded;} // Modifiers ----------------------- protected: bool floaded; private: // Private Data Members ------------ PndTpcDevmapCylLoader* loader; //this class takes care of the file I/O double fvDrift; }; #endif