FairRoot/PandaRoot
PndFsmDrcBarrel.h
Go to the documentation of this file.
1 //--------------------------------------------------------------------------
2 // File and Version Information:
3 // $Id: FsmDrcBarrel.hh,v 1.3 2006/07/13 10:43:45 klausg Exp $
4 //
5 // Description:
6 // Class FsmDrc
7 //
8 // Implementation of the barrel DIRC 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 PNDFSMDRCBARREL_H
22 #define PNDFSMDRCBARREL_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 TH2F;
41 
43 {
44 public:
45 
46  //--------------------
47  // Public interface --
48  //--------------------
49 
50  //
51  // Constructors
52  //
53 
59  virtual ~PndFsmDrcBarrel();
60 
66 
67 private:
68 
69  bool detected(PndFsmTrack *t) const;
70  double compThetaC(double p, double m);
71  double gauss(double x, double x0, double s);
72 
73  void initParameters();
74  void print(std::ostream &o);
75  bool setParameter(std::string &name, double value);
76  bool setParameter(std::string &name, std::string &value);
77 
78  bool readParameters();
79 
80 
81  //
82  // Modifiers
83  //
84 
85 
86  TH2F *trapfrac[5];
87 
88  double _thtMin; // spatial coverage
89  double _thtMax; // "
90  double _radiationLength; // material budget
91  double _pmin; // minimum p_t to reach DIRC
92  double _dthtc; // resolution for tht_C for single photon (-> res=dthtc/sqrt(nPhot) )
93  double _nPhotMin; // minimum number of photons cutoff
94  double _nRefrac; // refraction index of radiator
95  double _Bfield; // B field strength [T]
96  double _effNPhotons; // overall efficiency for photon detection
97  double _rBarrel; // radius of DIRC barrel
98  double _dSlab; // thickness of radiator bars/slabs
99  double _dp; // momentum resolution
100  double _trap; // avg trapping fraction (only when file below doesn't exist)
101  std::string _parFileName; //this file contains root histograms with the trapping fractions
102 
103 };
104 
105 #endif
Double_t x0
Definition: checkhelixhit.C:70
Double_t p
Definition: anasim.C:58
__m128 m
Definition: P4_F32vec4.h:28
std::string _parFileName
std::list< std::string > ArgList
Definition: ArgList.h:7
virtual ~PndFsmDrcBarrel()
TLorentzVector s
Definition: Pnd2DStar.C:50
bool detected(PndFsmTrack *t) const
Double_t par[3]
double compThetaC(double p, double m)
bool setParameter(std::string &name, double value)
TString name
virtual PndFsmResponse * respond(PndFsmTrack *t)
Double_t x
TTree * t
Definition: bump_analys.C:13
double gauss(double x, double x0, double s)
TH2F * trapfrac[5]
void print(std::ostream &o)