12 void doBemcMuDst(
bool StEv =
true,
char* list =
"test.list",
int nFiles = 5,
int nevents = 2000000)
14 Bool_t debug = kFALSE;
15 Bool_t fillExtraHisto = kFALSE;
16 Bool_t saveAllStEvent = kFALSE;
18 cout <<
"list = "<<list<<endl;
19 cout <<
"nFiles = "<<nFiles<<endl;
20 cout <<
"nevents = "<<nevents<<endl;
22 gROOT->LoadMacro(
"$STAR/StRoot/StMuDSTMaker/COMMON/macros/loadSharedLibraries.C");
23 loadSharedLibraries();
24 gSystem->Load(
"StTpcDb");
25 gSystem->Load(
"StDbUtilities");
26 gSystem->Load(
"StDbLib");
27 gSystem->Load(
"StDbBroker");
28 gSystem->Load(
"St_db_Maker");
29 gSystem->Load(
"libgeometry_Tables");
30 gSystem->Load(
"StDaqLib");
31 gSystem->Load(
"StEmcRawMaker");
32 gSystem->Load(
"StEmcADCtoEMaker");
33 gSystem->Load(
"StPreEclMaker");
34 gSystem->Load(
"StEpcMaker");
42 if(debug) chain->SetDebug();
85 ecl->setFillHisto(fillExtraHisto);
126 while ( (stat==0 || stat==1 ) && n<nevents)
129 stat = chain->
Make();
132 cout <<
"Finished processing event number "<<n <<endl;
133 memory.PrintMem(NULL);
void setFillHisto(Bool_t a)
Turns on/off histogram filling.
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.
controlADCtoE_st * getControlTable()
Return Control table (NULL)
void saveAllStEvent(Bool_t a)
Set to kTRUE if all hits are to be saved on StEvent.