22 void ProcessQQ(
const Int_t,
const Int_t,
const Char_t **,
const Char_t*,
const Char_t* );
28 const Int_t nevents=10,
29 const Char_t *path=
"/star/data13/reco/dev/2001/10/",
30 const Char_t *file=
"st_physics_2304060_raw_0303.event.root",
31 const Char_t* outDir=
"./")
33 cout <<
"Backward compatibility method. Please, use 6 arguments ... " << endl;
39 const Int_t nevents=10,
40 const Char_t *path=
"/star/data13/reco/dev/2001/10/",
41 const Char_t *file=
"st_physics_2304060_raw_0303.event.root",
42 const Char_t* outDir=
"./")
45 const char *fileListQQ[]={0,0};
50 fileListQQ[0] = gSystem->ConcatFileName(path,file);
52 ProcessQQ(mode,fsti,nevents,fileListQQ,outDir);
57 void ProcessQQ(
const Int_t mode,
const Int_t fsti,
const Int_t nevents,
58 const Char_t **fileList,
const Char_t* dirName)
60 cout <<
"ProcessQQ::Load : Loading libraries ..." << endl;
61 gROOT->Macro(
"$STAR/StRoot/StMuDSTMaker/COMMON/macros/loadSharedLibraries.C");
62 gSystem->Load(
"StMcEvent");
63 gSystem->Load(
"StMcEventMaker");
64 gSystem->Load(
"StAssociationMaker");
67 gSystem->Load(
"StSecondaryVertexMaker");
72 cout <<
"ProcessQQ::Load : MuDst-EMC mode is ON " << endl;
73 gSystem->Load(
"StDbBroker");
74 gSystem->Load(
"St_db_Maker");
79 cout <<
"ProcessQQ::Load : RICH mode enabled" << endl;
80 gSystem->Load(
"StRrsMaker");
81 gSystem->Load(
"StRchMaker");
82 gSystem->Load(
"StRichPIDMaker");
83 gSystem->Load(
"StRichSpectraMaker");
86 gSystem->Load(
"StMcAnalysisMaker");
90 gSystem->Load(
"StEmcADCtoEMaker");
91 gSystem->Load(
"StPreEclMaker");
92 gSystem->Load(
"StEpcMaker");
94 cout <<
"ProcessQQ::Load : done " << endl;
102 for (
int ifil=0; fileList[ifil]; ifil++)
103 setFiles->AddFile(fileList[ifil]);
118 ioMaker->SetBranch(
"*",0,
"0");
119 ioMaker->SetBranch(
"eventBranch",0,
"r");
121 ioMaker->SetBranch(
"runcoBranch",0,
"r");
123 St_db_Maker dbMaker(
"db",
"MySQL:StarDb",
"$STAR/StarDb",
"StarDb");
126 cout <<
" V0Finder mode enabled" << endl;
148 secondaryFinder->SetTrackerUsage(2);
150 secondaryFinder->SetTrackerUsage(0);
156 StRichSpectraMaker* spectraMaker =
new StRichSpectraMaker(
"spectraMaker");
180 filter->addEncodedMethod(263);
191 for ( ; iev < nevents ; iev++) {
192 cout <<
"-----> Working on eventNumber " << iev << endl;
194 int iret = chain->
Make(iev);
196 cout <<
"Bad return code!" << endl;
203 cout << endl <<
"******************* Last event processed = " << iev << endl;
void setOutputDir(char *dir)
Set output directory for micro DST's.
virtual void SetIOMode(Option_t *iomode="w")
number of transactions
void setProbabilityPidFile(const char *file=NULL)
Set the file from where the PID probability tables should be read.
virtual void Clear(Option_t *option="")
User defined functions.
void setL3TrackFilter(StMuCut *c)
Set the track filter used for L3 tracks when creating muDsts from StEvent and writing to disk...
void setTrackFilter(StMuCut *c)
Set the track filter used for all tracks (except the L3 tracks) when creating muDsts from StEvent and...