FairRoot/PandaRoot
PndFsmRich.h
Go to the documentation of this file.
1 //--------------------------------------------------------------------------
2 // File and Version Information:
3 // $Id: FsmRich.hh,v 1.1 2007/05/24 08:07:40 klausg Exp $
4 //
5 // Description:
6 // Class FsmRich
7 //
8 // Implementation of the far forward RICH 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 PNDFSMRICH_H
22 #define PNDFSMRICH_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 
41 class PndFsmRich: public PndFsmAbsDet
42 {
43 public:
44 
45  //--------------------
46  // Public interface --
47  //--------------------
48 
49  //
50  // Constructors
51  //
52 
54  PndFsmRich();
58  virtual ~PndFsmRich();
59 
65 
66 private:
67  bool detected(PndFsmTrack *t) const;
68  double compThetaC(double p, double m);
69  double gauss(double x, double x0, double s);
70 
71 
72  void initParameters();
73  void print(std::ostream &o);
74  bool setParameter(std::string &name, double value);
75  //
76  // Modifiers
77  //
78 
79  double _angleXMax;
80  double _angleYMax;
81  double _radiationLength; // material budget
82  double _pmin; // minimum p_t to reach DIRC
83  double _dthtc; // resolution for tht_C for single photon (-> res=dthtc/sqrt(nPhot) )
84  double _nPhotMin; // minimum number of photons cutoff
85  double _nRefrac; // refraction index of radiator
86  double _Bfield; // B field strength [T]
87  double _effNPhotons; // overall efficiency for photon detection
88  double _dRich; // thickness of radiator
89  double _dp; // accuracy of momentum measurement
90 };
91 
92 #endif
void print(std::ostream &o)
Definition: PndFsmRich.cxx:225
Double_t x0
Definition: checkhelixhit.C:70
double _dRich
Definition: PndFsmRich.h:88
__m128 m
Definition: P4_F32vec4.h:28
std::list< std::string > ArgList
Definition: ArgList.h:7
TLorentzVector s
Definition: Pnd2DStar.C:50
Double_t par[3]
double _nRefrac
Definition: PndFsmRich.h:85
double _dp
Definition: PndFsmRich.h:89
Double_t p
Definition: anasim.C:58
double _pmin
Definition: PndFsmRich.h:82
double _angleYMax
Definition: PndFsmRich.h:80
virtual PndFsmResponse * respond(PndFsmTrack *t)
Definition: PndFsmRich.cxx:92
double _effNPhotons
Definition: PndFsmRich.h:87
TString name
double _dthtc
Definition: PndFsmRich.h:83
bool setParameter(std::string &name, double value)
Definition: PndFsmRich.cxx:261
Double_t x
virtual ~PndFsmRich()
Definition: PndFsmRich.cxx:83
double compThetaC(double p, double m)
Definition: PndFsmRich.cxx:189
TTree * t
Definition: bump_analys.C:13
double gauss(double x, double x0, double s)
Definition: PndFsmRich.cxx:182
bool detected(PndFsmTrack *t) const
Definition: PndFsmRich.cxx:199
void initParameters()
Definition: PndFsmRich.cxx:243
double _nPhotMin
Definition: PndFsmRich.h:84
double _radiationLength
Definition: PndFsmRich.h:81
double _Bfield
Definition: PndFsmRich.h:86
double _angleXMax
Definition: PndFsmRich.h:79