FairRoot/PandaRoot
PndFsmEffTracker.h
Go to the documentation of this file.
1 //--------------------------------------------------------------------------
2 // File and Version Information:
3 // $Id: FsmTpc.hh,v 1.4 2006/08/10 09:58:41 klausg Exp $
4 //
5 // Description:
6 // Class FsmEffTracker
7 //
8 // Implementation of an effective Tracker for the FastSim
9 // which provides resolution for mom, tht, phi from full sim
10 // NOTE: should be used INSTEAD Tpc/Stt, Mvd and the Mdc's
11 //
12 // This software was developed for the PANDA collaboration. If you
13 // use all or part of it, please give an appropriate acknowledgement.
14 //
15 // Author List:
16 // Klaus Goetzen Original Author
17 //
18 // Copyright Information:
19 // Copyright (C) 2006 GSI
20 //
21 //------------------------------------------------------------------------
22 
23 #ifndef PNDFSMEFFTRACKER_H
24 #define PNDFSMEFFTRACKER_H
25 
26 //----------------------
27 // Base Class Headers --
28 //----------------------
29 
30 //-------------------------------
31 // Collaborating class Headers --
32 //-------------------------------
33 #include <iosfwd>
34 #include "ArgList.h"
35 #include "PndFsmAbsDet.h"
36 
37 //--------------------------------------------
38 // Collaborating class forward declarations --
39 // -------------------------------------------
40 class PndFsmTrack;
41 class PndFsmResponse;
42 
44 {
45 public:
46 
47  //--------------------
48  // Public interface --
49  //--------------------
50 
51  //
52  // Constructors
53  //
54 
60  virtual ~PndFsmEffTracker();
61 
67 
68 private:
69  bool detected(PndFsmTrack *t) const;
70  double dp(PndFsmTrack *t) const;
71  double dphi(PndFsmTrack *t) const;
72  double dtheta(PndFsmTrack *t) const;
73 
74  double compdEdx(double p, double M);
75  double gauss(double x, double x0, double s);
76 
77  void initParameters();
78  void print(std::ostream &o);
79  bool setParameter(std::string &name, double value);
80 
81  bool readParameters();
82 
83  //
84  // Modifiers
85  //
86 
87  double _thtMin;
88  double _thtMax;
89  double _radiationLength; //material budget
90  double _pmin;
91  double _pRes;
92  double _phiRes;
93  double _thetaRes;
94  double _dEdxRes;
95 
96  std::string _parFileName;
97 
98  int _rows;
99  int _cols;
100 
101  double _sigPhi[6][12];
102  double _sigTht[6][12];
103  double _sigMom[6][12];
104 
105 };
106 
107 #endif
double gauss(double x, double x0, double s)
Double_t x0
Definition: checkhelixhit.C:70
Double_t p
Definition: anasim.C:58
virtual PndFsmResponse * respond(PndFsmTrack *t)
std::list< std::string > ArgList
Definition: ArgList.h:7
double dtheta(PndFsmTrack *t) const
std::string _parFileName
TLorentzVector s
Definition: Pnd2DStar.C:50
Double_t par[3]
double _sigMom[6][12]
double _sigTht[6][12]
double _sigPhi[6][12]
TString name
Double_t x
TTree * t
Definition: bump_analys.C:13
double dp(PndFsmTrack *t) const
double compdEdx(double p, double M)
virtual ~PndFsmEffTracker()
double dphi(PndFsmTrack *t) const
bool detected(PndFsmTrack *t) const
void print(std::ostream &o)
bool setParameter(std::string &name, double value)