FairRoot/PandaRoot
PndFsmDrcDisc.h
Go to the documentation of this file.
1 //--------------------------------------------------------------------------
2 // File and Version Information:
3 // $Id: FsmDrcDisc.hh,v 1.2 2006/07/13 10:43:45 klausg Exp $
4 //
5 // Description:
6 // Class FsmDrcDisc
7 //
8 // Implementation of the Disc 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 PNDFSMDRCDISC_H
22 #define PNDFSMDRCDISC_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 
55  PndFsmDrcDisc();
59  virtual ~PndFsmDrcDisc();
60 
66 
67 private:
68  bool detected(PndFsmTrack *t) const;
69  double compThetaC(double p, double m);
70  double gauss(double x, double x0, double s);
71 
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  // Modifiers
82  //
83 
84 
85  TH2F *trapfrac[5];
86 
87  double _thtMin; // spatial coverage
88  double _thtMax; // "
89  double _radiationLength; // material budget
90  double _pmin; // minimum p_t to reach DIRC
91  double _dthtc; // resolution for tht_C for single photon (-> res=dthtc/sqrt(nPhot) )
92  double _nPhotMin; // minimum number of photons cutoff
93  double _nRefrac; // refraction index of radiator
94  double _Bfield; // B field strength [T]
95  double _effNPhotons; // overall efficiency for photon detection
96  double _dDisc; // thickness of radiator disc
97  double _dp; // accuracy of momentum measurement
98  double _trap; // avg trapping fraction (only when file below doesn't exist)
99  std::string _parFileName; //this file contains root histograms with the trapping fractions
100 
101 };
102 
103 #endif
Double_t x0
Definition: checkhelixhit.C:70
Double_t p
Definition: anasim.C:58
__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]
bool detected(PndFsmTrack *t) const
virtual ~PndFsmDrcDisc()
double _effNPhotons
Definition: PndFsmDrcDisc.h:95
TH2F * trapfrac[5]
Definition: PndFsmDrcDisc.h:85
std::string _parFileName
Definition: PndFsmDrcDisc.h:99
virtual PndFsmResponse * respond(PndFsmTrack *t)
TString name
double gauss(double x, double x0, double s)
void print(std::ostream &o)
Double_t x
bool setParameter(std::string &name, double value)
double _nPhotMin
Definition: PndFsmDrcDisc.h:92
TTree * t
Definition: bump_analys.C:13
double compThetaC(double p, double m)
double _radiationLength
Definition: PndFsmDrcDisc.h:89