3 int runqa(Int_t run=16020057,Int_t ped=0,Int_t nevents=0,
const Char_t *evpdir =
"/evp/a/"){
8 cout <<
"Constructing the chain" << endl;
11 TString dir0 =
"MySQL:StarDb";
12 TString dir1 =
"$STAR/StarDb";
15 cout <<
"Constructing StFmsDbMaker" << endl;
19 cout <<
"Constructing the FPS raw daq reader" << endl;
21 sprintf(filename,
"%s/%d",evpdir,run);
26 cout <<
"Constructing the FPS QA maker" << endl;
31 cout <<
"Initializing" << endl;
32 ierr = analysisChain->Init();
35 cout <<
"Error initializing" << endl;
39 if(nevents<=0) nevents = 1<<30;
41 cout <<
"Max nevents = " << nevents << endl;
42 for(
int i=0; i<nevents && !ierr; ++i ){
43 if( i%100 == 0 ) cout <<
" Eevent= " << i << endl;
45 ierr = analysisChain->
Make();
46 analysisChain->
Clear();
48 cout <<
"Finish" << endl;
55 gROOT->Macro(
"loadMuDst.C");
56 gSystem->Load(
"libPhysics");
57 gSystem->Load(
"St_base");
58 gSystem->Load(
"StChain");
59 gSystem->Load(
"StUtilities");
60 gSystem->Load(
"StEvent");
61 gSystem->Load(
"libStDb_Tables.so");
62 gSystem->Load(
"StDbLib.so");
63 gSystem->Load(
"St_db_Maker");
64 gSystem->Load(
"StDbBroker");
66 gSystem->Load(
"StFmsDbMaker");
67 gSystem->Load(
"StFpsRawDaqReader");
68 gSystem->Load(
"StFpsQaMaker");
virtual void Clear(Option_t *option="")
User defined functions.