PandaRoot
PndFsmStt.h
Go to the documentation of this file.
1 //--------------------------------------------------------------------------
2 // File and Version Information:
3 // $Id: FsmStt.hh,v 1.6 2006/10/05 14:05:53 aida Exp $
4 //
5 // Description:
6 // Class FsmStt
7 //
8 // Implementation of the STT for the Fast Sim Detectors
9 //
10 // This software was developed for the PANDA collaboration. If you
11 // use all or part of it, please give an appropriate acknowledgement.
12 //
13 // Author List:
14 // Klaus Goetzen Original Author
15 //
16 // Copyright Information:
17 // Copyright (C) 2006 GSI
18 //
19 //------------------------------------------------------------------------
20 
21 #ifndef PNDFSMSTT_H
22 #define PNDFSMSTT_H
23 
24 //----------------------
25 // Base Class Headers --
26 //----------------------
27 
28 //-------------------------------
29 // Collaborating class Headers --
30 //-------------------------------
31 #include <iosfwd>
32 #include "ArgList.h"
33 #include "PndFsmAbsDet.h"
34 
35 //--------------------------------------------
36 // Collaborating class forward declarations --
37 // -------------------------------------------
38 class PndFsmTrack;
39 class PndFsmResponse;
40 
41 class PndFsmStt : public PndFsmAbsDet {
42  public:
43  //--------------------
44  // Public interface --
45  //--------------------
46 
47  //
48  // Constructors
49  //
50 
52  PndFsmStt();
53  PndFsmStt(ArgList &par);
56  virtual ~PndFsmStt();
57 
62  virtual PndFsmResponse *respond(PndFsmTrack *t);
63 
64  private:
65  bool detected(PndFsmTrack *t) const;
66  double dp(PndFsmTrack *t) const;
67  double dphi(PndFsmTrack *t) const;
68  double dtheta(PndFsmTrack *t) const;
69 
70  double compdEdx(double p, double M);
71  double gauss(double x, double x0, double s);
72 
73  void initParameters();
74  void print(std::ostream &o);
75  bool setParameter(std::string &name, double value);
76 
77  //
78  // Modifiers
79  //
80 
81  double _n;
82  double _sigXY;
83  double _Bfield;
84  double _Lpath;
85  double _X0;
86  double _sigTht;
87  double _thtMin;
88  double _thtMax;
89  double _pmin;
90  double _rmin;
91  double _radiationLength; // material budget
92  double _dEdxRes;
93 };
94 
95 #endif
std::list< std::string > ArgList
Definition: ArgList.h:7
virtual ~PndFsmStt()
virtual PndFsmResponse * respond(PndFsmTrack *t)