| FairRoot/PandaRoot
    | 
Go to the source code of this file.
| Functions | |
| PndFileNameCreator | creator (MCFile.Data()) | 
| std::cout<< "MCFile : " << MCFile.Data()<< std::endl;std::cout << "InFile: "<< inFile.Data() << std::endl;std::cout << "OutFile: "<< outFile.Data() << std::endl;std::cout << "ParFile: "<< parFile.Data() << std::endl;TString sysFile=gSystem-> | Getenv ("VMCWORKDIR") | 
| timer | Start () | 
| fRun | SetInputFile (inFile) | 
| fRun | SetOutputFile (outFile) | 
| fRun | SetUseFairLinks (kTRUE) | 
| parInput1 | open (parFile.Data()) | 
| parIo1 | open (allDigiFile.Data(),"in") | 
| rtdb | setFirstInput (parInput1) | 
| rtdb | setSecondInput (parIo1) | 
| timeCorr | SetCorrectionValue (0, 0) | 
| timeCorr | SetCorrectionValue (1,-12861445) | 
| timeCorr | SetCorrectionValue (2,-9830405) | 
| timeCorr | SetCorrectionValue (3,-10731525) | 
| fRun | AddTask (timeCorr) | 
| fRun | Init () | 
| fRun | Run (0, nEvents) | 
| rtdb | saveOutput () | 
| rtdb | print () | 
| timer | Stop () | 
| Variables | |
| TString | MCFile = "sim_complete.root" | 
| Int_t | nEvents = 0 | 
| TString | inFile = "2014-10-27-00-06-02_50_MHz_Hits_Filtered.root" | 
| TString | outFile = "2014-10-27-00-06-02_50_MHz_Filtered_TimeCorrected.root" | 
| TString | parFile = "simparams.root" | 
| TStopwatch | timer | 
| FairRunAna * | fRun = new FairRunAna() | 
| FairGeane * | Geane = new FairGeane() | 
| TString | allDigiFile = sysFile+"/macro/params/all.par" | 
| FairRuntimeDb * | rtdb = fRun->GetRuntimeDb() | 
| FairParRootFileIo * | parInput1 = new FairParRootFileIo() | 
| FairParAsciiFileIo * | parIo1 = new FairParAsciiFileIo() | 
| PndTSCorrectorTask * | timeCorr = new PndTSCorrectorTask() | 
| Double_t | rtime = timer.RealTime() | 
| Double_t | ctime = timer.CpuTime() | 
| PndFileNameCreator creator | ( | MCFile. | Data() | ) | 
| std::cout<< "MCFile : " << MCFile.Data()<< std::endl; std::cout << "InFile: " << inFile.Data()<< std::endl; std::cout << "OutFile: " << outFile.Data()<< std::endl; std::cout << "ParFile: " << parFile.Data()<< std::endl; TString sysFile = gSystem-> Getenv | ( | "VMCWORKDIR" | ) | 
| fRun Init | ( | ) | 
| parInput1 open | ( | parFile. | Data() | ) | 
| parIo1 open | ( | allDigiFile. | Data(), | 
| "in" | |||
| ) | 
| rtdb saveOutput | ( | ) | 
| timeCorr SetCorrectionValue | ( | 0 | , | 
| 0 | |||
| ) | 
| timeCorr SetCorrectionValue | ( | 1 | , | 
| - | 12861445 | ||
| ) | 
| timeCorr SetCorrectionValue | ( | 2 | , | 
| - | 9830405 | ||
| ) | 
| timeCorr SetCorrectionValue | ( | 3 | , | 
| - | 10731525 | ||
| ) | 
| fRun SetUseFairLinks | ( | kTRUE | ) | 
| timer Start | ( | ) | 
| timer Stop | ( | ) | 
Definition at line 49 of file run_TimeCorrection.C.
| Double_t ctime = timer.CpuTime() | 
Definition at line 84 of file run_TimeCorrection.C.
| FairRunAna* fRun = new FairRunAna() | 
Definition at line 38 of file run_TimeCorrection.C.
| FairGeane* Geane = new FairGeane() | 
Definition at line 44 of file run_TimeCorrection.C.
| TString inFile = "2014-10-27-00-06-02_50_MHz_Hits_Filtered.root" | 
Definition at line 18 of file run_TimeCorrection.C.
| TString MCFile = "sim_complete.root" | 
Definition at line 8 of file run_TimeCorrection.C.
| Int_t nEvents = 0 | 
Definition at line 11 of file run_TimeCorrection.C.
| TString outFile = "2014-10-27-00-06-02_50_MHz_Filtered_TimeCorrected.root" | 
Definition at line 19 of file run_TimeCorrection.C.
| TString parFile = "simparams.root" | 
Definition at line 20 of file run_TimeCorrection.C.
| FairParRootFileIo* parInput1 = new FairParRootFileIo() | 
Definition at line 52 of file run_TimeCorrection.C.
| FairParAsciiFileIo* parIo1 = new FairParAsciiFileIo() | 
Definition at line 55 of file run_TimeCorrection.C.
| FairRuntimeDb* rtdb = fRun->GetRuntimeDb() | 
Definition at line 51 of file run_TimeCorrection.C.
| Double_t rtime = timer.RealTime() | 
Definition at line 83 of file run_TimeCorrection.C.
| PndTSCorrectorTask* timeCorr = new PndTSCorrectorTask() | 
Definition at line 62 of file run_TimeCorrection.C.
Referenced by main().
| TStopwatch timer | 
Definition at line 33 of file run_TimeCorrection.C.
 1.8.5
 1.8.5