PandaRoot
PndFsmDetTemplate.h
Go to the documentation of this file.
1 //--------------------------------------------------------------------------
2 // Description:
3 // Class PndFsmDetTemplate
4 //
5 // Template class for a 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 PNDFSMDETTEMPLATE_H
19 #define PNDFSMDETTEMPLATE_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 ~PndFsmDetTemplate();
54 
59  virtual PndFsmResponse *respond(PndFsmTrack *t);
60 
61  private:
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  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 _ptmin;
78 
79  double _pRes;
80  double _thtRes;
81  double _phiRes;
82 };
83 
84 #endif
virtual ~PndFsmDetTemplate()
std::list< std::string > ArgList
Definition: ArgList.h:7
virtual PndFsmResponse * respond(PndFsmTrack *t)