StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StSsdDynamicControl.h
1 // $Id: StSsdDynamicControl.h,v 1.1 2006/10/16 16:43:29 bouchet Exp $
2 //
3 // $Log: StSsdDynamicControl.h,v $
4 // Revision 1.1 2006/10/16 16:43:29 bouchet
5 // StSsdUtil regroups now methods for the classes StSsdStrip, StSsdCluster and StSsdPoint
6 //
7 // Revision 1.5 2006/09/15 21:03:14 bouchet
8 // id_mctrack is using for setIdTruth and propagated to the hit
9 //
10 // Revision 1.4 2005/03/18 14:22:40 lmartin
11 // missing CVS header added
12 //
13 
25 #ifndef STAR_StSsdDynamicControl
26 #define STAR_StSsdDynamicControl
27 #include "Rtypes.h"
28 /* #include "StDbLib/StDbDefs.hh" */
29 
30 /* class StDbManager; */
31 /* class StDbConfigNode; */
32 class St_slsCtrl;
33 
35  public:
37  StSsdDynamicControl(St_slsCtrl *slsCtrl);
39 
40 /* StDbManager* mDbMgr; //! */
41 /* StDbConfigNode* maccess; //! */
42 
43  Int_t getnElectronInAMip();
44  Int_t getadcDynamic();
45  Int_t geta128Dynamic();
46  Int_t getnbitEncoding();
47  Double_t getpairCreationEnergy();
48  Float_t getdaqCutValue();
49 
50  void setnElectronInAMip(Int_t val);
51  void setadcDynamic(Int_t val);
52  void seta128Dynamic(Int_t val);
53  void setnbitEncoding(Int_t val);
54  void setnstripInACluster(Int_t val);
55  void setpairCreationEnergy(Double_t val);
56  void setparDiffP(Double_t val);
57  void setparDiffN(Double_t val);
58  void setparIndRightP(Double_t val);
59  void setparIndRightN(Double_t val);
60  void setparIndLeftP(Double_t val);
61  void setparIndLeftN(Double_t val);
62  void setdaqCutValue(Float_t val);
63  void printParameters();
64 
65  private:
66  Int_t mnElectronInAMip;
67  Int_t madcDynamic;
68  Int_t ma128Dynamic;
69  Int_t mnbitEncoding;
70  Int_t mnstripInACluster;
71  Double_t mpairCreationEnergy;
72  Double_t mparDiffP;
73  Double_t mparDiffN;
74  Double_t mparIndRightP;
75  Double_t mparIndRightN;
76  Double_t mparIndLeftP;
77  Double_t mparIndLeftN;
78  Float_t mdaqCutValue;
79 };
80 
81 inline Int_t StSsdDynamicControl::getnElectronInAMip() { return mnElectronInAMip; }
82 inline Int_t StSsdDynamicControl::getadcDynamic() { return madcDynamic;}
83 inline Int_t StSsdDynamicControl::geta128Dynamic() { return ma128Dynamic;}
84 inline Int_t StSsdDynamicControl::getnbitEncoding() { return mnbitEncoding;}
85 inline Double_t StSsdDynamicControl::getpairCreationEnergy() { return mpairCreationEnergy;}
86 inline Float_t StSsdDynamicControl::getdaqCutValue() { return mdaqCutValue;}
87 
88 inline void StSsdDynamicControl::setnElectronInAMip(Int_t val) { mnElectronInAMip = val ;}
89 inline void StSsdDynamicControl::setadcDynamic(Int_t val) { madcDynamic = val ;}
90 inline void StSsdDynamicControl::seta128Dynamic(Int_t val) { ma128Dynamic = val ;}
91 inline void StSsdDynamicControl::setnbitEncoding(Int_t val) { mnbitEncoding = val ;}
92 inline void StSsdDynamicControl::setnstripInACluster(Int_t val) { mnstripInACluster = val ;}
93 inline void StSsdDynamicControl::setpairCreationEnergy(Double_t val) { mpairCreationEnergy = val ;}
94 inline void StSsdDynamicControl::setparDiffP(Double_t val) { mparDiffP = val ;}
95 inline void StSsdDynamicControl::setparDiffN(Double_t val) { mparDiffN = val ;}
96 inline void StSsdDynamicControl::setparIndRightP(Double_t val) { mparIndRightP = val ;}
97 inline void StSsdDynamicControl::setparIndRightN(Double_t val) { mparIndRightN = val ;}
98 inline void StSsdDynamicControl::setparIndLeftP(Double_t val) { mparIndLeftP = val ;}
99 inline void StSsdDynamicControl::setparIndLeftN(Double_t val) { mparIndLeftN = val ;}
100 inline void StSsdDynamicControl::setdaqCutValue(Float_t val) { mdaqCutValue = val ;}
101 
102 #endif
103 
104