StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StSvtDaq.hh
1 /***************************************************************************
2  *
3  * $Id: StSvtDaq.hh,v 1.2 2004/03/30 20:20:00 caines Exp $
4  *
5  * Author: Marcelo Munhoz
6  ***************************************************************************
7  *
8  * Description: SVT Daq parameters object.
9  *
10  ***************************************************************************
11  *
12  * $Log: StSvtDaq.hh,v $
13  * Revision 1.2 2004/03/30 20:20:00 caines
14  * Add functions to Daq code from Petr
15  *
16  * Revision 1.1 2004/01/30 00:13:03 munhoz
17  * daq parameters object
18  *
19  *
20  **************************************************************************/
21 
22 #ifndef STSVTDAQ_HH
23 #define STSVTDAQ_HH
24 
25 #define MAX_NUMBER_OF_BARRELS 3
26 
27 #include "StObject.h"
28 #include "TString.h"
29 
30 class StSvtDaq: public StObject
31 {
32 public:
33  StSvtDaq();
34  virtual ~StSvtDaq();
35 
36  StSvtDaq(const StSvtDaq&);
37  StSvtDaq& operator = (const StSvtDaq&);
38 
39  void setClearedTimeBins(long value){clearedTimeBins=value;} //
40  void setSavedBlackAnodes(long value, int i){savedBlackAnodes[i]=value;} //
41  void setPixelsBefore(long value){pixelsBefore=value;}
42  void setPixelsAfter(long value){pixelsAfter=value;}
43  void setPedOffset(long value) {pedOffset=value;}
44  void setSeqLo(long value){seqLo=value;}
45  void setSeqHi(long value){seqHi=value;}
46  void setThreshLo(long value){threshLo=value;}
47  void setThreshHi(long value){threshHi=value;}
48 
49  long getClearedTimeBins(){return clearedTimeBins;} //
50  long getSavedBlackAnodes(int i){return savedBlackAnodes[i];} //
51  long getPixelsBefore(){return pixelsBefore;}
52  long getPixelsAfter(){return pixelsAfter;}
53  long getPedOffset(){return pedOffset;}
54  long getSeqLo(){return seqLo;}
55  long getSeqHi(){return seqHi;}
56  long getThreshLo(){return threshLo;}
57  long getThreshHi(){return threshHi;}
58 
59 protected:
60  long clearedTimeBins; //
61  long savedBlackAnodes[4]; //
62  long pixelsBefore;
63  long pixelsAfter;
64  long pedOffset;
65  long seqLo;
66  long seqHi;
67  long threshLo;
68  long threshHi;
69 
70  ClassDef(StSvtDaq,1)
71 };
72 
73 #endif