1 MuMomShift(
const Int_t mode=0,
2 const Int_t nevents=10,
3 const Char_t *path=
"/star/data13/reco/dev/2001/10/",
4 const Char_t *file=
"st_physics_2304060_raw_0303.event.root",
5 const Char_t* outDir=
"./"){
9 gROOT->Macro(
"$STAR/StRoot/StMuDSTMaker/COMMON/macros/loadSharedLibraries.C");
13 if ( path !=
"-") tpath = path;
21 while (mudst_mk->
Make()==
kStOk && i_event < nevents) {
23 Float_t mag_field=
event->runInfo().magneticField();
25 mom_mk->setScaleFactor(0.499/0.49);
27 mom_mk->setScaleFactor(1);
StMuDstMaker(const char *name="MuDst")
Default constructor.
static StMuEvent * event()
returns pointer to current StMuEvent (class holding the event wise information, e.g. event number, run number)
TChain * chain()
In read mode, returns pointer to the chain of .MuDst.root files that where selected.