27 void runMuDstAVEff(
const Char_t *filename,
const Char_t* baseFilename=
".",
28 Int_t neventsIn = 400 ){
29 cout <<
" looking at file: " << filename << endl;
31 std::cout <<
"***** Loading libraries *****" << endl;
34 std::cout <<
"***** Done loading libraries *****" << endl;
35 std::cout <<
"***** Instanciating all the classes *****" << endl;
40 analysisChain =
new StChain(
"fgtTrackingChain");
41 cout <<
"Loading St_db_Maker" << endl;
42 gSystem->Load(
"libStDb_Tables.so");
43 gSystem->Load(
"StDbLib.so");
44 gSystem->Load(
"St_db_Maker");
45 gSystem->Load(
"StDbBroker");
47 TString dir0 =
"MySQL:StarDb";
48 TString dir1 =
"$STAR/StarDb";
51 dbMkr->SetDateTime(20120622,152618);
57 cout <<
"Constructing StFgtDbMaker" << endl;
60 fgtDbMkrName = fgtDbMkr->
GetName();
65 muDstMaker =
new StMuDstMaker( 0, 0,
"", filename,
"MuDst", nfiles );
69 muDstMaker->
SetStatus(
"PrimaryVertices",1);
72 muDstMaker->
SetStatus(
"FgtStripAssociation",1);
84 cout <<
"construction genplotter " <<endl;
89 fgtGenBase->useEHTTrig(
true);
93 fgtStraightTrackMaker2->SetEffDisk(20);
94 fgtStraightTrackMaker3->SetEffDisk(20);
95 fgtStraightTrackMaker4->SetEffDisk(20);
96 fgtStraightTrackMaker2->setMinNumFitPoints(2);
97 fgtStraightTrackMaker3->setMinNumFitPoints(3);
98 fgtStraightTrackMaker4->setMinNumFitPoints(4);
99 fgtStraightTrackMaker2->setMaxClusters(30);
100 fgtStraightTrackMaker3->setMaxClusters(30);
101 fgtStraightTrackMaker4->setMaxClusters(30);
105 fgtStraightPlotter2->SetFileBase(
".",
"2PointTrack");
106 fgtStraightPlotter3->SetFileBase(
".",
"3PointTrack");
107 fgtStraightPlotter4->SetFileBase(
".",
"4PointTrack");
112 std::cout <<
"***** Done instanciating all the classes *****" << endl;
113 analysisChain->
ls(3);
118 std::cout <<
"***** Initializing all makers in the analysis chain *****" << std::endl;
119 analysisChain->Init();
120 std::cout <<
"***** Initialization done *****" << std::endl;
132 for( ; nevents < neventsIn && !ierr; ++nevents ){
134 cout <<
"event: "<< nevents <<endl;
135 analysisChain->
Clear();
138 ierr = analysisChain->
Make();
160 gROOT->Macro(
"loadMuDst.C");
168 gSystem->Load(
"StFgtDbMaker");
172 gSystem->Load(
"StFgtUtil");
173 gSystem->Load(
"StFgtClusterTools");
virtual void Delete(Option_t *opt="")
virtual void Clear(Option_t *option="")
User defined functions.
virtual void ls(Option_t *option="") const
virtual const char * GetName() const
special overload
void SetStatus(const char *arrType, int status)