Running it requires several input files and some of which depend on which run number you're running against.
// ---------- Codes (say "mytest.C") to compile and run once if you have the filename(s) in .file.list --------------
// --- several run-dependent input files are really needed to run it meaningfully.
class StChain;
StChain *chain=0;
void mytest( string output_file = "hist.root" ){
gROOT->LoadMacro("$STAR/StRoot/StMuDSTMaker/COMMON/macros/loadSharedLibraries.C");
loadSharedLibraries();
gSystem->Load("libStBFChain");
gROOT->LoadMacro("${HOME}/MuDstpp2pp/AnalyzeMu.C++");
chain = new StBFChain();
StMuDstMaker *maker = new StMuDstMaker(0,0,"",".file.list","",1000);
AnalyzeMu( maker, output_file ) ;
if ( chain != 0 ) delete chain ;
return ;
}
// -------------------------- End -----------------------------------------------