FairRoot/PandaRoot
PndFsmMdtPid.h
Go to the documentation of this file.
1 //--------------------------------------------------------------------------
2 // File and Version Information:
3 // $Id: PndFsmMdtPid.hs $
4 //
5 // Description:
6 // Class PndFsmMdtPid
7 //
8 // Implementation of the MDT 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 // Ralf Kliemt Original Author
15 //
16 // Copyright Information:
17 // Copyright (C) 2014 GSI
18 //
19 //------------------------------------------------------------------------
20 
21 #ifndef PNDFSMMDTPID_H
22 #define PNDFSMMDTPID_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 class TH3F;
41 
43 {
44 public:
45 
46  //--------------------
47  // Public interface --
48  //--------------------
49 
50  //
51  // Constructors
52  //
53 
55  PndFsmMdtPid();
59  virtual ~PndFsmMdtPid();
60 
66 
67 private:
68  bool detected(PndFsmTrack *t) const;
69 
70  void initParameters();
71  void print(std::ostream &o);
72  bool setParameter(std::string &name, double value);
73  bool readParameters();
74 
75  TH3F *_mdtPidPdf[6];
76 
77  double _thtMin;
78  double _thtMax;
79  double _pmin;
80  double _misId;
81 
82  bool _useFlat;
83 
84  std::string _parFileName; //this file contains root histograms with the MDT pdfs
85 };
86 
87 #endif
void print(std::ostream &o)
std::string _parFileName
Definition: PndFsmMdtPid.h:84
bool readParameters()
std::list< std::string > ArgList
Definition: ArgList.h:7
Double_t par[3]
void initParameters()
virtual PndFsmResponse * respond(PndFsmTrack *t)
bool detected(PndFsmTrack *t) const
double _thtMin
Definition: PndFsmMdtPid.h:77
virtual ~PndFsmMdtPid()
double _thtMax
Definition: PndFsmMdtPid.h:78
TString name
double _misId
Definition: PndFsmMdtPid.h:80
bool setParameter(std::string &name, double value)
TH3F * _mdtPidPdf[6]
Definition: PndFsmMdtPid.h:75
TTree * t
Definition: bump_analys.C:13
double _pmin
Definition: PndFsmMdtPid.h:79