StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StTrsFastDigitalSignalGenerator.hh
1 /***************************************************************************
2  *
3  * StTrsFastDigitalSignalGenerator.hh,v 1.1 1999/10/01
4  * 17:15:00 HUi Long Exp $
5  *
6  * Author: Hui Long
7  ***************************************************************************
8  *
9  * Description: Head file for the StTrsFastDigitalSignalGenerator.cc.
10  *
11  *
12  ***************************************************************************
13  *
14  * $Log : v1.1 Hui Long$
15  *
16  **************************************************************************/
17 #ifndef ST_TRS_PARAMETERIZED_DIGITAL_SIGNAL_GENERATOR_HH
18 #define ST_TRS_PARAMETERIZED_DIGITAL_SIGNAL_GENERATOR_HH
19 #include <Stiostream.h>
20 #include "StTrsDigitalSignalGenerator.hh"
21 #include "StDaqLib/TPC/trans_table.hh"
23 public:
25  //StTrsFastDigitalSignalGenerator(const StTrsFastDigitalSignalGenerator&);
26  //StTrsFastDigitalSignalGenerator& operator=(const StTrsFastDigitalSignalGenerator&);
27 
28  static StTrsDigitalSignalGenerator* instance(StTpcElectronics* el=0, StTrsSector* se=0,double simpleConv=0);
29 
30  void digitizeSignal() ;
31  void addWhiteNoise() ;
32  void addCorrelatedNoise();
33 private :
34  unsigned char do10to8Translation(int ) const;
35 public:
37 
38 private:
39  static StTrsDigitalSignalGenerator* mInstance;
40 
41  double mSimpleConversion;
42 };
43 #endif
44 
45 
46 
47 
48 
49 
50 
51