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
StiMaker
macros
svt.C
1
2
svt(TString baseName,
double
min=-1.5,
double
max=1.5)
3
{
4
TString thisL;
5
TString thisL2;
6
TH1D *h=0;
7
TF1 * f;
8
int
ii;
9
for
(
int
i=0; i<6;i++)
10
{
11
thisL=baseName+i;
12
thisL2=baseName+i+
".gif"
;
13
h=(TH1D*)gDirectory->Get(thisL);
14
h->Fit(
"gaus"
,
""
,
""
,min,max);
15
c1->Print(thisL2);
16
}
17
18
}
Generated by
1.8.5