FairRoot/PandaRoot
PndFsmTof.h
Go to the documentation of this file.
1 //--------------------------------------------------------------------------
2 // File and Version Information:
3 // $Id: FsmTof.hh,v 1.1 2006/10/05 14:05:53 aida Exp $
4 //
5 // Description:
6 // Class FsmTof
7 //
8 // Implementation of the barrel Tof 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 PNDFSMTOF_H
22 #define PNDFSMTOF_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 PndFsmTof: public PndFsmAbsDet
42 {
43 public:
44 
45  //--------------------
46  // Public interface --
47  //--------------------
48 
49  //
50  // Constructors
51  //
52 
54  PndFsmTof();
58  virtual ~PndFsmTof();
59 
65 private:
66 
67  bool detected(PndFsmTrack *t) const;
68  double gauss_t(double x, double x0, double s);
69 
70  void initParameters();
71  void print(std::ostream &o);
72  bool setParameter(std::string &name, double value);
73  //
74  // Modifiers
75  //
76 
77  double _thtMin; // spatial coverage
78  double _thtMax; // "
79  double _radiationLength; // material budget
80  double _pmin;
81  double _Bfield; // B field strength [T]
82  double _rBarrel; // radius of Tof barrel
83  double _dSlab; // thickness of radiator bars/slabs
84  double _dp; // distortion of momentum
85  double _dt; // time res
86 };
87 
88 #endif
Double_t x0
Definition: checkhelixhit.C:70
double _rBarrel
Definition: PndFsmTof.h:82
bool detected(PndFsmTrack *t) const
Definition: PndFsmTof.cxx:202
void initParameters()
Definition: PndFsmTof.cxx:255
std::list< std::string > ArgList
Definition: ArgList.h:7
virtual PndFsmResponse * respond(PndFsmTrack *t)
Definition: PndFsmTof.cxx:92
TLorentzVector s
Definition: Pnd2DStar.C:50
double _dp
Definition: PndFsmTof.h:84
Double_t par[3]
double _pmin
Definition: PndFsmTof.h:80
virtual ~PndFsmTof()
Definition: PndFsmTof.cxx:83
double _radiationLength
Definition: PndFsmTof.h:79
double gauss_t(double x, double x0, double s)
Definition: PndFsmTof.cxx:195
bool setParameter(std::string &name, double value)
Definition: PndFsmTof.cxx:271
double _dSlab
Definition: PndFsmTof.h:83
void print(std::ostream &o)
Definition: PndFsmTof.cxx:239
double _Bfield
Definition: PndFsmTof.h:81
TString name
Double_t x
double _thtMin
Definition: PndFsmTof.h:77
TTree * t
Definition: bump_analys.C:13
double _thtMax
Definition: PndFsmTof.h:78
double _dt
Definition: PndFsmTof.h:85