16 gSystem->Load(
"libTable");
17 gSystem->Load(
"libPhysics");
18 gSystem->Load(
"St_base");
19 gSystem->Load(
"StChain");
20 gSystem->Load(
"St_Tables");
21 gSystem->Load(
"StUtilities");
22 gSystem->Load(
"StTreeMaker");
23 gSystem->Load(
"StIOMaker");
24 gSystem->Load(
"StarClassLibrary");
25 gSystem->Load(
"StTriggerDataMaker");
26 gSystem->Load(
"StBichsel");
27 gSystem->Load(
"StEvent");
28 gSystem->Load(
"StTpcDb");
29 gSystem->Load(
"StEventUtilities");
30 gSystem->Load(
"StDbLib");
31 gSystem->Load(
"StEmcUtil");
32 gSystem->Load(
"StTofUtil");
33 gSystem->Load(
"StPmdUtil");
34 gSystem->Load(
"StPreEclMaker");
35 gSystem->Load(
"StStrangeMuDstMaker");
36 gSystem->Load(
"StMuDSTMaker");
37 gSystem->Load(
"libStarAgmlUtil");
39 gSystem->Load(
"StMcEvent");
40 gSystem->Load(
"StMcEventMaker");
41 gSystem->Load(
"StDaqLib");
42 gSystem->Load(
"libgen_Tables");
43 gSystem->Load(
"libsim_Tables");
44 gSystem->Load(
"libglobal_Tables");
45 gSystem->Load(
"StEmcTriggerMaker");
46 gSystem->Load(
"StEmcRawMaker");
47 gSystem->Load(
"StEmcADCtoEMaker");
48 gSystem->Load(
"StPreEclMaker");
49 gSystem->Load(
"StEpcMaker");
50 gSystem->Load(
"StEmcSimulatorMaker");
51 gSystem->Load(
"StDbBroker");
52 gSystem->Load(
"StDetectorDbMaker");
53 gSystem->Load(
"StDbUtilities");
54 gSystem->Load(
"StEEmcUtil");
55 gSystem->Load(
"StEEmcDbMaker");
56 gSystem->Load(
"St_db_Maker");
57 gSystem->Load(
"StTriggerUtilities");
59 gSystem->Load(
"StMagF");
60 gSystem->Load(
"StMtdUtil");
61 gSystem->Load(
"StMtdMatchMaker");
62 gSystem->Load(
"StMtdCalibMaker");
64 gSystem->Load(
"libStPicoEvent");
65 gSystem->Load(
"libStPicoDstMaker");
67 gSystem->ListLibraries();
71 void loadAgML(
const char* name=0 )
73 gROOT->LoadMacro(
"bfc.C");
74 bfc(0,
"agml nodefault mysql");
76 AgModule::SetStacker(
new StarTGeoStacker() );
78 if (name) StarGeometry::Construct(name);
82 void makePicoDst(
const Char_t *inputFile,
int nEvents = 100000)
91 MuDstMaker->
SetStatus(
"PrimaryVertices", 1);
92 MuDstMaker->
SetStatus(
"PrimaryTracks", 1);
115 trigSimu->setMC(
false);
118 trigSimu->useOfflineDB();
119 trigSimu->bemc->setConfig(StBemcTriggerSimu::kOffline);
126 picoMaker->
setVtxMode((
int)(StPicoDstMaker::PicoVtxMode::Default));
129 cout <<
"chain->Init();" << endl;
134 for (Int_t i = 0; i < nEvents; i++)
137 cout <<
"Working on eventNumber " << i << endl;
140 int iret = chain->
Make(i);
144 cout <<
"Bad return code!" << iret << endl;
151 cout <<
"****************************************** " << endl;
152 cout <<
"Work done... now its time to close up shop!" << endl;
153 cout <<
"****************************************** " << endl;
155 cout <<
"****************************************** " << endl;
156 cout <<
"total number of events " << total << endl;
157 cout <<
"****************************************** " << endl;
Class that converts MuDst into PicoDst.
StMuDstMaker(const char *name="MuDst")
Default constructor.
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 setVtxMode(const PicoVtxMode vtxMode)
Set vertex selection mode.
Muon Telescope Detector (MTD) Match Maker.
void setPrint(Bool_t a)
Obsolete function; users can control messages with logger config file.
TChain * chain()
In read mode, returns pointer to the chain of .MuDst.root files that where selected.
void SetStatus(const char *arrType, int status)
void saveAllStEvent(Bool_t a)
Set to kTRUE if all hits are to be saved on StEvent.