StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StSstDynamicControl.h
1 //$Id: StSstDynamicControl.h,v 1.1 2015/06/23 16:26:19 jeromel Exp $
2 //
3 //$Log: StSstDynamicControl.h,v $
4 //Revision 1.1 2015/06/23 16:26:19 jeromel
5 //First version created from the SSD code and reshaped
6 //
7 //Revision 1.1 2015/04/19 17:30:32 bouchet
8 //initial commit ; SST codes
9 //
10 
11 //fork from the SSD code, move along - see history therein
12 
13 #ifndef STAR_StSstDynamicControl
14 #define STAR_StSstDynamicControl
15 #include "Rtypes.h"
16 class St_sstSlsCtrl;
17 
19  public:
21  StSstDynamicControl(St_sstSlsCtrl *sstCtrl);
23 
24  Int_t getnElectronInAMip();
25  Int_t getadcDynamic();
26  Int_t geta128Dynamic();
27  Int_t getnbitEncoding();
28  Double_t getpairCreationEnergy();
29  Float_t getdaqCutValue();
30 
31  void setnElectronInAMip(Int_t val);
32  void setadcDynamic(Int_t val);
33  void seta128Dynamic(Int_t val);
34  void setnbitEncoding(Int_t val);
35  void setnstripInACluster(Int_t val);
36  void setpairCreationEnergy(Double_t val);
37  void setparDiffP(Double_t val);
38  void setparDiffN(Double_t val);
39  void setparIndRightP(Double_t val);
40  void setparIndRightN(Double_t val);
41  void setparIndLeftP(Double_t val);
42  void setparIndLeftN(Double_t val);
43  void setdaqCutValue(Float_t val);
44  void printParameters();
45 
46  private:
47  Int_t mnElectronInAMip;
48  Int_t madcDynamic;
49  Int_t ma128Dynamic;
50  Int_t mnbitEncoding;
51  Int_t mnstripInACluster;
52  Double_t mpairCreationEnergy;
53  Double_t mparDiffP;
54  Double_t mparDiffN;
55  Double_t mparIndRightP;
56  Double_t mparIndRightN;
57  Double_t mparIndLeftP;
58  Double_t mparIndLeftN;
59  Float_t mdaqCutValue;
60 };
61 
62 inline Int_t StSstDynamicControl::getnElectronInAMip() { return mnElectronInAMip; }
63 inline Int_t StSstDynamicControl::getadcDynamic() { return madcDynamic;}
64 inline Int_t StSstDynamicControl::geta128Dynamic() { return ma128Dynamic;}
65 inline Int_t StSstDynamicControl::getnbitEncoding() { return mnbitEncoding;}
66 inline Double_t StSstDynamicControl::getpairCreationEnergy() { return mpairCreationEnergy;}
67 inline Float_t StSstDynamicControl::getdaqCutValue() { return mdaqCutValue;}
68 
69 inline void StSstDynamicControl::setnElectronInAMip(Int_t val) { mnElectronInAMip = val ;}
70 inline void StSstDynamicControl::setadcDynamic(Int_t val) { madcDynamic = val ;}
71 inline void StSstDynamicControl::seta128Dynamic(Int_t val) { ma128Dynamic = val ;}
72 inline void StSstDynamicControl::setnbitEncoding(Int_t val) { mnbitEncoding = val ;}
73 inline void StSstDynamicControl::setnstripInACluster(Int_t val) { mnstripInACluster = val ;}
74 inline void StSstDynamicControl::setpairCreationEnergy(Double_t val) { mpairCreationEnergy = val ;}
75 inline void StSstDynamicControl::setparDiffP(Double_t val) { mparDiffP = val ;}
76 inline void StSstDynamicControl::setparDiffN(Double_t val) { mparDiffN = val ;}
77 inline void StSstDynamicControl::setparIndRightP(Double_t val) { mparIndRightP = val ;}
78 inline void StSstDynamicControl::setparIndRightN(Double_t val) { mparIndRightN = val ;}
79 inline void StSstDynamicControl::setparIndLeftP(Double_t val) { mparIndLeftP = val ;}
80 inline void StSstDynamicControl::setparIndLeftN(Double_t val) { mparIndLeftN = val ;}
81 inline void StSstDynamicControl::setdaqCutValue(Float_t val) { mdaqCutValue = val ;}
82 
83 #endif
84 
85