//-------------------------------------------------------------------------- // File and Version Information: // $Id: FsmTof.hh,v 1.1 2006/10/05 14:05:53 aida Exp $ // // Description: // Class FsmTof // // Implementation of the barrel Tof 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 PNDFSMTOF_H #define PNDFSMTOF_H //---------------------- // Base Class Headers -- //---------------------- //------------------------------- // Collaborating class Headers -- //------------------------------- #include #include "ArgList.h" #include "PndFsmAbsDet.h" //-------------------------------------------- // Collaborating class forward declarations -- // ------------------------------------------- class PndFsmTrack; class PndFsmResponse; class PndFsmTof: public PndFsmAbsDet { public: //-------------------- // Public interface -- //-------------------- // // Constructors // /** Default ctor. */ PndFsmTof(); PndFsmTof(ArgList &par); /** Destructor */ virtual ~PndFsmTof(); /** Accessors to contained information */ virtual PndFsmResponse* respond(PndFsmTrack *t); private: bool detected(PndFsmTrack *t) const; double gauss_t(double x, double x0, double s); void initParameters(); void print(std::ostream &o); bool setParameter(std::string &name, double value); // // Modifiers // double _thtMin; // spatial coverage double _thtMax; // " double _radiationLength; // material budget double _pmin; double _Bfield; // B field strength [T] double _rBarrel; // radius of Tof barrel double _dSlab; // thickness of radiator bars/slabs double _dp; // distortion of momentum double _dt; // time res }; #endif