//-------------------------------------------------------------------------- // File and Version Information: // $Id: FsmTpc.hh,v 1.4 2006/08/10 09:58:41 klausg Exp $ // // Description: // Class FsmTpc // // Implementation of the TPC for the Fast Sim Detectors // // This software was developed for the PANDA collaboration. If you // use all or part of it, please give an appropriate acknowledgement. // // Author List: // Klaus Goetzen Original Author // // Copyright Information: // Copyright (C) 2006 GSI // //------------------------------------------------------------------------ #ifndef PNDFSMTPC_H #define PNDFSMTPC_H //---------------------- // Base Class Headers -- //---------------------- //------------------------------- // Collaborating class Headers -- //------------------------------- #include #include "ArgList.h" #include "PndFsmAbsDet.h" //-------------------------------------------- // Collaborating class forward declarations -- // ------------------------------------------- class PndFsmTrack; class PndFsmResponse; class PndFsmTpc: public PndFsmAbsDet { public: //-------------------- // Public interface -- //-------------------- // // Constructors // /** Default ctor. */ PndFsmTpc(); PndFsmTpc(ArgList &par); /** Destructor */ virtual ~PndFsmTpc(); /** Accessors to contained information */ virtual PndFsmResponse* respond(PndFsmTrack *t); private: bool detected(PndFsmTrack *t) const; double dp(PndFsmTrack *t) const; double dphi(PndFsmTrack *t) const; double dtheta(PndFsmTrack *t) const; double compdEdx(double p, double M); double gauss(double x, double x0, double s); void initParameters(); void print(std::ostream &o); bool setParameter(std::string &name, double value); // // Modifiers // double _thtMin; double _thtMax; double _radiationLength; //material budget double _pmin; double _rmin; double _Bfield; double _pRes; double _phiRes; double _thetaRes; double _dEdxRes; }; #endif