|
FairRoot/PandaRoot
|
#include <iostream>#include <fstream>#include <stdio.h>#include <getopt.h>#include <TStopwatch.h>#include <TString.h>#include <TRandom.h>#include <FairRunSim.h>#include <FairRuntimeDb.h>#include <FairParAsciiFileIo.h>#include <FairParRootFileIo.h>#include <FairModule.h>#include <PndCave.h>#include <PndMagnet.h>#include <PndPipe.h>#include <PndStt.h>#include <PndMvdDetector.h>#include <PndEmc.h>#include <PndMdt.h>#include <PndGemDetector.h>#include <PndDsk.h>#include <PndDrc.h>#include <PndFts.h>#include <PndSciT.h>#include <PndFtof.h>#include <PndRich.h>#include <FairEvtGenGenerator.h>#include <PndDpmDirect.h>#include <FairPrimaryGenerator.h>#include <FairBoxGenerator.h>#include <PndEvtGenDirect.h>#include <PndMultiField.h>#include <PndMultiFieldPar.h>#include <PndEmcHitProducer.h>#include <TMemStat.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <unistd.h>Go to the source code of this file.
Macros | |
| #define | DEVURANDOM "/dev/urandom" |
Functions | |
| void | ReadFiles (string geomfile, std::vector< std::string > &geometryfiles) |
| const char * | help_str () |
| void | sim (TString output, Int_t nEvents, const char *TransportModel, std::vector< std::string > geometryfiles, UInt_t seed) |
| unsigned int | GetRandomSeed () |
| int | main (int argc, char **argv) |
| #define DEVURANDOM "/dev/urandom" |
Definition at line 58 of file tools/RadMapTool/sim_radmap.C.
Referenced by GetRandomSeed().
| unsigned int GetRandomSeed | ( | ) |
Definition at line 84 of file tools/RadMapTool/sim_radmap.C.
References close(), DEVURANDOM, and open().
Referenced by main(), and sim().
| const char* help_str | ( | ) |
Definition at line 66 of file tools/RadMapTool/sim_radmap.C.
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 94 of file tools/RadMapTool/sim_radmap.C.
References c, GetRandomSeed(), help_str(), out, printf(), ReadFiles(), sim(), and TString.
| void ReadFiles | ( | string | geomfile, |
| std::vector< std::string > & | geometryfiles | ||
| ) |
Definition at line 282 of file tools/RadMapTool/sim_radmap.C.
Referenced by main().
| void sim | ( | TString | output, |
| Int_t | nEvents, | ||
| const char * | TransportModel, | ||
| std::vector< std::string > | geometryfiles, | ||
| UInt_t | seed | ||
| ) |
Definition at line 142 of file tools/RadMapTool/sim_radmap.C.
References Cave, ctime, Dipole, Double_t, dpmGen, Drc, Dsk, Emc, fField, fRun, FTof, Fts, gDebug, Gem, GetRandomSeed(), Magnet, Muo, Mvd, P, Pipe, primGen, printf(), rtime, PndMdt::SetBarrel(), PndMdt::SetEndcap(), PndMdt::SetForward(), PndEmc::SetGeometryVersion(), PndMdt::SetMdtCoil(), PndMdt::SetMdtMagnet(), PndMdt::SetMdtMFIron(), PndMdt::SetMuonFilter(), PndDrc::SetRunCherenkov(), PndEmc::SetStorageOfData(), PndDsk::SetStoreCerenkovs(), PndDsk::SetStoreTrackPoints(), Stt, and timer.
1.8.5