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(
"StarMagField");
61 gSystem->Load(
"StMagF");
62 gSystem->Load(
"StUtilities");
63 gSystem->Load(
"StTreeMaker");
64 gSystem->Load(
"StIOMaker");
65 gSystem->Load(
"StarClassLibrary");
66 gSystem->Load(
"StDetectorDbMaker");
67 gSystem->Load(
"StTpcDb");
68 gSystem->Load(
"StDbUtilities");
69 gSystem->Load(
"StBichsel");
70 gSystem->Load(
"StTriggerDataMaker");
71 gSystem->Load(
"StEvent");
72 gSystem->Load(
"StEventUtilities");
73 gSystem->Load(
"StMcEvent");
74 gSystem->Load(
"StMcEventMaker");
75 gSystem->Load(
"StAssociationMaker");
79 cout <<
" EMC mode enabled" << endl;
80 gSystem->Load(
"StEmcUtil");
81 gSystem->Load(
"StDbLib");
82 gSystem->Load(
"StDbBroker");
83 gSystem->Load(
"St_db_Maker");
88 cout <<
" RICH mode enabled" << endl;
89 gSystem->Load(
"StRrsMaker");
90 gSystem->Load(
"StRchMaker");
91 gSystem->Load(
"StRichPIDMaker");
92 gSystem->Load(
"StRichSpectraMaker");
95 gSystem->Load(
"StMcAnalysisMaker");
96 gSystem->Load(
"StStrangeMuDstMaker");
97 gSystem->Load(
"StMuDSTMaker");
101 gSystem->Load(
"StEmcADCtoEMaker");
102 gSystem->Load(
"StPreEclMaker");
103 gSystem->Load(
"StEpcMaker");
105 cout <<
"Loading done " << endl;
108 chain =
new StChain(
"StChain");
113 for (
int ifil=0; fileList[ifil]; ifil++)
114 setFiles->AddFile(fileList[ifil]);
129 ioMaker->SetBranch(
"*",0,
"0");
130 ioMaker->SetBranch(
"eventBranch",0,
"r");
131 ioMaker->SetBranch(
"emcBranch",0,
"r");
132 ioMaker->SetBranch(
"runcoBranch",0,
"r");
148 StRichSpectraMaker* spectraMaker =
new StRichSpectraMaker(
"spectraMaker");
174 filter->addEncodedMethod(263);
185 for ( ; iev < nevents ; iev++) {
186 cout <<
"-----> Working on eventNumber " << iev << endl;
188 int iret = chain->
Make(iev);
190 cout <<
"Bad return code!" << endl;
197 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...