StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFtpcGasUtilities.hh
1 //
3 // $Id: StFtpcGasUtilities.hh,v 1.4 2005/03/23 14:32:29 jcs Exp $
4 //
5 // StFtpcGasUtilities
6 //
7 // Author: Janet Seyboth 10/30/2003
8 //
10 //
11 // $Log: StFtpcGasUtilities.hh,v $
12 // Revision 1.4 2005/03/23 14:32:29 jcs
13 // additional changes for using body + extra temperatures starting with y2005
14 //
15 // Revision 1.3 2005/03/14 22:57:18 jcs
16 // clean up code
17 // use body + extra temperature readings starting with y2005
18 //
19 // Revision 1.2 2004/07/18 14:12:45 jcs
20 // use adjustAverageWest/East from database
21 // always output temperature calculation information since this is a critical value for the FTPC
22 //
23 // Revision 1.1 2003/11/13 14:12:17 jcs
24 // move pressure and gas corrections from StFtpcClusterMaker.cxx to StFtpcGasUtilities
25 //
26 //
28 
29 #ifndef STAR_StFtpcGasUtilities
30 #define STAR_StFtpcGasUtilities
31 
32 #include "StDetectorDbMaker/StDetectorDbFTPCGas.h"
33 #include "tables/St_ftpcTemps_Table.h"
34 
36 {
37  private:
38  StFtpcParamReader *mParam;
39  StFtpcDbReader *mDb;
40  StDetectorDbFTPCGas *mGas;
41  St_ftpcTemps *mTemps;
42 
43  public:
45  StFtpcDbReader *dbReader,
46  StDetectorDbFTPCGas *mGas,
47  St_ftpcTemps *mTemps);
48 
50 
51  Int_t barometricPressure();
52  Int_t averageTemperatureWest(Int_t dbDate,Int_t runNumber);
53  Int_t averageTemperatureEast(Int_t dbDate,Int_t runNumber);
54  Int_t averageTemperatureWest(Int_t dbDate,Int_t runNumber,St_ftpcTemps *ftpcTemps);
55  Int_t averageTemperatureEast(Int_t dbDate,Int_t runNumber,St_ftpcTemps *ftpcTemps);
56  Int_t defaultTemperatureWest(Int_t dbDate,Bool_t SVT_On);
57  Int_t defaultTemperatureEast(Int_t dbDate,Bool_t SVT_On);
58 
59 };
60 
61 #endif