FairRoot/PandaRoot
|
Go to the source code of this file.
Functions | |
gROOT | LoadMacro ("$VMCWORKDIR/gconfig/rootlogon.C") |
gROOT | LoadMacro ("$VMCWORKDIR/gconfig/basiclibs.C") |
rootlogon () | |
basiclibs () | |
timer | Start () |
fRun | SetInputFile (inFile) |
fRun | SetOutputFile (outFile) |
fRun | SetEventMeanTime (50) |
parIo1 | open (emcDigiFile.Data(),"in") |
parInput1 | open (parFile.Data()) |
rtdb | setFirstInput (parIo1) |
rtdb | setSecondInput (parInput1) |
emcWaveformToDigi | RunTimeBased () |
fRun | AddTask (emcHitsToWaveform) |
fRun | AddTask (emcWaveformToDigi) |
fRun | AddTask (emcSortedDigi) |
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) |
PndEmcDigiSorterTask * | emcSortedDigi = new PndEmcDigiSorterTask(300, 1, "EmcDigi", "EmcSortedDigi", "Emc") |
fRun AddTask | ( | emcHitsToWaveform | ) |
fRun AddTask | ( | emcWaveformToDigi | ) |
fRun AddTask | ( | emcSortedDigi | ) |
basiclibs | ( | ) |
gROOT LoadMacro | ( | "$VMCWORKDIR/gconfig/rootlogon.C" | ) |
gROOT LoadMacro | ( | "$VMCWORKDIR/gconfig/basiclibs.C" | ) |
parIo1 open | ( | emcDigiFile. | Data(), |
"in" | |||
) |
parInput1 open | ( | parFile. | Data() | ) |
rootlogon | ( | ) |
Definition at line 1 of file outdated/mpiTools/macros/emc/rootlogon.C.
mvddigi RunTimeBased | ( | ) |
fRun SetEventMeanTime | ( | 50 | ) |
timer Start | ( | ) |
TString digiFile = "emc.par" |
Definition at line 14 of file digi_emc_timebased.C.
emcDigiFile = gSystem->Getenv("VMCWORKDIR") |
Definition at line 42 of file digi_emc_timebased.C.
PndEmcHitsToWaveform* emcHitsToWaveform = new PndEmcHitsToWaveform(iVerbose) |
Definition at line 60 of file digi_emc_timebased.C.
PndEmcDigiSorterTask* emcSortedDigi = new PndEmcDigiSorterTask(300, 1, "EmcDigi", "EmcSortedDigi", "Emc") |
Definition at line 67 of file digi_emc_timebased.C.
PndEmcWaveformToDigi* emcWaveformToDigi =new PndEmcWaveformToDigi(iVerbose) |
Definition at line 61 of file digi_emc_timebased.C.
FairRunAna* fRun = new FairRunAna() |
Definition at line 36 of file digi_emc_timebased.C.
TString inFile = "sim_emc.root" |
Definition at line 8 of file digi_emc_timebased.C.
Int_t nEvents = 0 |
Definition at line 11 of file digi_emc_timebased.C.
TString outFile = "digi_emc.root" |
Definition at line 20 of file digi_emc_timebased.C.
TString parFile = "simparams.root" |
Definition at line 17 of file digi_emc_timebased.C.
FairParRootFileIo* parInput1 = new FairParRootFileIo() |
Definition at line 51 of file digi_emc_timebased.C.
FairParAsciiFileIo* parIo1 = new FairParAsciiFileIo() |
Definition at line 49 of file digi_emc_timebased.C.
FairRuntimeDb* rtdb = fRun->GetRuntimeDb() |
Definition at line 48 of file digi_emc_timebased.C.
TStopwatch timer |
Definition at line 31 of file digi_emc_timebased.C.