42 void doMuEvent_picoFromEmbedding(
char* list =
"./file.lis",
const char* outFile)
44 gROOT->LoadMacro(
"$STAR/StRoot/StMuDSTMaker/COMMON/macros/loadSharedLibraries.C");
46 loadSharedLibraries();
47 gSystem->Load(
"StDetectorDbMaker");
48 gSystem->Load(
"StDbBroker");
49 gSystem->Load(
"St_db_Maker");
50 gSystem->Load(
"StDaqLib");
51 gSystem->Load(
"StEmcRawMaker");
52 gSystem->Load(
"StEmcADCtoEMaker");
54 gSystem->Load(
"libGeom");
55 gSystem->Load(
"St_g2t");
56 gSystem->Load(
"geometry");
58 gSystem->Load(
"St_geant_Maker");
59 gSystem->Load(
"StBTofUtil");
60 gSystem->Load(
"StVpdCalibMaker");
61 gSystem->Load(
"StBTofCalibMaker");
65 gSystem->Load(
"/star/u/ramdebbe/.sl64_gcc447/lib/StPeCMaker");
66 gStyle->SetOptStat(0);
92 UPCmaker->treeFileName = outFile ;
94 UPCmaker->setUseTracks(kTRUE);
95 UPCmaker->setUseBemc(kTRUE);
96 UPCmaker->setUseTOF(kFALSE);
97 UPCmaker->setUseVertex(kTRUE);
98 UPCmaker->setRomanPots(kFALSE);
99 UPCmaker->setReadStMuDst(kTRUE);
100 UPCmaker->setReadStEvent(kFALSE);
101 UPCmaker->setReadBothInputs(kFALSE);
102 UPCmaker->setTriggerOfInterest(
"Ignore");
103 UPCmaker->SetDebug(10);
108 while ( (stat==0 || stat==1))
112 UPCmaker->setMuDst(mudst);
113 stat = chain->
Make();
116 cout <<
"Finished processing event number "<<n <<endl;
virtual void Clear(Option_t *option="")
User defined functions.
static void setLevel(unsigned int level)
sets the debug level
void setMuDstIn(const bool val=kTRUE)
switch to read in StEvent/MuDst
virtual void SetActive(Bool_t k=kTRUE)
Setters for flags and switches.
void setMuDstIn()
switch to read in StEvent/MuDst
virtual void LoadGeometry(const Char_t *option="detp geometry field_only")
Specifies GEANT3 geometry command.