27 void runFgtLHTracking_MuDst(
const Char_t *filenameIn,
28 const Char_t *filenameOut,
29 Int_t neventsIn = 10 ){
32 std::cout <<
"***** Loading libraries *****" << endl;
35 std::cout <<
"***** Done loading libraries *****" << endl;
36 std::cout <<
"***** Instanciating all the classes *****" << endl;
41 analysisChain =
new StChain(
"fgtTrackingChain");
47 muDstMaker =
new StMuDstMaker( 0, 0,
"", filenameIn,
"MuDst", nfiles );
51 muDstMaker->
SetStatus(
"PrimaryVertices",1);
59 starDatabase =
new St_db_Maker(
"StarDb",
"MySQL:StarDb");
66 rawMapMkr->setInput(
"MuDst",1);
72 fgtTrkMkr->setFitThres( 1 );
73 fgtTrkMkr->setIncludeThres( 1 );
74 fgtTrkMkr->setNumPoints( 3 );
75 fgtTrkMkr->setNumAgreeThres( 1 );
76 fgtTrkMkr->setUseVertex(1);
81 fgtTrkQa =
new StEEmcFgtLHTrackQa(
"EEmcFgtLHTrackQa",
"EEmcRawMapMaker",
"fgtTrkMkr" );
82 fgtTrkQa->setFileOutName( filenameOut );
85 std::cout <<
"***** Done instanciating all the classes *****" << endl;
91 std::cout <<
"***** Initializing all makers in the analysis chain *****" << std::endl;
93 analysisChain->Init();
95 std::cout <<
"***** Initialization done *****" << std::endl;
108 for( ; nevents < neventsIn && !ierr; ++nevents ){
110 analysisChain->
Clear();
113 ierr = analysisChain->
Make();
136 gROOT->Macro(
"loadMuDst.C");
139 gSystem->Load(
"StDbLib");
140 gSystem->Load(
"StDbBroker");
141 gSystem->Load(
"St_db_Maker");
143 gSystem->Load(
"StFgtUtil");
144 gSystem->Load(
"StMuFgtQa");
145 gSystem->Load(
"StFgtTracking");
146 gSystem->Load(
"StEEmcDbMaker");
147 gSystem->Load(
"StEEmcUtil");
148 gSystem->Load(
"StEEmcFgt");
virtual void Delete(Option_t *opt="")
virtual void Clear(Option_t *option="")
User defined functions.
void SetStatus(const char *arrType, int status)