PandaRoot
PndFsmSimplePid.h
Go to the documentation of this file.
1 //--------------------------------------------------------------------------
2 // File and Version Information:
3 // $Id: PndFsmSimplePid.h $
4 //
5 // Description:
6 // Class PndFsmSimplePid
7 //
8 // Implementation of the Montecarlo true PID 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) 2023 Ruhr-Universität Bochum
18 //
19 //------------------------------------------------------------------------
20 
21 #ifndef PNDFSMSIMPLEPID_H
22 #define PNDFSMSIMPLEPID_H
23 
24 //----------------------
25 // Base Class Headers --
26 //----------------------
27 
28 //-------------------------------
29 // Collaborating class Headers --
30 //-------------------------------
31 #include <TMath.h>
32 #include <iosfwd>
33 #include "ArgList.h"
34 #include "PndFsmAbsDet.h"
35 
36 //--------------------------------------------
37 // Collaborating class forward declarations --
38 // -------------------------------------------
39 class PndFsmTrack;
40 class PndFsmResponse;
41 
42 class PndFsmSimplePid : public PndFsmAbsDet {
43  public:
44  //--------------------
45  // Public interface --
46  //--------------------
47 
48  //
49  // Constructors
50  //
51 
57  virtual ~PndFsmSimplePid();
58 
63  virtual PndFsmResponse *respond(PndFsmTrack *t);
64 
65  private:
66  bool detected(PndFsmTrack *t) const;
67  void initParameters();
68  void print(std::ostream &o);
69  bool setParameter(std::string &name, double value);
70  bool readParameters();
71 
72  double _effE;
73  double _effMu;
74  double _effPi;
75  double _effK;
76  double _effP;
77 
78  double _pidE;
79  double _pidMu;
80  double _pidPi;
81  double _pidK;
82  double _pidP;
83 
84  double _pidNoE;
85  double _pidNoMu;
86  double _pidNoPi;
87  double _pidNoK;
88  double _pidNoP;
89 
90  double _thtMin;
91  double _thtMax;
92  double _pmin;
93  double _pmax;
94  double _ptmin;
95 };
96 
97 #endif
std::list< std::string > ArgList
Definition: ArgList.h:7
virtual PndFsmResponse * respond(PndFsmTrack *t)
virtual ~PndFsmSimplePid()