|
FairRoot/PandaRoot
|
Go to the source code of this file.
Functions | |
| gROOT | Macro ("$VMCWORKDIR/gconfig/rootlogon.C") |
| inFile | ReplaceAll ("$SIMPATH", SIMPATH) |
| if (gSystem->Exec(cmd)) | |
| outFile | ReplaceAll (inDir, jobDir) |
| outFile | ReplaceAll (".raw.root",".reco.root") |
| paramIn | ReplaceAll (".raw.root",".param.root") |
| paramOut | ReplaceAll (".reco.root",".param.root") |
| std::cout<<"Input: "<< inFile << std::endl;std::cout <<"Output: "<< outFile << std::endl;std::cout <<"MCFile: "<< mcFile << std::endl;std::cout <<"ParamIn: "<< paramIn << std::endl;std::cout <<"ParamOut: "<< paramOut << std::endl;TStopwatch timer;timer.Start();FairRunAna *fRun=new FairRunAna();fRun-> | SetInputFile (inFile) |
| fRun | AddFriend (mcFile) |
| fRun | SetOutputFile (outFile) |
| parInput1 | open (paramIn.Data(),"UPDATE") |
| rtdb | setFirstInput (parInput1) |
| mvdmccls | SetVerbose (iVerbose) |
| fRun | AddTask (mvdmccls) |
| fRun | AddTask (mvdClusterizer) |
| output | open (paramOut.Data()) |
| rtdb | setOutput (output) |
| rtdb | print () |
| fRun | Init () |
| fRun | Run (0, nEvents) |
| timer | Stop () |
Variables | |
| Int_t | nEvents = 100 |
| TString | inFile ="$SIMPATH/pandaroot/macro/data/MvdTpc_D+D-_2Disks/digiMVD/Combined.raw.root" |
| TString | jobname ="recoMVD" |
| TString | mcFile ="$SIMPATH/pandaroot/macro/data/MvdTpc_D+D-_2Disks/Combined.mc.root" |
| TString | SIMPATH = gSystem->Getenv("SIMPATH") |
| TString | inDir =inFile(0,inFile.Last('/')+1) |
| TString | jobDir =inDir |
| TString | cmd ="mkdir " |
| TString | outFile = inFile |
| TString | paramIn = inFile |
| TString | paramOut = outFile |
| FairRuntimeDb * | rtdb = fRun->GetRuntimeDb() |
| FairParRootFileIo * | parInput1 = new FairParRootFileIo(kTRUE) |
| Double_t | chargecut = 1.e5 |
| PndMvdStripClusterTask * | mvdmccls = new PndMvdStripClusterTask() |
| PndMvdPixelClusterTask * | mvdClusterizer = new PndMvdPixelClusterTask() |
| FairParRootFileIo * | output =new FairParRootFileIo(kTRUE) |
| Double_t | rtime = timer.RealTime() |
| Double_t | ctime = timer.CpuTime() |
| fRun AddTask | ( | mvdClusterizer | ) |
| if | ( | gSystem-> | Execcmd | ) |
Definition at line 34 of file runMvdTpcReco.C.
| fRun Init | ( | ) |
| gROOT Macro | ( | "$VMCWORKDIR/gconfig/rootlogon.C" | ) |
| parInput1 open | ( | paramIn. | Data(), |
| "UPDATE" | |||
| ) |
| output open | ( | paramOut. | Data() | ) |
| recoTPCFile ReplaceAll | ( | "$SIMPATH" | , |
| SIMPATH | |||
| ) |
| outFile ReplaceAll | ( | ".raw.root" | , |
| ".reco.root" | |||
| ) |
| paramIn ReplaceAll | ( | ".raw.root" | , |
| ".param.root" | |||
| ) |
| paramOut ReplaceAll | ( | ".reco.root" | , |
| ".param.root" | |||
| ) |
| std::cout<<"Input: "<<inFile<<std::endl; std::cout<<"Output: "<<outFile<<std::endl; std::cout<<"MCFile: "<<mcFile<<std::endl; std::cout<<"ParamIn: "<<paramIn<<std::endl; std::cout<<"ParamOut: "<<paramOut<<std::endl; TStopwatch timer; timer.Start(); FairRunAna *fRun= new FairRunAna(); fRun-> SetInputFile | ( | inFile | ) |
| timer Stop | ( | ) |
| Double_t chargecut = 1.e5 |
Definition at line 116 of file runMvdTpcReco.C.
| cmd ="mkdir " |
Definition at line 32 of file runMvdTpcReco.C.
| Double_t ctime = timer.CpuTime() |
Definition at line 146 of file runMvdTpcReco.C.
Definition at line 29 of file runMvdTpcReco.C.
| TString inFile ="$SIMPATH/pandaroot/macro/data/MvdTpc_D+D-_2Disks/digiMVD/Combined.raw.root" |
Definition at line 19 of file runMvdTpcReco.C.
| jobDir =inDir |
Definition at line 31 of file runMvdTpcReco.C.
| TString jobname ="recoMVD" |
Definition at line 20 of file runMvdTpcReco.C.
| TString mcFile ="$SIMPATH/pandaroot/macro/data/MvdTpc_D+D-_2Disks/Combined.mc.root" |
Definition at line 22 of file runMvdTpcReco.C.
Referenced by main().
| PndMvdPixelClusterTask* mvdClusterizer = new PndMvdPixelClusterTask() |
Definition at line 122 of file runMvdTpcReco.C.
| PndMvdStripClusterTask* mvdmccls = new PndMvdStripClusterTask() |
Definition at line 117 of file runMvdTpcReco.C.
| Int_t nEvents = 100 |
Definition at line 13 of file runMvdTpcReco.C.
Definition at line 40 of file runMvdTpcReco.C.
| FairParRootFileIo* output =new FairParRootFileIo(kTRUE) |
Definition at line 127 of file runMvdTpcReco.C.
Definition at line 44 of file runMvdTpcReco.C.
Definition at line 46 of file runMvdTpcReco.C.
| FairParRootFileIo* parInput1 = new FairParRootFileIo(kTRUE) |
Definition at line 95 of file runMvdTpcReco.C.
| FairRuntimeDb* rtdb = fRun->GetRuntimeDb() |
Definition at line 93 of file runMvdTpcReco.C.
| Double_t rtime = timer.RealTime() |
Definition at line 145 of file runMvdTpcReco.C.
Definition at line 24 of file runMvdTpcReco.C.
1.8.8