15 #include "StSsdDynamicControl.h"
16 #include "StMessMgr.h"
17 #include "tables/St_slsCtrl_Table.h"
18 #include "StDbLib/StDbManager.hh"
19 #include "StDbLib/StDbConfigNode.hh"
20 #include "StDbLib/StDbTable.h"
46 slsCtrl_st *control = slsCtrl->GetTable();
47 if (!control) gMessMgr->Error() <<
"No slsCtrl_st table available" << endm;
50 mnElectronInAMip = control[0].nElectronInAMip;
51 madcDynamic = control[0].adcDynamic;
52 ma128Dynamic = control[0].a128Dynamic;
53 mnbitEncoding = control[0].nbitEncoding;
54 mnstripInACluster = control[0].nstripInACluster;
55 mpairCreationEnergy = control[0].pairCreationEnergy;
56 mparDiffP = control[0].parDiffP;
57 mparDiffN = control[0].parDiffN;
58 mparIndRightP = control[0].parIndRightP;
59 mparIndRightN = control[0].parIndRightN;
60 mparIndLeftP = control[0].parIndLeftP;
61 mparIndLeftN = control[0].parIndLeftN;
62 mdaqCutValue = control[0].daqCutValue;
76 cout<<
"**** **** SSD Dynamic Control Parameters **** ****"<<endl;
77 cout<<
"**** nElectronInAMip = "<<this->getnElectronInAMip()<<
" ****"<<endl;
78 cout<<
"**** adcDynamic = "<<this->getadcDynamic()<<
" ****"<<endl;
79 cout<<
"**** a128Dynamic = "<<this->geta128Dynamic()<<
" ****"<<endl;
80 cout<<
"**** nbitEncoding = "<<this->getnbitEncoding()<<
" ****"<<endl;
81 cout<<
"**** pairCreationEnergy = "<<this->getpairCreationEnergy()<<
" ****"<<endl;
82 cout<<
"**** daqCutValue = "<<this->getdaqCutValue()<<
" ****"<<endl;
83 cout<<
"**************************************"<<endl;