//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Distortion Source with Gaussian profile // // // Environment: // Software developed for a real experiment // // Author List: // Felix Boehmer (original author) // Physik Department E18, TUM // //----------------------------------------------------------- #ifndef TPCMMLOCALGAUSSSOURCE_HH #define TPCMMLOCALGAUSSSOURCE_HH #include "AbsTpcMMDistortion.h" #include "TVector3.h" class TpcMMLocalGaussSource : public AbsTpcMMSource { public: TpcMMLocalGaussSource(); TpcMMLocalGaussSource(double sig, const TVector3& dir, const TVector3& pos); virtual ~TpcMMLocalGaussSource() {;} virtual void distort(const std::vector& cls); virtual void setSigma(double sig) {fSigma=sig;} virtual void setPosition(const TVector3& pos) {fPos=pos;} virtual void setMagnitude(double mag) {fMag=mag;} protected: TVector3 fPos; //center double fSigma; //sigma of the gaussian distortion area profile double fMag; //magnitude of (radial) distortion at center }; #endif