PandaRoot
PndFsmSimpleTracker.h
Go to the documentation of this file.
1 //--------------------------------------------------------------------------
2 // Description:
3 // Class PndFsmSimpleTracker
4 //
5 // Example Tracker for the PANDA Fast Sim Detectors
6 //
7 // This software was developed for the PANDA collaboration. If you
8 // use all or part of it, please give an appropriate acknowledgement.
9 //
10 // Author List:
11 // Klaus Goetzen Original Author
12 //
13 // Copyright Information:
14 // Copyright (C) 2008 GSI
15 //
16 //------------------------------------------------------------------------
17 
18 #ifndef PNDFSMSIMPLETRACKER_H
19 #define PNDFSMSIMPLETRACKER_H
20 
21 //----------------------
22 // Base Class Headers --
23 //----------------------
24 
25 //-------------------------------
26 // Collaborating class Headers --
27 //-------------------------------
28 #include <iosfwd>
29 #include "ArgList.h"
30 #include "PndFsmAbsDet.h"
31 
32 //--------------------------------------------
33 // Collaborating class forward declarations --
34 // -------------------------------------------
35 class PndFsmTrack;
36 class PndFsmResponse;
37 
39  public:
40  //--------------------
41  // Public interface --
42  //--------------------
43 
44  //
45  // Constructors
46  //
47 
53  virtual ~PndFsmSimpleTracker();
54 
59  virtual PndFsmResponse *respond(PndFsmTrack *t);
60 
61  protected:
62  bool detected(PndFsmTrack *t) const;
63  double dp(PndFsmTrack *t) const;
64  double dphi(PndFsmTrack *t) const;
65  double dtheta(PndFsmTrack *t) const;
66 
67  virtual void initParameters();
68  void print(std::ostream &o);
69  bool setParameter(std::string &name, double value);
70 
71  //
72  // Modifiers
73  //
74 
75  double _thtMin;
76  double _thtMax;
77  double _pmin;
78  double _ptmin;
79 
80  double _pRes;
81  double _thtRes;
82  double _phiRes;
83 };
84 
85 #endif
virtual ~PndFsmSimpleTracker()
bool detected(PndFsmTrack *t) const
std::list< std::string > ArgList
Definition: ArgList.h:7
void print(std::ostream &o)
double dtheta(PndFsmTrack *t) const
double dphi(PndFsmTrack *t) const
double dp(PndFsmTrack *t) const
virtual void initParameters()
virtual PndFsmResponse * respond(PndFsmTrack *t)
bool setParameter(std::string &name, double value)