FairRoot/PandaRoot
PndFsmMvdPid.h
Go to the documentation of this file.
1 //--------------------------------------------------------------------------
2 // File and Version Information:
3 // $Id: PndFsmMvdPid.hh,v 1.4 2006/08/10 09:58:41 klausg Exp $
4 //
5 // Description:
6 // Class PndFsmMvdPid
7 //
8 // Implementation of the MVD 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 PNDFSMMVDPID_H
22 #define PNDFSMMVDPID_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 
42 {
43 public:
44 
45  //--------------------
46  // Public interface --
47  //--------------------
48 
49  //
50  // Constructors
51  //
52 
54  PndFsmMvdPid();
58  virtual ~PndFsmMvdPid();
59 
65 
66 private:
67  bool detected(PndFsmTrack *t) const;
68 
69  void initParameters();
70  void print(std::ostream &o);
71  bool setParameter(std::string &name, double value);
72 
73  double _thtMin;
74  double _thtMax;
75  double _ptmin;
76  double _dEdxResMulti;
77 
78  enum {nPidType = 5};
79  enum PidType {
85  };
86 
88  double LandauGaus(double s_mpv, double width1, double width2);
89  double Likelihood(PidType particle);
90  double mpv(PidType particle);
91  double width1(PidType particle);
92  double width2(PidType particle);
93 
94  double _momentum;
95  double _energyloss;
96 
97 };
98 
99 #endif
double LandauGaus(double s_mpv, double width1, double width2)
std::list< std::string > ArgList
Definition: ArgList.h:7
bool detected(PndFsmTrack *t) const
double width1(PidType particle)
double _ptmin
Definition: PndFsmMvdPid.h:75
void print(std::ostream &o)
Double_t par[3]
double _momentum
Definition: PndFsmMvdPid.h:94
double width2(PidType particle)
double mpv(PidType particle)
const int particle
double Likelihood(PidType particle)
TString name
void initParameters()
virtual PndFsmResponse * respond(PndFsmTrack *t)
double MeanEnergyLoss(PidType particle)
double _dEdxResMulti
Definition: PndFsmMvdPid.h:76
TTree * t
Definition: bump_analys.C:13
double _thtMin
Definition: PndFsmMvdPid.h:73
bool setParameter(std::string &name, double value)
double _thtMax
Definition: PndFsmMvdPid.h:74
double _energyloss
Definition: PndFsmMvdPid.h:95
virtual ~PndFsmMvdPid()