StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StSvtDaqPed.hh
1 /***************************************************************************
2  *
3  * $Id: StSvtDaqPed.hh,v 1.1 2001/07/11 23:29:48 munhoz Exp $
4  *
5  * Author: Marcelo Munhoz
6  ***************************************************************************
7  *
8  * Description: SVT DAQ Ped class
9  *
10  ***************************************************************************
11  *
12  * $Log: StSvtDaqPed.hh,v $
13  * Revision 1.1 2001/07/11 23:29:48 munhoz
14  * adding capability for zero suppressed and pedestal reading
15  *
16  *
17  **************************************************************************/
18 
19 #ifndef STSVTDAQPED_HH
20 #define STSVTDAQPED_HH
21 
22 #include "StSvtClassLibrary/StSvtHybridCollection.hh"
23 
24 class StSvtHybridDaqPed;
25 class StSVTReader;
26 
28 {
29 public:
30  StSvtDaqPed();
31  StSvtDaqPed(const char* config, StSVTReader* reader=0, int run=0);
32  StSvtDaqPed(StSvtConfig* config, StSVTReader* reader=0, int run=0);
33 
34  void setRunNumber(int run) { mRunNumber = run;}
35  int setPed(StSVTReader* reader, const char* type="PED");
36 
37 protected:
38  StSvtHybridDaqPed* mPed; // Hybrid Daq Ped Object
39  int mRunNumber; // Run Number
40 
41  ClassDef(StSvtDaqPed,1)
42 };
43 
44 #endif