|
FairRoot/PandaRoot
|
Go to the source code of this file.
Functions | |
| timer | Start () |
| fRun | SetInputFile (inFile) |
| fRun | SetOutputFile (outFile) |
| parIo1 | open (emcDigiFile.Data(),"in") |
| parInput1 | open (parFile.Data()) |
| rtdb | setFirstInput (parIo1) |
| rtdb | setSecondInput (parInput1) |
| fRun | AddTask (emcHitsToWaveform) |
| fRun | AddTask (emcWaveformToDigi) |
Variables | |
| TString | inFile = "sim_emc.root" |
| Int_t | nEvents = 0 |
| TString | digiFile = "emc.par" |
| TString | parFile = "simparams.root" |
| TString | outFile = "digi_emc.root" |
| TStopwatch | timer |
| FairRunAna * | fRun = new FairRunAna() |
| TString | emcDigiFile = gSystem->Getenv("VMCWORKDIR") |
| FairRuntimeDb * | rtdb = fRun->GetRuntimeDb() |
| FairParAsciiFileIo * | parIo1 = new FairParAsciiFileIo() |
| FairParRootFileIo * | parInput1 = new FairParRootFileIo() |
| PndEmcHitsToWaveform * | emcHitsToWaveform = new PndEmcHitsToWaveform(iVerbose) |
| PndEmcWaveformToDigi * | emcWaveformToDigi =new PndEmcWaveformToDigi(iVerbose) |
| fRun AddTask | ( | emcHitsToWaveform | ) |
| fRun AddTask | ( | emcWaveformToDigi | ) |
| parIo1 open | ( | emcDigiFile. | Data(), |
| "in" | |||
| ) |
| parInput1 open | ( | parFile. | Data() | ) |
| timer Start | ( | ) |
| TString digiFile = "emc.par" |
Definition at line 14 of file digi_emc.C.
| emcDigiFile = gSystem->Getenv("VMCWORKDIR") |
Definition at line 33 of file digi_emc.C.
| PndEmcHitsToWaveform* emcHitsToWaveform = new PndEmcHitsToWaveform(iVerbose) |
Definition at line 51 of file digi_emc.C.
| PndEmcWaveformToDigi* emcWaveformToDigi =new PndEmcWaveformToDigi(iVerbose) |
Definition at line 52 of file digi_emc.C.
| FairRunAna* fRun = new FairRunAna() |
Definition at line 28 of file digi_emc.C.
| TString inFile = "sim_emc.root" |
Definition at line 8 of file digi_emc.C.
| Int_t nEvents = 0 |
Definition at line 11 of file digi_emc.C.
| TString outFile = "digi_emc.root" |
Definition at line 20 of file digi_emc.C.
| TString parFile = "simparams.root" |
Definition at line 17 of file digi_emc.C.
| FairParRootFileIo* parInput1 = new FairParRootFileIo() |
Definition at line 42 of file digi_emc.C.
| FairParAsciiFileIo* parIo1 = new FairParAsciiFileIo() |
Definition at line 40 of file digi_emc.C.
| FairRuntimeDb* rtdb = fRun->GetRuntimeDb() |
Definition at line 39 of file digi_emc.C.
| TStopwatch timer |
Definition at line 23 of file digi_emc.C.
1.8.8