5 void StHbtExampleQQ(
const Int_t nevents,
const Char_t **fileList,
const Char_t*,
const Char_t* );
11 const Char_t *path=
"-",
13 const Char_t *file=
"/star/data48/reco/ppProduction2008/ReversedFullField/P08ic/2008/054/9054010/st_toftpx_9054010_raw_2400010.event.root",
14 const Char_t* outDir=
"./",
15 const Char_t* outFile=
"dummy",
16 const Char_t* appendix=
"test.microDst")
20 const char *fileListQQ[]={0,0};
24 fileListQQ[0] = gSystem->ConcatFileName(path,file);
26 StHbtExampleQQ(nevents,fileListQQ,outDir,outFile);
31 void StHbtExampleQQ(
const Int_t nevents,
const Char_t **fileList,
const Char_t* dirName,
const Char_t* fileName)
33 gROOT->Macro(
"$STAR/StRoot/StMuDSTMaker/COMMON/macros/loadSharedLibraries.C");
38 cout <<
" loading done " << endl;
44 for (
int ifil=0; fileList[ifil]; ifil++)
45 setFiles->AddFile(fileList[ifil]);
60 ioMaker->SetBranch(
"*",0,
"0");
61 ioMaker->SetBranch(
"eventBranch",0,
"r");
62 ioMaker->SetBranch(
"emcBranch",0,
"r");
63 ioMaker->SetBranch(
"runcoBranch",0,
"r");
98 for (Int_t iev=0;iev<nevents; iev++) {
99 cout <<
"StExample -- Working on eventNumber " << iev << endl;
101 int iret = chain->
Make(iev);
103 cout <<
"Bad return code!" << endl;
109 cout <<
" End of Analysis " << endl;
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.
static void setLevel(unsigned int level)
sets the debug level
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...