17 #include "StSstDynamicControl.h"
18 #include "StMessMgr.h"
19 #include "tables/St_sstSlsCtrl_Table.h"
20 #include "StDbLib/StDbManager.hh"
21 #include "StDbLib/StDbConfigNode.hh"
22 #include "StDbLib/StDbTable.h"
34 sstSlsCtrl_st *control = sstCtrl->GetTable();
35 if (!control) {LOG_WARN <<
"No sstSlsCtrl_st table available" << endm;}
38 mnElectronInAMip = control[0].nElectronInAMip;
39 madcDynamic = control[0].adcDynamic;
40 ma128Dynamic = control[0].a128Dynamic;
41 mnbitEncoding = control[0].nbitEncoding;
42 mnstripInACluster = control[0].nstripInACluster;
43 mpairCreationEnergy = control[0].pairCreationEnergy;
44 mparDiffP = control[0].parDiffP;
45 mparDiffN = control[0].parDiffN;
46 mparIndRightP = control[0].parIndRightP;
47 mparIndRightN = control[0].parIndRightN;
48 mparIndLeftP = control[0].parIndLeftP;
49 mparIndLeftN = control[0].parIndLeftN;
50 mdaqCutValue = control[0].daqCutValue;
65 LOG_INFO<<
"**** **** SST Dynamic Control Parameters **** ****"<<endm;
66 LOG_INFO<<
"**** nElectronInAMip = "<<this->getnElectronInAMip()<<
" ****"<<endm;
67 LOG_INFO<<
"**** adcDynamic = "<<this->getadcDynamic()<<
" ****"<<endm;
68 LOG_INFO<<
"**** a128Dynamic = "<<this->geta128Dynamic()<<
" ****"<<endm;
69 LOG_INFO<<
"**** nbitEncoding = "<<this->getnbitEncoding()<<
" ****"<<endm;
70 LOG_INFO<<
"**** pairCreationEnergy = "<<this->getpairCreationEnergy()<<
" ****"<<endm;
71 LOG_INFO<<
"**** daqCutValue = "<<this->getdaqCutValue()<<
" ****"<<endm;
72 LOG_INFO<<
"**************************************"<<endm;