FairRoot/PandaRoot
PndFsmEmcBarrel.h
Go to the documentation of this file.
1 //--------------------------------------------------------------------------
2 // File and Version Information:
3 // $Id: FsmEmcBarrel.hh,v 1.5 2006/07/13 10:43:45 klausg Exp $
4 //
5 // Description:
6 // Class FsmEmcBarrel
7 //
8 // Implementation of the EMC barrel 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 PNDFSMEMCBARREL_H
22 #define PNDFSMEMCBARREL_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 
42 {
43 public:
44 
45  //--------------------
46  // Public interface --
47  //--------------------
48 
49  //
50  // Constructors
51  //
52 
58  virtual ~PndFsmEmcBarrel();
59 
65 
66 private:
67 
68  bool detected(PndFsmTrack *t) const;
69  double dE(PndFsmTrack *t) const;
70  double dphi(PndFsmTrack *t) const;
71  double dtheta(PndFsmTrack *t) const;
72 
73  void initParameters();
74  void print(std::ostream &o);
75  bool setParameter(std::string &name, double value);
76 
77 
78  //
79  // Modifiers
80  //
81 
82  double _aPar; //Parameter 1 for energy resolution
83  double _bPar; //Parameter 2 for energy resolution
84  double _cPar; //Parameter 3 for energy resolution
85  double _xtalDim; //single x-tal front width
86  double _Emin; //energy threshold
87  double _barrelRadius; //radius of EMC barrel
88  double _resFactor; //multiplier for angular resolution
89  double _thtMin; //polar angle coverage min angle
90  double _thtMax; //polar angle coverage max angle
91  double _radiationLength; //material budget
92  double _phiMin; //angle coverage min
93  double _phiMax; //angle coverage max
94 };
95 
96 #endif
bool setParameter(std::string &name, double value)
std::list< std::string > ArgList
Definition: ArgList.h:7
double dphi(PndFsmTrack *t) const
Double_t par[3]
double dtheta(PndFsmTrack *t) const
virtual ~PndFsmEmcBarrel()
bool detected(PndFsmTrack *t) const
TString name
void print(std::ostream &o)
double dE(PndFsmTrack *t) const
TTree * t
Definition: bump_analys.C:13
virtual PndFsmResponse * respond(PndFsmTrack *t)