FairRoot/PandaRoot
PndFsmEmcPid.h
Go to the documentation of this file.
1 //--------------------------------------------------------------------------
2 // File and Version Information:
3 // $Id: FsmEmcBarrel.cc,v 1.11 2007/05/24 08:07:40 klausg Exp $
4 //
5 // Description:
6 // Class FsmEmcPid
7 //
8 // Implementation of the PID info for EMCs
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) 2014 GSI
18 //
19 //------------------------------------------------------------------------
20 
21 #ifndef PNDFSMEMCPID_H
22 #define PNDFSMEMCPID_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 #include "TH2F.h"
35 
36 //--------------------------------------------
37 // Collaborating class forward declarations --
38 // -------------------------------------------
39 class PndFsmTrack;
40 class PndFsmResponse;
41 
43 {
44 public:
45 
46  //--------------------
47  // Public interface --
48  //--------------------
49 
50  //
51  // Constructors
52  //
53 
55  PndFsmEmcPid();
59  virtual ~PndFsmEmcPid();
60 
66 
67 private:
68 
69  bool detected(PndFsmTrack *t) const;
70 
71  void initParameters();
72  void print(std::ostream &o);
73  bool setParameter(std::string &name, double value);
74 
75  bool readParameters();
76 
77  //
78  // Parameters
79  //
80  TH2F *_emcPidPdf[6];
81 
82  double _pmin; //momentum threshold
83  double _ptmin; //transverse momentum threshold
84  double _thtMin; //polar angle coverage min angle
85  double _thtMax; //polar angle coverage max angle
86  double _phiMin; //angle coverage min
87  double _phiMax; //angle coverage max
88 
89  std::string _parFileName; //this file contains root histograms with the EMC pdfs
90 };
91 
92 #endif
std::list< std::string > ArgList
Definition: ArgList.h:7
bool setParameter(std::string &name, double value)
std::string _parFileName
Definition: PndFsmEmcPid.h:89
Double_t par[3]
void initParameters()
double _phiMax
Definition: PndFsmEmcPid.h:87
double _thtMin
Definition: PndFsmEmcPid.h:84
TH2F * _emcPidPdf[6]
Definition: PndFsmEmcPid.h:80
double _pmin
Definition: PndFsmEmcPid.h:82
double _thtMax
Definition: PndFsmEmcPid.h:85
bool readParameters()
bool detected(PndFsmTrack *t) const
TString name
void print(std::ostream &o)
double _phiMin
Definition: PndFsmEmcPid.h:86
TTree * t
Definition: bump_analys.C:13
double _ptmin
Definition: PndFsmEmcPid.h:83
virtual PndFsmResponse * respond(PndFsmTrack *t)
virtual ~PndFsmEmcPid()