PandaRoot
PndFsmRich.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 //--------------------------------------------------------------------------
14 // File and Version Information:
15 // $Id: FsmRich.hh,v 1.1 2007/05/24 08:07:40 klausg Exp $
16 //
17 // Description:
18 // Class FsmRich
19 //
20 // Implementation of the far forward RICH for the Fast Sim Detectors
21 //
22 // This software was developed for the PANDA collaboration. If you
23 // use all or part of it, please give an appropriate acknowledgement.
24 //
25 // Author List:
26 // Klaus Goetzen Original Author
27 //
28 // Copyright Information:
29 // Copyright (C) 2006 GSI
30 //
31 //------------------------------------------------------------------------
32 
33 #ifndef PNDFSMRICH_H
34 #define PNDFSMRICH_H
35 
36 //----------------------
37 // Base Class Headers --
38 //----------------------
39 
40 //-------------------------------
41 // Collaborating class Headers --
42 //-------------------------------
43 #include <iosfwd>
44 #include "ArgList.h"
45 #include "PndFsmAbsDet.h"
46 
47 //--------------------------------------------
48 // Collaborating class forward declarations --
49 // -------------------------------------------
50 class PndFsmTrack;
51 class PndFsmResponse;
52 
53 class PndFsmRich : public PndFsmAbsDet {
54  public:
55  //--------------------
56  // Public interface --
57  //--------------------
58 
59  //
60  // Constructors
61  //
62 
64  PndFsmRich();
65  PndFsmRich(ArgList &par);
68  virtual ~PndFsmRich();
69 
74  virtual PndFsmResponse *respond(PndFsmTrack *t);
75 
76  private:
77  bool detected(PndFsmTrack *t) const;
78  double compThetaC(double p, double m);
79  double gauss(double x, double x0, double s);
80 
81  void initParameters();
82  void print(std::ostream &o);
83  bool setParameter(std::string &name, double value);
84  //
85  // Modifiers
86  //
87 
88  double _angleXMax;
89  double _angleYMax;
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 _dRich; // thickness of radiator
98  double _dp; // accuracy of momentum measurement
99 };
100 
101 #endif
virtual ~PndFsmRich()
__m128 m
Definition: P4_F32vec4.h:38
std::list< std::string > ArgList
Definition: ArgList.h:19
virtual PndFsmResponse * respond(PndFsmTrack *t)