PandaRoot
PndFsmSimpleTracker.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 //--------------------------------------------------------------------------
14 // Description:
15 // Class PndFsmSimpleTracker
16 //
17 // Example Tracker for the PANDA Fast Sim Detectors
18 //
19 // This software was developed for the PANDA collaboration. If you
20 // use all or part of it, please give an appropriate acknowledgement.
21 //
22 // Author List:
23 // Klaus Goetzen Original Author
24 //
25 // Copyright Information:
26 // Copyright (C) 2008 GSI
27 //
28 //------------------------------------------------------------------------
29 
30 #ifndef PNDFSMSIMPLETRACKER_H
31 #define PNDFSMSIMPLETRACKER_H
32 
33 //----------------------
34 // Base Class Headers --
35 //----------------------
36 
37 //-------------------------------
38 // Collaborating class Headers --
39 //-------------------------------
40 #include <iosfwd>
41 #include "ArgList.h"
42 #include "PndFsmAbsDet.h"
43 
44 //--------------------------------------------
45 // Collaborating class forward declarations --
46 // -------------------------------------------
47 class PndFsmTrack;
48 class PndFsmResponse;
49 
51  public:
52  //--------------------
53  // Public interface --
54  //--------------------
55 
56  //
57  // Constructors
58  //
59 
65  virtual ~PndFsmSimpleTracker();
66 
71  virtual PndFsmResponse *respond(PndFsmTrack *t);
72 
73  protected:
74  bool detected(PndFsmTrack *t) const;
75  double dp(PndFsmTrack *t) const;
76  double dphi(PndFsmTrack *t) const;
77  double dtheta(PndFsmTrack *t) const;
78 
79  virtual void initParameters();
80  void correctParameters();
81  void print(std::ostream &o);
82  bool setParameter(std::string &name, double value);
83 
84  //
85  // Modifiers
86  //
87 
88  double _thtMin;
89  double _thtMax;
90  double _pmin;
91  double _pmax;
92  double _ptmin;
93 
94  double _pRes;
95  double _thtRes;
96  double _phiRes;
97 };
98 
99 #endif
virtual ~PndFsmSimpleTracker()
bool detected(PndFsmTrack *t) const
std::list< std::string > ArgList
Definition: ArgList.h:19
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)