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 | RunWithTimeStamps () |
fRun | SetUseFairLinks (kTRUE) |
parInput1 | open (parFile.Data()) |
parIo1 | open (allDigiFile.Data(),"in") |
rtdb | setFirstInput (parInput1) |
rtdb | setSecondInput (parIo1) |
timeOffset | SetInputBranch ("MVDHitsPixelCorrected") |
timeOffset | SetStartTime (39000000000) |
timeOffset | SetTerminateTime (39200000000) |
timeOffset | SetStartIndex (3647620) |
fRun | AddTask (timeOffset) |
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_TimeCorrected.root" |
TString | outFile = "2014-10-27-00-06-02_50_MHz_TimeOffset_39_HighRes_TimeCorrected_Test.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() |
PndTimeOffsetFinderTask * | timeOffset = new PndTimeOffsetFinderTask() |
Double_t | rtime = timer.RealTime() |
Double_t | ctime = timer.CpuTime() |
fRun AddTask | ( | timeOffset | ) |
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" | |||
) |
fRun RunWithTimeStamps | ( | ) |
rtdb saveOutput | ( | ) |
timeOffset SetInputBranch | ( | "MVDHitsPixelCorrected" | ) |
timeOffset SetStartIndex | ( | 3647620 | ) |
timeOffset SetStartTime | ( | 39000000000 | ) |
timeOffset SetTerminateTime | ( | 39200000000 | ) |
fRun SetUseFairLinks | ( | kTRUE | ) |
timer Start | ( | ) |
timer Stop | ( | ) |
Definition at line 49 of file run_TimeOffset.C.
Double_t ctime = timer.CpuTime() |
Definition at line 84 of file run_TimeOffset.C.
FairRunAna* fRun = new FairRunAna() |
Definition at line 38 of file run_TimeOffset.C.
FairGeane* Geane = new FairGeane() |
Definition at line 44 of file run_TimeOffset.C.
TString inFile = "2014-10-27-00-06-02_50_MHz_TimeCorrected.root" |
Definition at line 18 of file run_TimeOffset.C.
TString MCFile = "sim_complete.root" |
Definition at line 8 of file run_TimeOffset.C.
Int_t nEvents = 0 |
Definition at line 11 of file run_TimeOffset.C.
TString outFile = "2014-10-27-00-06-02_50_MHz_TimeOffset_39_HighRes_TimeCorrected_Test.root" |
Definition at line 19 of file run_TimeOffset.C.
TString parFile = "simparams.root" |
Definition at line 20 of file run_TimeOffset.C.
FairParRootFileIo* parInput1 = new FairParRootFileIo() |
Definition at line 52 of file run_TimeOffset.C.
FairParAsciiFileIo* parIo1 = new FairParAsciiFileIo() |
Definition at line 55 of file run_TimeOffset.C.
FairRuntimeDb* rtdb = fRun->GetRuntimeDb() |
Definition at line 51 of file run_TimeOffset.C.
Double_t rtime = timer.RealTime() |
Definition at line 83 of file run_TimeOffset.C.
PndTimeOffsetFinderTask* timeOffset = new PndTimeOffsetFinderTask() |
Definition at line 62 of file run_TimeOffset.C.
TStopwatch timer |
Definition at line 33 of file run_TimeOffset.C.