StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StTrsDigitalSignalGenerator.cc
1 /***************************************************************************
2  *
3  * $Id: StTrsDigitalSignalGenerator.cc,v 1.4 1999/02/28 20:19:32 lasiuk Exp $
4  *
5  * Author:
6  ***************************************************************************
7  *
8  * Description: Responsible for initialization
9  *
10  ***************************************************************************
11  *
12  * $Log: StTrsDigitalSignalGenerator.cc,v $
13  * Revision 1.4 1999/02/28 20:19:32 lasiuk
14  * take number of time bins from db
15  * not compatible with data compression from the analogSignalGenerator
16  *
17  * Revision 1.3 1999/02/04 18:34:01 lasiuk
18  * remove digSector from constructor;
19  * add fillSector for designation
20  *
21  * Revision 1.2 1999/01/18 10:23:10 lasiuk
22  * add StTrsDigitalSector
23  *
24  * Revision 1.1 1998/11/10 17:12:24 fisyak
25  * Put Brian trs versin into StRoot
26  *
27  * Revision 1.1 1998/11/04 18:51:27 lasiuk
28  * initialization in base class
29  * incorporate electronics db
30  * sector by reference
31  *
32  **************************************************************************/
33 #include "StTrsDigitalSignalGenerator.hh"
34 
35 StTrsDigitalSignalGenerator::StTrsDigitalSignalGenerator(StTpcElectronics* el, StTrsSector* sec)
36  : mElectronicsDb(el), mSector(sec)
37 {
38  mNumberOfTimeBins = mElectronicsDb->numberOfTimeBins();
39  PR(mNumberOfTimeBins);
40 }
41 
42 StTrsDigitalSignalGenerator::~StTrsDigitalSignalGenerator() {/* nopt */}
43 
44 void StTrsDigitalSignalGenerator::fillSector(StTrsDigitalSector* theDigitalSector)
45 {
46  mDigitalSector = theDigitalSector;
47 }