00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058 #ifndef STSVTDBMAKER_H
00059 #define STSVTDBMAKER_H
00060
00061 #ifndef StMaker_H
00062 #include "StMaker.h"
00063 #endif
00064
00065 class StChain;
00066
00067 class StSvtHybridCollection;
00068 class StSvtHybridDriftVelocity;
00069 class StSvtHybridDriftCurve;
00070 class StSvtConfig;
00071 class StSvtGeometry;
00072 class StSvtT0;
00073 class StSvtDaq;
00074 #include "THashList.h"
00075 class TGeoHMatrix;
00076
00077
00078 #ifndef __CINT__
00079 #include "StarCallf77.h"
00080 #define SvtLtoG_ F77_NAME(svtltog,SVTLTOG)
00081 #define SvtGtoL_ F77_NAME(svtgtol,SVTGTOL)
00082 extern "C" {
00083 int type_of_call SvtLtoG_(float *x, float *xp, int *index);
00084 int type_of_call SvtGtoL_(float *x, float *xp, int *index);
00085
00086 }
00087 #endif
00088 class StSvtDbMaker : public StMaker {
00089 private:
00090 static THashList *fRotList;
00091 public:
00092 StSvtDbMaker(const char *name="SvtDb");
00093 virtual ~StSvtDbMaker();
00094 virtual Int_t Init();
00095 virtual Int_t InitRun(int runumber);
00096 virtual Int_t Make();
00097 virtual Int_t Finish();
00098 virtual void Clear(const char *opt);
00099 virtual THashList *GetRotations();
00100 StSvtHybridDriftVelocity* getDriftVelocity(int barrel, int ladder, int wafer, int hybrid);
00101 StSvtConfig* getConfiguration();
00102 StSvtHybridCollection* getDriftVelocity();
00103 void getDriftVelocityAverage(StSvtHybridCollection* svtColl);
00104 StSvtHybridCollection* getDriftCurve();
00105 StSvtHybridCollection* getAnodeDriftCorr();
00106 StSvtHybridCollection* getPedestals();
00107 StSvtHybridCollection* getRms();
00108 StSvtGeometry* getGeometry();
00109 StSvtHybridCollection* getBadAnodes();
00110 int getElectronics();
00111 StSvtT0* getT0();
00112 StSvtDaq* getDaqParameters();
00113 static THashList *RotMatrices() {return fRotList;}
00114 protected:
00115 virtual TDataSet *FindDataSet (const char* logInput,
00116 const StMaker *uppMk=0,
00117 const StMaker *dowMk=0) const ;
00118
00119 virtual const char *GetCVS() const
00120 {static const char cvs[]="Tag $Name: $ $Id: StSvtDbMaker.h,v 1.14 2007/07/31 16:38:11 fisyak Exp $ built "__DATE__" "__TIME__ ; return cvs;}
00121 ClassDef(StSvtDbMaker,0)
00122 };
00123
00124
00125 R__EXTERN StSvtDbMaker* gStSvtDbMaker;
00126
00127 #endif
00128
00129