FairRoot/PandaRoot
Functions | Variables
full_tmpWaveform_emc.C File Reference

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)
 
parInput1 open (parFile.Data())
 
parIo1 open (emcDigiFile.Data(),"in")
 
rtdb setFirstInput (parInput1)
 
rtdb setSecondInput (parIo1)
 
fRun LoadGeometry ()
 
fRun AddTask (pndGlobalEvtTask)
 
fRun AddTask (emcHitProd)
 
fRun AddTask (emcHitsToTmpWaveform)
 
fRun AddTask (emcTmpWaveformToDigi)
 
fRun AddTask (emcMakeCluster)
 
fRun AddTask (emcHdrFiller)
 
fRun AddTask (emcMakeBump)
 
fRun AddTask (emcMakeRecoHit)
 

Variables

TString inFile = "sim_emc.root"
 
Int_t nEvents = 0
 
TString parFile = "simparams.root"
 
TString digiFile = "emc.par"
 
TString outFile = "full_tmpWaveform_emc.root"
 
TStopwatch timer
 
FairRunAna * fRun = new FairRunAna()
 
TString emcDigiFile = gSystem->Getenv("VMCWORKDIR")
 
FairRuntimeDb * rtdb = fRun->GetRuntimeDb()
 
FairParRootFileIo * parInput1 = new FairParRootFileIo()
 
FairParAsciiFileIo * parIo1 = new FairParAsciiFileIo()
 
PndGlobalEvtTask * pndGlobalEvtTask = new PndGlobalEvtTask()
 
PndEmcHitProduceremcHitProd = new PndEmcHitProducer()
 
PndEmcMakeDigiemcMakeDigi =new PndEmcMakeDigi()
 
PndEmcHitsToTmpWaveform * emcHitsToTmpWaveform = new PndEmcHitsToTmpWaveform(iVerbose)
 
PndEmcTmpWaveformToDigiemcTmpWaveformToDigi =new PndEmcTmpWaveformToDigi(iVerbose)
 
PndEmcMakeClusteremcMakeCluster = new PndEmcMakeCluster(iVerbose)
 
PndEmcHdrFilleremcHdrFiller = new PndEmcHdrFiller()
 
PndEmcMakeBumpemcMakeBump = new PndEmcMakeBump()
 
PndEmcMakeRecoHitemcMakeRecoHit = new PndEmcMakeRecoHit()
 

Function Documentation

fRun AddTask ( pndGlobalEvtTask  )
fRun AddTask ( emcHitProd  )
fRun AddTask ( emcHitsToTmpWaveform  )
fRun AddTask ( emcTmpWaveformToDigi  )
fRun AddTask ( emcMakeCluster  )
fRun AddTask ( emcHdrFiller  )
fRun AddTask ( emcMakeBump  )
fRun AddTask ( emcMakeRecoHit  )
basiclibs ( )
fRun LoadGeometry ( )
gROOT LoadMacro ( "$VMCWORKDIR/gconfig/rootlogon.C )
gROOT LoadMacro ( "$VMCWORKDIR/gconfig/basiclibs.C )
parInput1 open ( parFile.  Data())
parIo1 open ( emcDigiFile.  Data(),
"in"   
)
rootlogon ( )

Definition at line 1 of file outdated/mpiTools/macros/emc/rootlogon.C.

2 {
3  gSystem->AddIncludePath("-I$VMCWORKDIR/emc");
4  gSystem->AddIncludePath("-I$VMCWORKDIR/emc/EmcDigi");
5  gSystem->AddIncludePath("-I$VMCWORKDIR/emc/EmcMC");
6  gSystem->AddIncludePath("-I$VMCWORKDIR/emc/EmcTools");
7  gSystem->AddIncludePath("-I$VMCWORKDIR/emc/EmcReco");
8  gSystem->AddIncludePath("-I$VMCWORKDIR/emc/EmcData");
9  gSystem->AddIncludePath("-I$VMCWORKDIR/pnddata");
10  gSystem->AddIncludePath("-I$VMCWORKDIR/base");
11  gROOT->LoadMacro("$VMCWORKDIR/gconfig/basiclibs.C");
12  basiclibs();
13 
14  gSystem->Load("libDpmEvtGen.so");
15  gSystem->Load("libGeoBase");
16  gSystem->Load("libParBase");
17  gSystem->Load("libBase");
18  gSystem->Load("libTrkBase");
19  gSystem->Load("libPndData");
20  gSystem->Load("libField");
21  gSystem->Load("libPassive");
22  gSystem->Load("libGen");
23  gSystem->Load("libPGen");
24  gSystem->Load("libEmc");
25 
26  delete gRandom;
27  gRandom=new TRandom3(0);
28 }
basiclibs()
rtdb setFirstInput ( parInput1  )
fRun SetInputFile ( inFile  )
fRun SetOutputFile ( outFile  )
rtdb setSecondInput ( parIo1  )
timer Start ( )

Variable Documentation

TString digiFile = "emc.par"

Definition at line 18 of file full_tmpWaveform_emc.C.

emcDigiFile = gSystem->Getenv("VMCWORKDIR")

Definition at line 42 of file full_tmpWaveform_emc.C.

PndEmcHdrFiller* emcHdrFiller = new PndEmcHdrFiller()

Definition at line 81 of file full_tmpWaveform_emc.C.

PndEmcHitProducer* emcHitProd = new PndEmcHitProducer()
PndEmcHitsToTmpWaveform* emcHitsToTmpWaveform = new PndEmcHitsToTmpWaveform(iVerbose)

Definition at line 73 of file full_tmpWaveform_emc.C.

PndEmcMakeBump* emcMakeBump = new PndEmcMakeBump()

Definition at line 84 of file full_tmpWaveform_emc.C.

Definition at line 78 of file full_tmpWaveform_emc.C.

PndEmcMakeDigi* emcMakeDigi =new PndEmcMakeDigi()

Definition at line 70 of file full_tmpWaveform_emc.C.

PndEmcMakeRecoHit* emcMakeRecoHit = new PndEmcMakeRecoHit()

Definition at line 74 of file full_tmpWaveform_emc.C.

FairRunAna* fRun = new FairRunAna()

Definition at line 37 of file full_tmpWaveform_emc.C.

TString inFile = "sim_emc.root"

Definition at line 9 of file full_tmpWaveform_emc.C.

Int_t nEvents = 0

Definition at line 12 of file full_tmpWaveform_emc.C.

TString outFile = "full_tmpWaveform_emc.root"

Definition at line 21 of file full_tmpWaveform_emc.C.

TString parFile = "simparams.root"

Definition at line 15 of file full_tmpWaveform_emc.C.

FairParRootFileIo* parInput1 = new FairParRootFileIo()

Definition at line 47 of file full_tmpWaveform_emc.C.

FairParAsciiFileIo* parIo1 = new FairParAsciiFileIo()

Definition at line 50 of file full_tmpWaveform_emc.C.

PndGlobalEvtTask* pndGlobalEvtTask = new PndGlobalEvtTask()

Definition at line 61 of file full_tmpWaveform_emc.C.

FairRuntimeDb* rtdb = fRun->GetRuntimeDb()

Definition at line 46 of file full_tmpWaveform_emc.C.

TStopwatch timer

Definition at line 32 of file full_tmpWaveform_emc.C.