StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFtpcDriftMapMaker.h
1 // $Id: StFtpcDriftMapMaker.h,v 1.12 2014/08/06 11:43:16 jeromel Exp $
2 // $Log: StFtpcDriftMapMaker.h,v $
3 // Revision 1.12 2014/08/06 11:43:16 jeromel
4 // Suffix on literals need to be space (later gcc compiler makes it an error) - first wave of fixes
5 //
6 // Revision 1.11 2009/11/10 12:30:48 jcs
7 // replace StMagUtilities with StarMagField
8 //
9 // Revision 1.10 2006/08/02 13:57:57 jcs
10 // add deltaAr argument to allow user to change gas compostion (default: deltaAr=0)
11 //
12 // Revision 1.9 2003/09/10 19:47:16 perev
13 // ansi corrs
14 //
15 // Revision 1.8 2001/10/23 07:27:48 jcs
16 // implement new StFtpcDbReader constructor
17 //
18 // Revision 1.7 2001/07/12 18:17:18 jcs
19 // remove unnecessary calls to StarDb/ftpc tables
20 //
21 // Revision 1.6 2001/05/17 20:45:19 jcs
22 // change to use Jim Thomas StMagUtilities
23 //
24 // Revision 1.5 2001/04/02 12:06:36 jcs
25 // get FTPC calibrations,geometry from MySQL database
26 //
27 // Revision 1.4 2001/03/19 15:53:05 jcs
28 // use ftpcDimensions from database
29 //
30 // Revision 1.3 2001/03/09 13:54:26 jcs
31 // write out cstructs with new values so that they can be added to database
32 //
33 // Revision 1.2 2001/03/07 15:12:39 jcs
34 // use MySQL database instead of params
35 //
36 // Revision 1.1 2000/12/20 08:44:02 jcs
37 // Replace pam/ftpc/fmg with maker
38 //
39 //
40 #ifndef STAR_StFtpcDriftMapMaker
41 #define STAR_StFtpcDriftMapMaker
42 
44 // //
45 // StFtpcDriftMapMaker class //
46 // //
48 #ifndef StMaker_H
49 #include "StMaker.h"
50 #endif
51 
52 #include "StarMagField.h"
53 
54 class St_db_Maker;
55 class St_ftpcDimensions;
56 class St_ftpcPadrowZ;
57 class St_ftpcEField;
58 class St_ftpcVDrift;
59 class St_ftpcDeflection;
60 class St_ftpcdVDriftdP;
61 class St_ftpcdDeflectiondP;
62 class St_ftpcGas;
63 class St_ftpcDriftField;
64 class St_ftpcElectronics;
65 
66 class TH1F;
67 class TH2F;
68 
69 class StFtpcDriftMapMaker : public StMaker {
70  private:
71  char* fTableName; // c-structure name that is same as table in database
72  char* fOutputFileName; // file name for output
73  // static Char_t m_VersionCVS = "$Id: StFtpcDriftMapMaker.h,v 1.12 2014/08/06 11:43:16 jeromel Exp $";
74  // Int_t m_mode; // mode 1 = primaries;
75  St_db_Maker *mDbMaker;
76  St_ftpcDimensions *m_dimensions;
77  St_ftpcPadrowZ *m_padrow_z;
78  St_ftpcEField *m_efield;
79  St_ftpcVDrift *m_vdrift;
80  St_ftpcDeflection *m_deflection;
81  St_ftpcdVDriftdP *m_dvdriftdp;
82  St_ftpcdDeflectiondP *m_ddeflectiondp;
83  St_ftpcGas *m_gas;
84  St_ftpcDriftField *m_driftfield;
85  St_ftpcElectronics *m_electronics;
86  void MakeHistograms();// Histograms for FTPC drift map
87 
88  protected:
89  public:
90  StFtpcDriftMapMaker(const StarMagField::EBField map, const Float_t factor,const Float_t deltaAr);
91  virtual ~StFtpcDriftMapMaker();
92 
93  // virtual void Set_mode (Int_t m = 2){m_mode = m;} // *MENU*
94  virtual const char *GetCVS() const
95  {static const char cvs[]="Tag $Name: $ $Id: StFtpcDriftMapMaker.h,v 1.12 2014/08/06 11:43:16 jeromel Exp $ built " __DATE__ " " __TIME__ ; return cvs;}
96 
97  ClassDef(StFtpcDriftMapMaker,0)
98 };
99 
100 #endif
101