#ifndef PARTICLETYPE_H #define PARTICLETYPE_H class particleType { private: const double fMass; const int fCharge; const char* fName; public: const double getMass() const { return fMass; }; const int getCharge() const { return fCharge; }; const char* getName() const { return fName; }; virtual int isRes() { return 0; }; virtual void print() const; particleType():fName(" "), fMass(0.), fCharge(0){}; particleType(const char *name,double mass,int charge); virtual double getWidth() { return 0.; }; }; #endif