FairRoot/PandaRoot
|
Go to the source code of this file.
Functions | |
gROOT | Macro ("$VMCWORKDIR/gconfig/rootlogon.C") |
rootlogon () | |
gSystem | Load ("libSttMvdTracking") |
std::cout<< "MCFile : " << MCFile.Data()<< std::endl;std::cout << "DigiFile: " << DigiFile.Data()<< std::endl;std::cout << "RecoFile: "<< outFile.Data() << std::endl;TStopwatch timer;timer.Start();FairRunAna *fRun=new FairRunAna();fRun-> | SetInputFile (MCFile) |
fRun | AddFriend (DigiFile) |
fRun | SetOutputFile (outFile) |
parInput1 | open (parFile.Data(),"UPDATE") |
rtdb | setFirstInput (parInput1) |
mvdmccls | SetVerbose (iVerbose) |
fRun | AddTask (mvdmccls) |
mix | SetInputBkgFilesName ("../dpm/MvdStt_Test_digi.root") |
fRun | AddTask (mix) |
mvdTrackFinder | AddHitBranch ("MVDHitsPixelMix") |
mvdTrackFinder | AddHitBranch ("MVDHitsStripMix") |
mvdTrackFinder | SetMaxDist (0.05) |
fRun | AddTask (mvdTrackFinder) |
sttFindTracks | AddHitCollectionName ("STTHitMix","STTPoint") |
fRun | AddTask (sttFindTracks) |
sttmvd | SetInputBranchName ("STTHitMix","MVDHitsPixelMix","MVDHitsStripMix") |
fRun | AddTask (sttmvd) |
rtdb | setOutput (parInput1) |
fRun | Init () |
fRun | Run (0, nEvents) |
rtdb | saveOutput () |
rtdb | print () |
timer | Stop () |
Variables | |
TString | MCFile = "MvdStt_Test.root" |
TString | parFile = "MvdStt_Params.root" |
Int_t | nEvents = 0 |
TString | DigiFile = "MvdStt_Test_digi.root" |
TString | outFile = "MvdStt_Test_reco.root" |
FairRuntimeDb * | rtdb = fRun->GetRuntimeDb() |
FairParRootFileIo * | parInput1 = new FairParRootFileIo(kTRUE) |
Bool_t | kParameterMerged =kTRUE |
PndMvdClusterTask * | mvdmccls = new PndMvdClusterTask() |
PndMixBackgroundEvents * | mix = new PndMixBackgroundEvents(0) |
PndMvdRiemannTrackFinderTask * | mvdTrackFinder = new PndMvdRiemannTrackFinderTask() |
PndSttTrackFinderReal * | sttTrackFinder = new PndSttTrackFinderReal(0,false,true) |
PndSttFindTracks * | sttFindTracks = new PndSttFindTracks("Track Finder", "FairTask", sttTrackFinder, iVerbose) |
PndSttMvdTracking * | sttmvd = new PndSttMvdTracking(0,false,false) |
Double_t | rtime = timer.RealTime() |
Double_t | ctime = timer.CpuTime() |
mvdTrackFinder AddHitBranch | ( | "MVDHitsPixelMix" | ) |
mvdTrackFinder AddHitBranch | ( | "MVDHitsStripMix" | ) |
sttFindTracks AddHitCollectionName | ( | "STTHitMix" | , |
"STTPoint" | |||
) |
fRun AddTask | ( | mvdTrackFinder | ) |
fRun AddTask | ( | sttFindTracks | ) |
fRun Init | ( | ) |
gSystem Load | ( | "libSttMvdTracking" | ) |
gROOT Macro | ( | "$VMCWORKDIR/gconfig/rootlogon.C" | ) |
parInput1 open | ( | parFile. | Data(), |
"UPDATE" | |||
) |
rootlogon | ( | ) |
Definition at line 1 of file outdated/mpiTools/macros/emc/rootlogon.C.
rtdb saveOutput | ( | ) |
mix SetInputBkgFilesName | ( | "../dpm/MvdStt_Test_digi.root" | ) |
sttmvd SetInputBranchName | ( | "STTHitMix" | , |
"MVDHitsPixelMix" | , | ||
"MVDHitsStripMix" | |||
) |
std::cout<< "MCFile : " << MCFile.Data()<< std::endl; std::cout << "DigiFile: " << DigiFile.Data()<< std::endl; std::cout << "RecoFile: " << outFile.Data()<< std::endl; TStopwatch timer; timer.Start(); FairRunAna *fRun= new FairRunAna(); fRun-> SetInputFile | ( | MCFile | ) |
mvdTrackFinder SetMaxDist | ( | 0. | 05 | ) |
timer Stop | ( | ) |
Double_t ctime = timer.CpuTime() |
Definition at line 140 of file runrecoMix.C.
TString DigiFile = "MvdStt_Test_digi.root" |
Definition at line 21 of file runrecoMix.C.
Bool_t kParameterMerged =kTRUE |
Definition at line 48 of file runrecoMix.C.
TString MCFile = "MvdStt_Test.root" |
Definition at line 11 of file runrecoMix.C.
PndMixBackgroundEvents* mix = new PndMixBackgroundEvents(0) |
Definition at line 67 of file runrecoMix.C.
Referenced by MeanExcEnergy_get(), and PndPidCorrelator::SetMixMode().
PndMvdClusterTask* mvdmccls = new PndMvdClusterTask() |
Definition at line 54 of file runrecoMix.C.
PndMvdRiemannTrackFinderTask* mvdTrackFinder = new PndMvdRiemannTrackFinderTask() |
Definition at line 87 of file runrecoMix.C.
Int_t nEvents = 0 |
Definition at line 13 of file runrecoMix.C.
TString outFile = "MvdStt_Test_reco.root" |
Definition at line 22 of file runrecoMix.C.
TString parFile = "MvdStt_Params.root" |
Definition at line 12 of file runrecoMix.C.
FairParRootFileIo* parInput1 = new FairParRootFileIo(kTRUE) |
Definition at line 44 of file runrecoMix.C.
FairRuntimeDb* rtdb = fRun->GetRuntimeDb() |
Definition at line 43 of file runrecoMix.C.
Double_t rtime = timer.RealTime() |
Definition at line 139 of file runrecoMix.C.
PndSttFindTracks* sttFindTracks = new PndSttFindTracks("Track Finder", "FairTask", sttTrackFinder, iVerbose) |
Definition at line 103 of file runrecoMix.C.
PndSttMvdTracking* sttmvd = new PndSttMvdTracking(0,false,false) |
Definition at line 114 of file runrecoMix.C.
Referenced by PndSttMvdGemTracking::Exec().
PndSttTrackFinderReal* sttTrackFinder = new PndSttTrackFinderReal(0,false,true) |
Definition at line 101 of file runrecoMix.C.