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
StFgtPool
StFgtDbFileMaker
PrintGeom.C
1
class
StChain
;
2
StChain
*chain;
3
4
void
PrintGeom(Int_t nevents=1)
5
{
6
gROOT->Macro(
"loadMuDst.C"
);
7
gROOT->Macro(
"LoadLogger.C"
);
8
9
gSystem->Load(
"StFgtUtil"
);
10
gSystem->Load(
"StFgtDbFileMaker"
);
11
12
chain =
new
StChain
(
"StChain"
);
13
14
StFgtDbFileMaker
*fgtDbF=
new
StFgtDbFileMaker
();
15
chain->Init();
16
chain->PrintInfo();
17
18
Int_t total=0;
19
20
for
(Int_t iev=0; iev<nevents; iev++) {
21
cout <<
"****************************************** "
<< endl;
22
cout <<
"Working on eventNumber "
<< iev << endl;
23
cout <<
"*************************1***************** "
<< endl;
24
chain->
Clear
();
25
int
iret = chain->
Make
(iev);
26
total++;
27
if
(iret) {
28
cout <<
"Bad return code!"
<< endl;
29
break
;
30
}
31
}
32
chain->
Finish
();
33
}
StChain::Clear
virtual void Clear(Option_t *option="")
User defined functions.
Definition:
StChain.cxx:77
StChain::Finish
virtual Int_t Finish()
Definition:
StChain.cxx:85
StFgtDbFileMaker
Definition:
StFgtDbFileMaker.h:11
StChain::Make
virtual Int_t Make()
Definition:
StChain.cxx:110
StChain
Definition:
StChain.h:33
Generated by
1.8.5