StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StTpcSlowControl.hh
1 /***************************************************************************
2  *
3  * $Id: StTpcSlowControl.hh,v 1.4 2008/06/20 15:01:02 fisyak Exp $
4  *
5  * Author:
6  ***************************************************************************
7  *
8  * Description:
9  *
10  ***************************************************************************
11  *
12  * $Log: StTpcSlowControl.hh,v $
13  * Revision 1.4 2008/06/20 15:01:02 fisyak
14  * move from StTrsData to StTpcRawData
15  *
16  * Revision 1.3 2003/09/02 17:59:16 perev
17  * gcc 3.2 updates + WarnOff
18  *
19  * Revision 1.2 1999/04/07 00:45:27 lasiuk
20  * addition of gas gain
21  *
22  * Revision 1.1 1998/11/10 17:12:08 fisyak
23  * Put Brian trs versin into StRoot
24  *
25  * Revision 1.4 1998/11/05 18:19:31 lasiuk
26  * drift voltage
27  *
28  * Revision 1.3 1998/11/04 21:24:56 lasiuk
29  * add voltages/ add print/ incorporate units
30  *
31  * Revision 1.2 1998/05/25 17:03:03 lasiuk
32  * remove abstract destructor
33  *
34  * Revision 1.1 1998/05/20 14:58:26 ullrich
35  * Initial Revision
36  *
37  **************************************************************************/
38 #ifndef ST_TPC_SLOW_CONTROL_HH
39 #define ST_TPC_SLOW_CONTROL_HH
40 #include <Stiostream.h>
41 
43 public:
44  virtual ~StTpcSlowControl() {/* nopt */}
45 
46  virtual double driftVelocity(int sector) const = 0;
47 
48  // Environment
49  virtual double hallTemperature() const = 0;
50  virtual double hallPressure() const = 0;
51 
52  // Voltages
53  virtual double driftVoltage() const = 0;
54 
55  virtual double innerSectorAnodeVoltage() const = 0;
56  virtual double innerSectorGatingGridVoltage() const = 0;
57  virtual double outerSectorAnodeVoltage() const = 0;
58  virtual double outerSectorGatingGridVoltage() const = 0;
59 
60  // Gas Gains
61  virtual double innerSectorGasGain() const = 0;
62  virtual double innerSectorGasGainVzero() const = 0;
63  virtual double innerSectorGasGainb() const = 0;
64 
65  virtual double outerSectorGasGain() const = 0;
66  virtual double outerSectorGasGainVzero() const = 0;
67  virtual double outerSectorGasGainb() const = 0;
68 
69  // Diagnostic
70  virtual void print(ostream& os = cout) const = 0;
71 };
72 
73 #endif