1 #ifndef STSVTONLINESEQADJSIM_HH
2 #define STSVTONLINESEQADJSIM_HH
37 void SetKillBadAnodes(
bool doit){mKillBadAnodes=doit;}
38 bool GetKillBadAnodes(){
return mKillBadAnodes;}
39 void SetSaveAnode2Raw(
bool doit){mSaveAnode2Raw=doit;}
40 bool GetSaveAnode2Raw(){
return mSaveAnode2Raw;}
41 void SetSaveAnode239Raw(
bool doit){mSaveAnode239Raw=doit;}
42 bool GetSaveAnode239Raw(){
return mSaveAnode239Raw;}
44 void SetNumberTBinsToClear(
int n){mNumberTBinsToClear=n;}
45 int GetNumberTBinsToClear(){
return mNumberTBinsToClear;}
46 void SetExtraPixelsBefore(
int num){mExtraBefore=num;}
47 int GetExtraPixelsBefore(){
return mExtraBefore;}
48 void SetExtraPixelsAfter(
int num){mExtraAfter=num;}
49 int GetExtraPixelsAfter(){
return mExtraAfter;}
51 void Set_n_seq_lo(
int num){m_n_seq_lo=num;}
52 int Get_n_seq_lo(){
return m_n_seq_lo;}
53 void Set_n_seq_hi(
int num){m_n_seq_hi=num;}
54 int Get_n_seq_hi(){
return m_n_seq_hi;}
55 void Set_thresh_lo(
int num){m_thresh_lo=num;}
56 int Get_thresh_lo(){
return m_thresh_lo;}
57 void Set_thresh_hi(
int num){m_thresh_hi=num;}
58 int Get_thresh_hi(){
return m_thresh_hi;}
59 void SetPedOffset(
int num){mPedOffset=num;}
60 int GetPedOffset(){
return mPedOffset;}
62 void SetAdjParams(
int thresh_lo,
int n_seq_lo,
int thresh_hi,
int n_seq_hi);
67 virtual void Clear(
const char *opt);
68 virtual Int_t Finish();
69 virtual Int_t InitRun(
int runumber);
82 int mNumberTBinsToClear;
84 bool mSaveAnode239Raw;
85 bool mRunSvtOnlineSeqAdj;
97 int mPedOffsetAdjustment;
98 Bool_t mMask[128*240];
106 Int_t GetDaqParams();
108 Int_t GetPixelData();
111 void Conversion10to8bit();
112 void KillBadAnodes();
115 void ClearFirstTbins();
116 void SequenceSearch();
118 void WriteSequence(
int anode,
int begins,
int ends,
int NumOfHigh);
121 virtual const char *GetCVS()
const
122 {
static const char cvs[]=
"Tag $Name: $ $Id: StSvtOnlineSeqAdjSimMaker.h,v 1.8 2014/08/06 11:43:46 jeromel Exp $ built " __DATE__
" " __TIME__ ;
return cvs;}
Simulates proceses in the DAQ for SVT Slow Simulator: 10 to 8 bit conversion, killing of bad anodes...