LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
Physics generators for neutrinos, cosmic rays, and others. More...
Namespaces | |
util | |
Classes | |
class | CRYHelper |
Interface to the CRY cosmic-ray generator. More... | |
class | EvtTimeFlat |
Flat time distribution. More... | |
class | EvtTimeFNALBeam |
configurable FNAL Beam time distribution More... | |
class | EvtTimeNone |
time distribution that is delta of 0 (no shift) More... | |
class | EvtTimeShiftFactory |
class | EvtTimeShiftI |
interface for event time distribution More... | |
class | GENIEHelper |
class | GiBUUHelper |
class | MCTruthAndFriendsItr |
class | RNGWrapper |
Typedefs | |
typedef evgb::EvtTimeShiftI *(* | EvtTimeShiftICtorFuncPtr_t) (const std::string &) |
Enumerations | |
enum | { kNeutrinoGenerator = -100, kCosmicRayGenerator = -200 } |
Functions | |
unsigned int | GetRandomNumberSeed () |
void | FillMCTruth (const genie::EventRecord *grec, double spillTime, simb::MCTruth &mctruth) |
void | FillMCTruth (const genie::EventRecord *grec, TLorentzVector &vtxOffset, simb::MCTruth &mctruth) |
void | FillGTruth (const genie::EventRecord *grec, simb::GTruth >ruth) |
genie::EventRecord * | RetrieveGHEP (const simb::MCTruth &truth, const simb::GTruth >ruth, bool useFirstTrajPosition=true) |
return genie::EventRecord pointer; callee takes possession More... | |
void | FillMCFlux (genie::GFluxI *fdriver, simb::MCFlux &mcflux) |
void | FillMCFlux (genie::flux::GNuMIFlux *gnumi, simb::MCFlux &mcflux) |
void | FillMCFlux (const genie::flux::GNuMIFluxPassThroughInfo *nflux, double dk2gen, simb::MCFlux &flux) |
void | FillMCFlux (genie::flux::GSimpleNtpFlux *gsimple, simb::MCFlux &mcflux) |
void | FillMCFlux (const genie::flux::GSimpleNtpEntry *nflux_entry, const genie::flux::GSimpleNtpNuMI *nflux_numi, const genie::flux::GSimpleNtpAux *nflux_aux, const genie::flux::GSimpleNtpMeta *nflux_meta, simb::MCFlux &flux) |
void | FillMCFlux (genie::flux::GDk2NuFlux *gdk2nu, simb::MCFlux &mcflux) |
void | FillMCFlux (const bsim::Dk2Nu *dk2nu, const bsim::NuChoice *nuchoice, simb::MCFlux &flux) |
Variables | |
template<class T > | |
double(T::* | RNGWrapper )(void) |
static const int | kNue = 0 |
static const int | kNueBar = 1 |
static const int | kNuMu = 2 |
static const int | kNuMuBar = 3 |
static const int | kNuTau = 4 |
static const int | kNuTauBar = 5 |
Physics generators for neutrinos, cosmic rays, and others.
typedef evgb::EvtTimeShiftI*(* evgb::EvtTimeShiftICtorFuncPtr_t) (const std::string &) |
Definition at line 31 of file EvtTimeShiftFactory.h.
anonymous enum |
Enumerate mother codes for primary particles.
Normally the mother code for a primary particle would be set to some arbitrary invalid value like -1, however, we can use this to mark the source of the particle as being either, eg., neutrino induced or from cosmic-rays.
Enumerator | |
---|---|
kNeutrinoGenerator | |
kCosmicRayGenerator |
Definition at line 14 of file evgenbase.h.
void evgb::FillGTruth | ( | const genie::EventRecord * | grec, |
simb::GTruth & | gtruth | ||
) |
Definition at line 243 of file GENIE2ART.cxx.
References simb::GTruth::fDiffXsec, simb::GTruth::fFShadSystP4, simb::GTruth::fGint, simb::GTruth::fGPhaseSpace, simb::GTruth::fgQ2, simb::GTruth::fgq2, simb::GTruth::fGscatter, simb::GTruth::fgT, simb::GTruth::fgW, simb::GTruth::fgX, simb::GTruth::fgY, simb::GTruth::fHitNucP4, simb::GTruth::fIsCharm, simb::GTruth::fIsSeaQuark, simb::GTruth::fNumNeutron, simb::GTruth::fNumPi0, simb::GTruth::fNumPiMinus, simb::GTruth::fNumPiPlus, simb::GTruth::fNumProton, simb::GTruth::fprobability, simb::GTruth::fProbeP4, simb::GTruth::fProbePDG, simb::GTruth::fResNum, simb::GTruth::ftgtA, simb::GTruth::ftgtPDG, simb::GTruth::ftgtZ, simb::GTruth::fVertex, simb::GTruth::fweight, and simb::GTruth::fXsec.
Referenced by evgb::GENIEHelper::Sample().
void evgb::FillMCFlux | ( | genie::GFluxI * | fdriver, |
simb::MCFlux & | mcflux | ||
) |
Definition at line 635 of file GENIE2ART.cxx.
Referenced by FillMCFlux(), and evgb::GENIEHelper::Sample().
void evgb::FillMCFlux | ( | genie::flux::GNuMIFlux * | gnumi, |
simb::MCFlux & | mcflux | ||
) |
Definition at line 684 of file GENIE2ART.cxx.
References FillMCFlux().
void evgb::FillMCFlux | ( | const genie::flux::GNuMIFluxPassThroughInfo * | nflux, |
double | dk2gen, | ||
simb::MCFlux & | flux | ||
) |
Definition at line 693 of file GENIE2ART.cxx.
References simb::MCFlux::fbeampx, simb::MCFlux::fbeampy, simb::MCFlux::fbeampz, simb::MCFlux::fbeamx, simb::MCFlux::fbeamy, simb::MCFlux::fbeamz, simb::MCFlux::fdk2gen, simb::MCFlux::fevtno, simb::MCFlux::fFluxType, simb::MCFlux::fmupare, simb::MCFlux::fmuparpx, simb::MCFlux::fmuparpy, simb::MCFlux::fmuparpz, simb::MCFlux::fndecay, simb::MCFlux::fndxdz, simb::MCFlux::fndxdzfar, simb::MCFlux::fndxdznea, simb::MCFlux::fndydz, simb::MCFlux::fndydzfar, simb::MCFlux::fndydznea, simb::MCFlux::fnecm, simb::MCFlux::fnenergy, simb::MCFlux::fnenergyf, simb::MCFlux::fnenergyn, simb::MCFlux::fnimpwt, simb::MCFlux::fnorig, simb::MCFlux::fnpz, simb::MCFlux::fntype, simb::MCFlux::fnwtfar, simb::MCFlux::fnwtnear, simb::MCFlux::fpdpx, simb::MCFlux::fpdpy, simb::MCFlux::fpdpz, simb::MCFlux::fppdxdz, simb::MCFlux::fppdydz, simb::MCFlux::fppenergy, simb::MCFlux::fppmedium, simb::MCFlux::fpppz, simb::MCFlux::fppvx, simb::MCFlux::fppvy, simb::MCFlux::fppvz, simb::MCFlux::fptype, simb::MCFlux::frun, simb::MCFlux::ftgen, simb::MCFlux::ftgppx, simb::MCFlux::ftgppy, simb::MCFlux::ftgppz, simb::MCFlux::ftgptype, simb::MCFlux::ftprivx, simb::MCFlux::ftprivy, simb::MCFlux::ftprivz, simb::MCFlux::ftptype, simb::MCFlux::ftpx, simb::MCFlux::ftpy, simb::MCFlux::ftpz, simb::MCFlux::ftvx, simb::MCFlux::ftvy, simb::MCFlux::ftvz, simb::MCFlux::fvx, simb::MCFlux::fvy, simb::MCFlux::fvz, simb::MCFlux::fxpoint, simb::MCFlux::fypoint, simb::MCFlux::fzpoint, simb::kNtuple, and simb::MCFlux::Reset().
void evgb::FillMCFlux | ( | genie::flux::GSimpleNtpFlux * | gsimple, |
simb::MCFlux & | mcflux | ||
) |
Definition at line 781 of file GENIE2ART.cxx.
References FillMCFlux().
void evgb::FillMCFlux | ( | const genie::flux::GSimpleNtpEntry * | nflux_entry, |
const genie::flux::GSimpleNtpNuMI * | nflux_numi, | ||
const genie::flux::GSimpleNtpAux * | nflux_aux, | ||
const genie::flux::GSimpleNtpMeta * | nflux_meta, | ||
simb::MCFlux & | flux | ||
) |
Definition at line 794 of file GENIE2ART.cxx.
References simb::MCFlux::fdk2gen, simb::MCFlux::fevtno, simb::MCFlux::fFluxType, simb::MCFlux::fmupare, simb::MCFlux::fmuparpx, simb::MCFlux::fmuparpy, simb::MCFlux::fmuparpz, simb::MCFlux::fndecay, simb::MCFlux::fnecm, simb::MCFlux::fnenergyf, simb::MCFlux::fnenergyn, simb::MCFlux::fnimpwt, simb::MCFlux::fntype, simb::MCFlux::fnwtfar, simb::MCFlux::fnwtnear, simb::MCFlux::fpdpx, simb::MCFlux::fpdpy, simb::MCFlux::fpdpz, simb::MCFlux::fppdxdz, simb::MCFlux::fppdydz, simb::MCFlux::fppmedium, simb::MCFlux::fpppz, simb::MCFlux::fptype, simb::MCFlux::frun, simb::MCFlux::ftgen, simb::MCFlux::ftgptype, simb::MCFlux::ftptype, simb::MCFlux::ftpx, simb::MCFlux::ftpy, simb::MCFlux::ftpz, simb::MCFlux::fvx, simb::MCFlux::fvy, simb::MCFlux::fvz, simb::kSimple_Flux, and simb::MCFlux::Reset().
void evgb::FillMCFlux | ( | genie::flux::GDk2NuFlux * | gdk2nu, |
simb::MCFlux & | mcflux | ||
) |
Definition at line 953 of file GENIE2ART.cxx.
References simb::MCFlux::fdk2gen, and FillMCFlux().
void evgb::FillMCFlux | ( | const bsim::Dk2Nu * | dk2nu, |
const bsim::NuChoice * | nuchoice, | ||
simb::MCFlux & | flux | ||
) |
Definition at line 962 of file GENIE2ART.cxx.
References simb::MCFlux::fevtno, simb::MCFlux::fFluxType, simb::MCFlux::fmupare, simb::MCFlux::fmuparpx, simb::MCFlux::fmuparpy, simb::MCFlux::fmuparpz, simb::MCFlux::fndecay, simb::MCFlux::fnecm, simb::MCFlux::fnenergyf, simb::MCFlux::fnenergyn, simb::MCFlux::fnimpwt, simb::MCFlux::fnorig, simb::MCFlux::fntype, simb::MCFlux::fnwtfar, simb::MCFlux::fnwtnear, simb::MCFlux::fpdpx, simb::MCFlux::fpdpy, simb::MCFlux::fpdpz, simb::MCFlux::fppdxdz, simb::MCFlux::fppdydz, simb::MCFlux::fppenergy, simb::MCFlux::fppmedium, simb::MCFlux::fpppz, simb::MCFlux::fppvx, simb::MCFlux::fppvy, simb::MCFlux::fppvz, simb::MCFlux::fptype, simb::MCFlux::frun, simb::MCFlux::ftgen, simb::MCFlux::ftptype, simb::MCFlux::ftpx, simb::MCFlux::ftpy, simb::MCFlux::ftpz, simb::MCFlux::ftvx, simb::MCFlux::ftvy, simb::MCFlux::ftvz, simb::MCFlux::fvx, simb::MCFlux::fvy, simb::MCFlux::fvz, simb::kDk2Nu, and simb::MCFlux::Reset().
void evgb::FillMCTruth | ( | const genie::EventRecord * | grec, |
double | spillTime, | ||
simb::MCTruth & | mctruth | ||
) |
Definition at line 73 of file GENIE2ART.cxx.
Referenced by evgb::GENIEHelper::Sample().
void evgb::FillMCTruth | ( | const genie::EventRecord * | grec, |
TLorentzVector & | vtxOffset, | ||
simb::MCTruth & | mctruth | ||
) |
Definition at line 80 of file GENIE2ART.cxx.
References simb::MCTruth::Add(), simb::kAMNuGamma, simb::kBeamNeutrino, simb::kCC, simb::kCoh, simb::kCohElastic, simb::kDiffractive, simb::kDIS, simb::kElectronScattering, simb::kEM, simb::kGlashowResonance, simb::kIMDAnnihilation, simb::kInverseBetaDecay, simb::kInverseMuDecay, simb::kMEC, simb::kNC, simb::kNuanceOffset, simb::kNuElectronElastic, simb::kQE, simb::kRes, simb::kUnknownInteraction, simb::kWeakMix, part, simb::MCTruth::SetNeutrino(), simb::MCTruth::SetOrigin(), simb::MCParticle::Vx(), x, and y.
|
inline |
genie::EventRecord * evgb::RetrieveGHEP | ( | const simb::MCTruth & | truth, |
const simb::GTruth & | gtruth, | ||
bool | useFirstTrajPosition = true |
||
) |
return genie::EventRecord pointer; callee takes possession
Definition at line 341 of file GENIE2ART.cxx.
References simb::MCParticle::E(), simb::MCParticle::EndPosition(), simb::GTruth::fDiffXsec, simb::GTruth::fFShadSystP4, simb::GTruth::fGint, simb::GTruth::fGPhaseSpace, simb::GTruth::fgQ2, simb::GTruth::fgq2, simb::GTruth::fGscatter, simb::GTruth::fgT, simb::GTruth::fgW, simb::GTruth::fgX, simb::GTruth::fgY, simb::GTruth::fIsCharm, simb::GTruth::fIsSeaQuark, simb::GTruth::fNumNeutron, simb::GTruth::fNumPi0, simb::GTruth::fNumPiMinus, simb::GTruth::fNumPiPlus, simb::GTruth::fNumProton, simb::GTruth::fprobability, simb::GTruth::fProbePDG, simb::GTruth::fResNum, simb::GTruth::ftgtA, simb::GTruth::ftgtPDG, simb::GTruth::ftgtZ, simb::GTruth::fVertex, simb::GTruth::fweight, simb::GTruth::fXsec, simb::MCTruth::GetNeutrino(), simb::MCTruth::GetParticle(), simb::MCParticle::Gvt(), simb::MCParticle::Gvx(), simb::MCParticle::Gvy(), simb::MCParticle::Gvz(), simb::MCNeutrino::HitNuc(), simb::MCNeutrino::HitQuark(), simb::GTruth::kUndefinedValue, simb::MCNeutrino::Lepton(), simb::MCParticle::Mother(), simb::MCTruth::NParticles(), simb::MCParticle::NumberTrajectoryPoints(), simb::MCParticle::PdgCode(), simb::MCParticle::Polarization(), simb::MCParticle::Position(), simb::MCParticle::Px(), simb::MCParticle::Py(), simb::MCParticle::Pz(), simb::MCParticle::Rescatter(), simb::MCParticle::StatusCode(), and target.
|
static |
Definition at line 144 of file GENIEHelper.cxx.
Referenced by evgb::GENIEHelper::Sample().
|
static |
Definition at line 145 of file GENIEHelper.cxx.
Referenced by evgb::GENIEHelper::Sample().
|
static |
Definition at line 146 of file GENIEHelper.cxx.
Referenced by evgb::GENIEHelper::Sample().
|
static |
Definition at line 147 of file GENIEHelper.cxx.
Referenced by evgb::GENIEHelper::Sample().
|
static |
Definition at line 148 of file GENIEHelper.cxx.
Referenced by evgb::GENIEHelper::Sample().
|
static |
Definition at line 149 of file GENIEHelper.cxx.
Referenced by evgb::GENIEHelper::Sample().
double(T::* evgb::RNGWrapper) (void) |
Definition at line 82 of file CRYHelper.h.