StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StSvtDbMaker
StSvtDbMaker.h
1
/***************************************************************************
2
*
3
* $Id: StSvtDbMaker.h,v 1.15 2014/08/06 11:43:45 jeromel Exp $
4
*
5
* Author: Marcelo Munhoz
6
***************************************************************************
7
*
8
* Description: SVT DB access Maker
9
*
10
***************************************************************************
11
*
12
* $Log: StSvtDbMaker.h,v $
13
* Revision 1.15 2014/08/06 11:43:45 jeromel
14
* Suffix on literals need to be space (later gcc compiler makes it an error) - first wave of fixes
15
*
16
* Revision 1.14 2007/07/31 16:38:11 fisyak
17
* Make request for SvtGeometry from GetRotations
18
*
19
* Revision 1.13 2007/07/12 20:07:49 fisyak
20
* Move to access on demand of Db tables
21
*
22
* Revision 1.12 2007/03/21 17:23:24 fisyak
23
* Ivan Kotov's drift velocities, use TGeoHMatrix for coordinate transformation
24
*
25
* Revision 1.11 2004/07/31 00:50:23 munhoz
26
* adding anode drift veloc correction factor
27
*
28
* Revision 1.10 2004/07/26 00:06:08 munhoz
29
* read drift curve
30
*
31
* Revision 1.9 2004/03/30 21:16:18 caines
32
* Get daq parameters
33
*
34
* Revision 1.8 2004/01/30 07:22:07 munhoz
35
* adding rms and daq parameters reading
36
*
37
* Revision 1.7 2003/09/10 19:47:36 perev
38
* ansi corrs
39
*
40
* Revision 1.6 2003/04/14 15:51:45 munhoz
41
* reading t0 from DB
42
*
43
* Revision 1.5 2003/02/19 11:03:59 munhoz
44
* adding getCVS line
45
*
46
* Revision 1.4 2003/01/28 20:20:10 munhoz
47
* including InitRun()
48
*
49
* Revision 1.3 2002/02/20 17:10:10 caines
50
* Added fortran2c code from StDbUtilities so library depedancies removed
51
*
52
* Revision 1.2 2002/02/15 22:45:43 munhoz
53
* introducing drift velocity reading capability
54
*
55
* Revision 1.1 2001/10/29 18:53:13 munhoz
56
* starting SVT Data base
57
*
58
*
59
**************************************************************************/
60
61
#ifndef STSVTDBMAKER_H
62
#define STSVTDBMAKER_H
63
64
#ifndef StMaker_H
65
#include "StMaker.h"
66
#endif
67
68
class
StChain
;
69
70
class
StSvtHybridCollection
;
71
class
StSvtHybridDriftVelocity
;
72
class
StSvtHybridDriftCurve
;
73
class
StSvtConfig
;
74
class
StSvtGeometry
;
75
class
StSvtT0
;
76
class
StSvtDaq
;
77
#include "THashList.h"
78
class
TGeoHMatrix;
79
80
81
#ifndef __CINT__
82
#include "StarCallf77.h"
83
#define SvtLtoG_ F77_NAME(svtltog,SVTLTOG)
84
#define SvtGtoL_ F77_NAME(svtgtol,SVTGTOL)
85
extern
"C"
{
86
int
type_of_call SvtLtoG_(
float
*x,
float
*xp,
int
*index);
87
int
type_of_call SvtGtoL_(
float
*x,
float
*xp,
int
*index);
88
89
}
90
#endif
91
class
StSvtDbMaker
:
public
StMaker
{
92
private
:
93
static
THashList *fRotList;
94
public
:
95
StSvtDbMaker
(
const
char
*name=
"SvtDb"
);
96
virtual
~
StSvtDbMaker
();
97
virtual
Int_t Init();
98
virtual
Int_t InitRun(
int
runumber);
99
virtual
Int_t
Make
();
100
virtual
Int_t
Finish
();
101
virtual
void
Clear(
const
char
*opt);
102
virtual
THashList *GetRotations();
103
StSvtHybridDriftVelocity
* getDriftVelocity(
int
barrel,
int
ladder,
int
wafer,
int
hybrid);
104
StSvtConfig
* getConfiguration();
105
StSvtHybridCollection
* getDriftVelocity();
106
void
getDriftVelocityAverage(
StSvtHybridCollection
* svtColl);
107
StSvtHybridCollection
* getDriftCurve();
108
StSvtHybridCollection
* getAnodeDriftCorr();
109
StSvtHybridCollection
* getPedestals();
110
StSvtHybridCollection
* getRms();
111
StSvtGeometry
* getGeometry();
112
StSvtHybridCollection
* getBadAnodes();
113
int
getElectronics();
114
StSvtT0
* getT0();
115
StSvtDaq
* getDaqParameters();
116
static
THashList *RotMatrices() {
return
fRotList;}
117
protected
:
118
virtual
TDataSet
*FindDataSet (
const
char
* logInput,
119
const
StMaker
*uppMk=0,
120
const
StMaker
*dowMk=0)
const
;
121
122
virtual
const
char
*GetCVS()
const
123
{
static
const
char
cvs[]=
"Tag $Name: $ $Id: StSvtDbMaker.h,v 1.15 2014/08/06 11:43:45 jeromel Exp $ built "
__DATE__
" "
__TIME__ ;
return
cvs;}
124
ClassDef(
StSvtDbMaker
,0)
//StAF chain virtual base class for Makers
125
};
126
127
// Global pointers:
128
R__EXTERN
StSvtDbMaker
* gStSvtDbMaker;
129
130
#endif
131
132
StSvtDbMaker
Definition:
StSvtDbMaker.h:91
StSvtDaq
Definition:
StSvtDaq.hh:30
StSvtHybridDriftVelocity
Definition:
StSvtHybridDriftVelocity.hh:23
StSvtHybridCollection
Definition:
StSvtHybridCollection.hh:35
StSvtDbMaker::Finish
virtual Int_t Finish()
Definition:
StSvtDbMaker.cxx:258
StSvtHybridDriftCurve
Definition:
StSvtHybridDriftCurve.hh:24
StSvtConfig
Definition:
StSvtConfig.hh:35
StMaker
Definition:
StMaker.h:57
StSvtT0
Definition:
StSvtT0.hh:29
TDataSet
Definition:
TDataSet.h:34
StChain
Definition:
StChain.h:33
StSvtDbMaker::Make
virtual Int_t Make()
Definition:
StSvtDbMaker.cxx:237
StSvtGeometry
Definition:
StSvtGeometry.hh:29
Generated by
1.8.5