3 void doMuDST2MyEvent(
unsigned long nEvents,
char *infile,
char *jobid,
char *flag,
char *coll)
8 gSystem->Load(
"StarRoot");
9 gSystem->Load(
"libTable");
10 gSystem->Load(
"libPhysics");
11 gSystem->Load(
"St_base");
13 gSystem->Load(
"liblog4cxx.so");
14 gSystem->Load(
"StStarLogger.so");
15 StLoggerManager::StarLoggerInit();
17 gSystem->Load(
"StChain");
18 gSystem->Load(
"St_Tables");
19 gSystem->Load(
"StarMagField");
20 gSystem->Load(
"StMagF");
21 gSystem->Load(
"StUtilities");
22 gSystem->Load(
"StTreeMaker");
23 gSystem->Load(
"StIOMaker");
24 gSystem->Load(
"StarClassLibrary");
25 gSystem->Load(
"StTriggerDataMaker");
26 gSystem->Load(
"StTpcDb");
27 gSystem->Load(
"StDetectorDbMaker");
28 gSystem->Load(
"StDbUtilities");
29 gSystem->Load(
"StEvent");
30 gSystem->Load(
"StEventUtilities");
31 gSystem->Load(
"StMcEvent");
32 gSystem->Load(
"StMcEventMaker");
33 gSystem->Load(
"StAssociationMaker");
34 gSystem->Load(
"StStrangeMuDstMaker");
35 gSystem->Load(
"StEmcUtil");
36 gSystem->Load(
"StEEmcUtil");
37 gSystem->Load(
"StPmdUtil");
38 gSystem->Load(
"StMuDSTMaker");
39 gSystem->Load(
"StBichsel");
42 gSystem->Load(
"StDaqLib");
43 gSystem->Load(
"StDbLib");
44 gSystem->Load(
"StDbBroker");
45 gSystem->Load(
"St_db_Maker");
46 gSystem->Load(
"StDetectorDbMaker");
49 gSystem->Load(
"StEmcRawMaker");
50 gSystem->Load(
"StEmcADCtoEMaker");
51 gSystem->Load(
"StPreEclMaker");
52 gSystem->Load(
"StEpcMaker");
54 gSystem->Load(
"/star/u/russcher/MyEvent/MyEvent.so");
55 gSystem->Load(
"StMyEventMaker");
57 cout <<
"Finished loading libraries " << endl;
67 TString output(jobid);
72 output.Append(
".root");
74 TString input(infile);
79 dbMk =
new St_db_Maker(
"db",
"MySQL:StarDb",
"$STAR/StarDb");
90 myMaker->setDbMaker(dbMk);
91 myMaker->setAdcMaker(adcMaker);
96 cout<<endl<<
"Using old clustering, setting parameters now!"<<endl;
102 if(strcmp(coll,
"auau200")==0){
110 for(
unsigned long iev=0;iev<nEvents; iev++)
112 if(iev%100==0) cout<<
"processing event: "<<iev<<endl;
114 Int_t iret = chain->
Make(iev);
117 myMaker->saveHistograms();
119 if(iret==2) cout <<
"### Last Event Processed. Status = "<<iret<< endl;
120 if(iret==3) cout <<
"### Error Event Processed. Status = "<<iret<< endl;
121 if(iret==4) cout <<
"### Fatal Event Processed. Status = "<<iret<< endl;
void setPrint(Bool_t)
Obsolete function; users can control messages with logger config file.
virtual void Clear(Option_t *option="")
User defined functions.
void setPrint(Bool_t a)
Obsolete function; users can control messages with logger config file.
void SetClusterConditions(char *, Int_t, Float_t, Float_t, Float_t, Bool_t=kFALSE)
this is for background compatibility with the old finder
void setPrint(Bool_t a)
Obsolete function; users can control messages with logger config file.