18 void ProcessQQ(
const Int_t,
const Int_t,
const Char_t **,
const Char_t*,
const Char_t* );
22 void StMuDstMakerYear1(
const Int_t mode=0,
23 const Int_t nevents=10,
24 const Char_t *path=
"/star/data13/reco/dev/2001/10/",
25 const Char_t *file=
"st_physics_2304060_raw_0303.event.root",
26 const Char_t* outDir=
"./")
28 cout <<
"Backward compatibility method. Please, use 6 arguments ... " << endl;
29 StMuDstMakerYear1(mode,0,nevents,path,file,outDir);
32 void StMuDstMakerYear1(
const Int_t mode=0,
34 const Int_t nevents=10,
35 const Char_t *path=
"/star/data13/reco/dev/2001/10/",
36 const Char_t *file=
"st_physics_2304060_raw_0303.event.root",
37 const Char_t* outDir=
"./")
40 const char *fileListQQ[]={0,0};
45 fileListQQ[0] = gSystem->ConcatFileName(path,file);
47 ProcessQQ(mode,fsti,nevents,fileListQQ,outDir);
52 void ProcessQQ(
const Int_t mode,
const Int_t fsti,
const Int_t nevents,
53 const Char_t **fileList,
const Char_t* dirName)
55 cout <<
"Loading libraries ..." << endl;
56 gSystem->Load(
"St_base");
57 gSystem->Load(
"StChain");
58 gSystem->Load(
"StDaqLib");
59 gSystem->Load(
"St_Tables");
60 gSystem->Load(
"StMagF");
61 gSystem->Load(
"StUtilities");
62 gSystem->Load(
"StTreeMaker");
63 gSystem->Load(
"StIOMaker");
64 gSystem->Load(
"StarClassLibrary");
65 gSystem->Load(
"StTpcDb");
66 gSystem->Load(
"StDbUtilities");
67 gSystem->Load(
"StEvent");
68 gSystem->Load(
"StEventUtilities");
69 gSystem->Load(
"StMcEvent");
70 gSystem->Load(
"StMcEventMaker");
71 gSystem->Load(
"StAssociationMaker");
75 cout <<
" EMC mode enabled" << endl;
76 gSystem->Load(
"StEmcUtil");
77 gSystem->Load(
"StDbLib");
78 gSystem->Load(
"StDbBroker");
79 gSystem->Load(
"St_db_Maker");
84 cout <<
" RICH mode enabled" << endl;
85 gSystem->Load(
"StRrsMaker");
86 gSystem->Load(
"StRchMaker");
87 gSystem->Load(
"StRichPIDMaker");
88 gSystem->Load(
"StRichSpectraMaker");
91 gSystem->Load(
"StMcAnalysisMaker");
92 gSystem->Load(
"StStrangeMuDstMaker");
93 gSystem->Load(
"StMuDSTMaker");
97 gSystem->Load(
"StEmcADCtoEMaker");
98 gSystem->Load(
"StPreEclMaker");
99 gSystem->Load(
"StEpcMaker");
101 cout <<
"Loading done " << endl;
104 chain =
new StChain(
"StChain");
109 for (
int ifil=0; fileList[ifil]; ifil++)
110 setFiles->AddFile(fileList[ifil]);
125 ioMaker->SetBranch(
"*",0,
"0");
126 ioMaker->SetBranch(
"eventBranch",0,
"r");
127 ioMaker->SetBranch(
"emcBranch",0,
"r");
128 ioMaker->SetBranch(
"runcoBranch",0,
"r");
144 StRichSpectraMaker* spectraMaker =
new StRichSpectraMaker(
"spectraMaker");
170 filter->addEncodedMethod(263);
181 for ( ; iev < nevents ; iev++) {
182 cout <<
"-----> Working on eventNumber " << iev << endl;
184 int iret = chain->
Make(iev);
186 cout <<
"Bad return code!" << endl;
193 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...