1 TString input_dir =
"./";
4 TString input_chain =
"sdt20150101,fzin,geant,evout,y2013,FieldOn,logger,MakeEvent,McEvout,IdTruth,ReverseField,db,fmsDB,-tpcDB";
8 void runTrgsim( Int_t nEvents=1000, Int_t run=1000,
const char* pid=
"gamma",
9 TString myDir=input_dir, TString myChain=input_chain, Int_t mnEvents=1){
11 gROOT->LoadMacro(
"bfc.C");
12 gROOT->Macro(
"loadMuDst.C");
13 TString myDat=Form(
"test_%s_run%i.fzd",pid,run);
14 bfc( -1, myChain, myDir+myDat );
16 TString outfile = chain->GetFileOut();
17 outfile.Prepend(
"reco_");
18 chain->SetOutputFile(outfile);
26 gSystem->Load(
"StFmsFastSimulatorMaker");
30 gSystem->Load(
"StFmsTriggerMaker");
48 StMaker::lsMakers(chain);
49 chain->EventLoop(mnEvents,nEvents);
void setDebug(Int_t debug)
debug mode, 0 for minimal message, >0 for more debug messages
void forceUniformGainCorrection(float v)
force gain to be specified value