Generator for cosmic-ray secondaries based on pre-generated CORSIKA shower databases. More...
#include "TDatabasePDG.h"
#include "TString.h"
#include "TSystem.h"
#include "art/Framework/Core/EDProducer.h"
#include "art/Framework/Core/ModuleMacros.h"
#include "art/Framework/Principal/Event.h"
#include "art/Framework/Principal/Run.h"
#include "fhiclcpp/ParameterSet.h"
#include "art/Framework/Services/Registry/ServiceHandle.h"
#include "messagefacility/MessageLogger/MessageLogger.h"
#include "nurandom/RandomUtils/NuRandomService.h"
#include "nusimdata/SimulationBase/MCTruth.h"
#include "nusimdata/SimulationBase/MCParticle.h"
#include "larcore/Geometry/Geometry.h"
#include "larcoreobj/SummaryData/RunData.h"
#include <sqlite3.h>
#include "CLHEP/Random/RandFlat.h"
#include "CLHEP/Random/RandPoissonQ.h"
#include "ifdh.h"
Go to the source code of this file.
Classes | |
class | evgen::CORSIKAGen |
LArSoft interface to CORSIKA event generator. More... | |
Namespaces | |
evgen | |
Event Generation using GENIE, cosmics or single particles. | |
Functions | |
evgen::fShowerAreaExtension (p.get< double >("ShowerAreaExtension", 0.)) | |
evgen::fRandomXZShift (p.get< double >("RandomXZShift", 0.)) | |
evgen::fGenEngine (art::ServiceHandle< rndm::NuRandomService >{}->createEngine(*this,"HepJamesRandom","gen", p,{"Seed","SeedGenerator"})) | |
if(fSampleTime==0.) throw cet if(fProjectToHeight==0.) mf this | evgen::openDBs (p.get< std::string >("module_label")) |
this | evgen::populateNShowers () |
this | evgen::populateTOffset () |
evgen::produces< std::vector< simb::MCTruth > > () | |
evgen::produces< sumdata::RunData, art::InRun > () | |
Variables | |
evgen::fShowerInputs =fShowerInputFiles.size() | |
Generator for cosmic-ray secondaries based on pre-generated CORSIKA shower databases.
Definition in file CORSIKAGen_module.cc.