FairRoot/PandaRoot
|
Go to the source code of this file.
Functions | |
gROOT | Macro ("$VMCWORKDIR/gconfig/rootlogon.C") |
std::cout<< "LinkFile: " << linkFile.Data()<< std::endl;gSystem-> | Load ("libMCMatch") |
timer | Start () |
fRun | SetInputFile (linkFile) |
fRun | SetOutputFile (outFile) |
parInput1 | open (parFile.Data(),"UPDATE") |
rtdb | setFirstInput (parInput1) |
rtdb | setOutput (parInput1) |
rtdb | print () |
fRun | AddTask (mcMatch) |
mcSelector | SetAllWeights (1.) |
fRun | AddTask (mcSelector) |
fRun | Init () |
fRun | Run (startEvent, stopEvent) |
timer | Stop () |
Variables | |
TString | parFile = "simparams.root" |
Int_t | startEvent = 0 |
Int_t | stopEvent = 10 |
TString | linkFile = "links_emc.root" |
TString | outFile = "Dummy.root" |
TStopwatch | timer |
FairRunAna * | fRun = new FairRunAna() |
FairRuntimeDb * | rtdb = fRun->GetRuntimeDb() |
FairParRootFileIo * | parInput1 = new FairParRootFileIo(kTRUE) |
Bool_t | kParameterMerged =kTRUE |
PndMCMatchLoaderTask * | mcMatch = new PndMCMatchLoaderTask() |
PndMCMatchSelectorTask * | mcSelector = new PndMCMatchSelectorTask(16,1) |
Double_t | rtime = timer.RealTime() |
Double_t | ctime = timer.CpuTime() |
fRun AddTask | ( | mcSelector | ) |
fRun Init | ( | ) |
std::cout<< "LinkFile: " << linkFile.Data() << std::endl; gSystem-> Load | ( | "libMCMatch" | ) |
gROOT Macro | ( | "$VMCWORKDIR/gconfig/rootlogon.C" | ) |
parInput1 open | ( | parFile. | Data(), |
"UPDATE" | |||
) |
fRun Run | ( | startEvent | , |
stopEvent | |||
) |
mcSelector2 SetAllWeights | ( | 1. | ) |
timer Start | ( | ) |
timer Stop | ( | ) |
Double_t ctime = timer.CpuTime() |
Definition at line 84 of file run_linkLoading.C.
FairRunAna* fRun = new FairRunAna() |
Definition at line 30 of file run_linkLoading.C.
Bool_t kParameterMerged =kTRUE |
Definition at line 48 of file run_linkLoading.C.
TString linkFile = "links_emc.root" |
Definition at line 13 of file run_linkLoading.C.
PndMCMatchLoaderTask* mcMatch = new PndMCMatchLoaderTask() |
Definition at line 66 of file run_linkLoading.C.
PndMCMatchSelectorTask* mcSelector = new PndMCMatchSelectorTask(16,1) |
Definition at line 69 of file run_linkLoading.C.
TString outFile = "Dummy.root" |
Definition at line 14 of file run_linkLoading.C.
TString parFile = "simparams.root" |
Definition at line 4 of file run_linkLoading.C.
FairParRootFileIo* parInput1 = new FairParRootFileIo(kTRUE) |
Definition at line 42 of file run_linkLoading.C.
FairRuntimeDb* rtdb = fRun->GetRuntimeDb() |
Definition at line 40 of file run_linkLoading.C.
Double_t rtime = timer.RealTime() |
Definition at line 83 of file run_linkLoading.C.
Int_t startEvent = 0 |
Definition at line 6 of file run_linkLoading.C.
Int_t stopEvent = 10 |
Definition at line 7 of file run_linkLoading.C.
TStopwatch timer |
Definition at line 23 of file run_linkLoading.C.